/* ============================
   SPMB SIT Al Khair - Style
   Brand Colors: Blue + Green
   ============================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ===== BRAND COLORS ===== */
  --blue-dark:    #003d82;
  --blue-mid:     #0057a8;
  --blue-bright:  #0099e6;
  --blue-light:   #e8f4ff;
  --green-brand:  #3db82c;
  --green-lime:   #56cc00;
  --green-light:  #d4f5c4;
  --white:        #ffffff;
  --gray-50:      #f9fafb;
  --gray-100:     #f3f4f6;
  --gray-200:     #e5e7eb;
  --gray-400:     #9ca3af;
  --gray-600:     #4b5563;
  --gray-800:     #1f2937;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.1);
  --shadow-md:    0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.18);
  --shadow-xl:    0 16px 48px rgba(0,0,0,.22);
  --radius:       16px;
  --radius-sm:    10px;
}

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  background: var(--blue-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: rgba(0, 61, 130, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
  border-bottom: 2px solid var(--green-lime);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-brand), var(--green-lime));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(86,204,0,.5);
}

.logo-text { display: flex; flex-direction: column; }
.school-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 15px;
  color: var(--white);
  letter-spacing: .3px;
}
.ta-label { font-size: 11px; color: var(--green-lime); font-weight: 600; }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-pengumuman {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--green-brand), var(--green-lime));
  color: var(--white);
  border: none; border-radius: 50px;
  font-weight: 700; font-size: 13px;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 2px 8px rgba(86,204,0,.4);
}
.btn-pengumuman:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(86,204,0,.6);
}

.btn-admin-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  font-weight: 700; font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s;
  backdrop-filter: blur(4px);
}
.btn-admin-header:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
  border-color: #fff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background:
    url('foto depan alkhair.jpg') center/cover no-repeat;
  padding-top: 64px;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 61, 130, 0.88) 0%,
    rgba(0, 87, 168, 0.80) 50%,
    rgba(0, 61, 130, 0.85) 100%
  );
}

/* Decorative blue wave accent like the poster */
.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at top left, rgba(0,153,230,.25) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(86,204,0,.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 40px 24px 80px;
  width: 100%; max-width: 900px;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.hero-title .highlight {
  color: var(--green-lime);
  text-shadow: 0 0 20px rgba(86,204,0,.4);
}

.hero-subtitle {
  font-size: clamp(13px, 1.6vw, 16px);
  color: rgba(255,255,255,.85);
  margin-bottom: 10px;
  line-height: 1.7;
}

.hero-tagline {
  font-size: 13px;
  color: var(--green-lime);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 40px;
  opacity: .9;
}

/* ===== CARDS ===== */
.card-container {
  background: rgba(255,255,255,.97);
  border-radius: 24px;
  padding: 36px 40px 40px;
  box-shadow: var(--shadow-xl);
  max-width: 820px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  border-top: 4px solid var(--green-lime);
}

.card-question {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 24px;
}

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.reg-card {
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  cursor: pointer;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.reg-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 120%; height: 120%;
  border-radius: 50%;
  opacity: .06;
  transition: transform .4s;
}

.reg-card:hover { transform: translateY(-6px); }
.reg-card:hover::before { transform: scale(1.2); }

.reg-card.internal {
  background: linear-gradient(145deg, #e8f4ff, #d6ebff);
  border-color: #a8d4f5;
}
.reg-card.internal::before { background: var(--blue-mid); }
.reg-card.internal:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 12px 32px rgba(0,87,168,.22);
}

.reg-card.external {
  background: linear-gradient(145deg, #edfde4, #d9fac5);
  border-color: #a8e48a;
}
.reg-card.external::before { background: var(--green-brand); }
.reg-card.external:hover {
  border-color: var(--green-brand);
  box-shadow: 0 12px 32px rgba(61,184,44,.22);
}

.card-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}
.internal-icon {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: #fff;
}
.external-icon {
  background: linear-gradient(135deg, var(--green-brand), var(--green-lime));
  color: #fff;
}

.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.6;
}

.card-list {
  list-style: none;
  margin-bottom: 16px;
}
.card-list li {
  font-size: 13px; color: var(--gray-600);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 5px;
}
.card-list li .fa-check-circle { color: var(--green-brand); }

.card-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 16px;
  background: rgba(0,87,168,.1);
  color: var(--blue-mid);
}
.card-badge.ext {
  background: rgba(61,184,44,.12);
  color: #1a7a0d;
}

.btn-card {
  width: 100%;
  padding: 12px 20px;
  border: none; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .25s;
}
.internal-btn {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,61,130,.35);
}
.internal-btn:hover { box-shadow: 0 6px 20px rgba(0,61,130,.5); transform: translateY(-1px); }
.external-btn {
  background: linear-gradient(135deg, var(--green-brand), var(--green-lime));
  color: #fff;
  box-shadow: 0 4px 12px rgba(61,184,44,.35);
}
.external-btn:hover { box-shadow: 0 6px 20px rgba(61,184,44,.5); transform: translateY(-1px); }

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,30,80,.65);
  backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .25s;
}
.modal-overlay.open { display: flex; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

.modal-box {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  width: 100%; max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: slideUp .3s cubic-bezier(.34,1.56,.64,1);
}
.modal-box.wide { max-width: 780px; }

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0 }
  to   { transform: translateY(0);    opacity: 1 }
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%; border: none;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.modal-close:hover { background: var(--gray-200); color: var(--gray-800); transform: rotate(90deg); }

.modal-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--gray-800);
  text-align: center;
  margin-bottom: 8px;
}
.modal-subtitle {
  font-size: 14px; color: var(--gray-600);
  text-align: center; line-height: 1.6;
  margin-bottom: 24px;
}

/* Form */
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-700, #374151); }
.form-group .req { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
  color: var(--gray-800);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  background: var(--gray-50);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(0,153,230,.12);
  background: #fff;
}
.form-group textarea { resize: vertical; }
.form-group input[type="file"] {
  padding: 8px;
  background: #fff;
  cursor: pointer;
}

.form-section-title {
  font-size: 14px; font-weight: 700;
  color: var(--blue-mid);
  padding: 8px 0 4px;
  border-bottom: 2px solid var(--gray-100);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px;
}

.alert-info {
  background: #e8f4ff;
  border: 1px solid #a8d4f5;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px; color: var(--blue-mid);
  display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.5;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: #991b1b;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
  margin: 10px 0;
}
.alert-error i {
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
  color: #ef4444;
}
.alert-error a {
  color: #003d82;
  font-weight: 600;
  text-decoration: underline;
}

.btn-submit {
  padding: 14px;
  border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .25s;
  width: 100%;
  margin-top: 4px;
}
.btn-submit.internal {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-bright));
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,61,130,.35);
}
.btn-submit.internal:hover { box-shadow: 0 6px 20px rgba(0,61,130,.5); transform: translateY(-1px); }
.btn-submit.external {
  background: linear-gradient(135deg, var(--green-brand), var(--green-lime));
  color: #fff;
  box-shadow: 0 4px 14px rgba(61,184,44,.35);
}
.btn-submit.external:hover { box-shadow: 0 6px 20px rgba(61,184,44,.5); transform: translateY(-1px); }

/* Data Card */
.data-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.data-row {
  display: flex;
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}
.data-row:last-child { border-bottom: none; }
.data-label { color: var(--gray-600); min-width: 150px; font-weight: 500; }
.data-value { color: var(--gray-800); font-weight: 600; }
.data-value.highlight-green { color: var(--green-brand); font-weight: 700; }

.btn-row { display: flex; gap: 12px; }
.btn-back {
  flex: 1;
  padding: 13px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--gray-600);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .2s;
}
.btn-back:hover { border-color: var(--gray-400); color: var(--gray-800); }

/* Modal Steps */
.modal-step { display: none; }
.modal-step.active { display: block; }

/* Success */
.success-wrap { text-align: center; padding: 12px 0; }
.success-icon {
  font-size: 72px;
  color: var(--blue-mid);
  margin-bottom: 20px;
  animation: popIn .5s cubic-bezier(.34,1.56,.64,1);
}
.success-icon.ext { color: var(--green-brand); }
@keyframes popIn { from { transform: scale(0) } to { transform: scale(1) } }

.nomor-daftar {
  display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(135deg, #e8f4ff, #d6ebff);
  border: 2px dashed var(--blue-mid);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin: 20px 0;
}
.nomor-daftar.ext {
  background: linear-gradient(135deg, #edfde4, #d9fac5);
  border-color: var(--green-brand);
}
.nd-label { font-size: 12px; color: var(--gray-600); font-weight: 500; margin-bottom: 4px; }
.nd-value {
  font-size: 24px; font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}
.nomor-daftar.ext .nd-value { color: #1a7a0d; }

.success-note {
  font-size: 13px; color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Announcement */
.announcement-list { display: flex; flex-direction: column; gap: 12px; }
.ann-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue-mid);
}
.ann-tag {
  font-size: 10px; font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  background: var(--blue-mid);
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.ann-tag.new { background: #ef4444; }
.ann-title { font-size: 14px; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.ann-date { font-size: 12px; color: var(--gray-400); display: flex; align-items: center; gap: 5px; }

/* ===== FLOATING WA ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.wa-btn {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.wa-btn i {
  font-size: 30px;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-float:hover .wa-btn {
  transform: scale(1.1);
}

.wa-pulse {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: waPulse 2s infinite;
  z-index: 1;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.6); opacity: 0;   }
  100% { transform: scale(1.6); opacity: 0;   }
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: #fff;
  color: var(--gray-800);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s;
  pointer-events: none;
  border-left: 3px solid #25d366;
}
.wa-tooltip .fa-arrow-right {
  color: #25d366;
  font-size: 11px;
}

/* ===== TWO COLUMN FORM ROW ===== */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

/* Field hint */
.field-hint {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: -4px;
  font-style: italic;
  line-height: 1.4;
}

/* Auto-filled readonly */
.auto-filled {
  background: #e8f4ff !important;
  border-color: #a8d4f5 !important;
  color: var(--blue-dark) !important;
  font-weight: 600;
  cursor: not-allowed;
}

.highlight-field {
  background: linear-gradient(135deg, #e8f4ff, #d6ebff) !important;
  border-color: var(--blue-mid) !important;
  color: var(--blue-dark) !important;
  font-weight: 700 !important;
  font-size: 15px;
}

/* Radio group */
.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
}
.radio-group.vertical {
  flex-direction: column;
  gap: 10px;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-800);
  cursor: pointer;
  font-weight: 500;
}
.radio-label input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--blue-mid);
  cursor: pointer;
}

/* Disabled */
select:disabled { opacity: 0.55; cursor: not-allowed; }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .header { padding: 0 16px; }
  .card-container { padding: 24px 20px; }
  .card-row { grid-template-columns: 1fr; }
  .modal-box { padding: 24px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .modal-box.wide { max-width: 100%; }
  .data-label { min-width: 120px; }
}

/* Scrollbar */
.modal-box::-webkit-scrollbar { width: 5px; }
.modal-box::-webkit-scrollbar-track { background: var(--gray-100); }
.modal-box::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 99px; }

/* ============================
   TTL (Tanggal Lahir) Input
   ============================ */

.ttl-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ttl-input-wrap input {
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 3px;
  text-align: center;
  color: var(--blue-dark) !important;
}

.ttl-input-wrap input::placeholder {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gray-400);
}

.ttl-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--blue-mid);
  background: var(--blue-light, #e8f4ff);
  border: 1px solid #a8d4f5;
  border-radius: 8px;
  padding: 7px 12px;
}

.ttl-hint strong {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--blue-dark);
}

/* ============================
   BUKTI PENDAFTARAN
   ============================ */

/* Overlay full-screen */
.bukti-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: #f0f4f8;
  overflow-y: auto;
  padding: 32px 16px 100px;
  animation: fadeIn .3s ease;
}
.bukti-overlay.show { display: block; }

/* Receipt Card */
.bukti-page {
  background: #fff;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,61,130,.15);
  border: 1px solid #dde6f0;
}

/* === HEADER === */
.bukti-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.bukti-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bukti-logo-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-brand), var(--green-lime));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(86,204,0,.4);
}
.bukti-logo-text {
  display: flex; flex-direction: column; gap: 2px;
}
.bukti-school {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 800;
  color: #fff;
}
.bukti-school-sub {
  font-size: 12px; color: rgba(255,255,255,.8);
  font-weight: 500;
}
.bukti-school-motto {
  font-size: 10px; color: var(--green-lime);
  font-style: italic;
}
.bukti-title-block { text-align: right; }
.bukti-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}
.bukti-sub-title {
  font-size: 11px; color: rgba(255,255,255,.75);
  margin-top: 2px;
}

/* === STATUS BANNER === */
.bukti-status-banner {
  background: linear-gradient(90deg, var(--green-brand), var(--green-lime));
  color: #fff;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
}
.bukti-status-banner i { font-size: 20px; }
.bukti-status-banner.external {
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-bright));
}

/* === NOTIFIKASI PENGIRIMAN EMAIL === */
.bukti-email-notice {
  margin: 14px 24px 0;
  padding: 12px 18px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid var(--green-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #166534;
  line-height: 1.5;
  transition: all 0.3s ease;
}
.bukti-email-notice i {
  font-size: 18px;
  color: var(--green-brand);
  flex-shrink: 0;
}
.bukti-email-notice.sending {
  background: #eff6ff;
  border-color: #bfdbfe;
  border-left-color: var(--blue-mid);
  color: #1e40af;
}
.bukti-email-notice.sending i {
  color: var(--blue-mid);
}
.bukti-email-notice.error {
  background: #fffbeb;
  border-color: #fde68a;
  border-left-color: #f59e0b;
  color: #92400e;
}
.bukti-email-notice.error i {
  color: #f59e0b;
}

/* === INFO GRID === */
.bukti-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 2px solid #f0f4f8;
}
.bukti-info-box {
  padding: 18px 20px;
  border-right: 1px solid #f0f4f8;
  display: flex; flex-direction: column; gap: 4px;
}
.bukti-info-box:last-child { border-right: none; }
.bukti-info-box.highlight { background: #e8f4ff; }
.bukti-info-label {
  font-size: 10px; font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.bukti-info-value {
  font-size: 13px; color: var(--gray-800); font-weight: 500;
}
.bukti-info-value.bold {
  font-size: 14px; font-weight: 800;
  color: var(--blue-dark);
  font-family: 'Poppins', sans-serif;
}
.bukti-info-box.highlight .bukti-info-value.bold { color: var(--green-brand); }

/* === DIVIDER === */
.bukti-divider {
  display: flex; align-items: center; gap: 12px;
  padding: 0 24px;
  margin: 20px 0 0;
}
.bukti-divider::before,
.bukti-divider::after {
  content: ''; flex: 1;
  height: 1px; background: #e5e7eb;
}
.bukti-divider span {
  font-size: 11px; font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 1px;
  white-space: nowrap;
}

/* === DATA TABLE === */
.bukti-data-table {
  padding: 12px 24px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.bukti-data-row {
  display: flex; flex-direction: column;
  padding: 10px 12px;
  border-bottom: 1px solid #f3f4f6;
  border-radius: 6px;
}
.bukti-data-row:hover { background: #fafafa; }
.bukti-data-key {
  font-size: 11px; font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 2px;
}
.bukti-data-val {
  font-size: 14px; font-weight: 600;
  color: var(--gray-800);
}
.bukti-data-row.full { grid-column: 1 / -1; }

/* === NOTE === */
.bukti-note {
  margin: 4px 24px 20px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex; gap: 12px;
  font-size: 13px; color: #92400e;
  line-height: 1.6;
}
.bukti-note i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* === FOOTER === */
.bukti-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bukti-footer-left p {
  font-size: 11px; color: #475569;
  line-height: 1.6;
  margin: 2px 0;
}
.bukti-footer-left p strong {
  color: var(--blue-dark);
}
.bukti-stempel {
  width: 80px; height: 80px;
  border: 3px solid var(--green-brand);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--green-brand);
  opacity: .6;
  transform: rotate(-20deg);
}
.bukti-stempel i { font-size: 22px; }
.bukti-stempel span { font-size: 9px; font-weight: 800; letter-spacing: 1px; }

/* === ACTION BUTTONS === */
.bukti-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 24px 16px;
  flex-wrap: wrap;
}
.bukti-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border: none; border-radius: 12px;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  font-family: 'Inter', sans-serif;
}
.bukti-btn.print {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-bright));
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,61,130,.35);
}
.bukti-btn.print:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,61,130,.5); }
.bukti-btn.wa {
  background: linear-gradient(135deg, #128c7e, #25d366);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
}
.bukti-btn.wa:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.5); }
.bukti-btn.back {
  background: #fff;
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
}
.bukti-btn.back:hover { border-color: var(--gray-400); color: var(--gray-800); }

/* ============================
   @MEDIA PRINT
   ============================ */
@media print {
  /* Sembunyikan SEMUA elemen kecuali bukti */
  body > *:not(#buktiOverlay) { display: none !important; }

  .bukti-overlay {
    display: block !important;
    position: static !important;
    background: #fff !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .bukti-page {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    max-width: 100% !important;
  }

  .no-print { display: none !important; }

  .bukti-header {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .bukti-status-banner {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .bukti-info-box.highlight {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  @page {
    margin: 10mm;
    size: A4;
  }
}

/* Responsive bukti */
@media (max-width: 640px) {
  .bukti-header { flex-direction: column; text-align: center; }
  .bukti-title-block { text-align: center; }
  .bukti-info-grid { grid-template-columns: 1fr 1fr; }
  .bukti-data-table { grid-template-columns: 1fr; }
  .bukti-data-row.full { grid-column: 1; }
  .bukti-actions { flex-direction: column; align-items: stretch; }
}

/* ============================
   DATA ORANG TUA — Sub Sections
   ============================ */

/* Sub-title Ayah / Ibu */
.ortu-sub-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.ortu-sub-title.ayah {
  background: #e8f4ff;
  color: var(--blue-mid);
  border-left: 3px solid var(--blue-mid);
}
.ortu-sub-title.ibu {
  background: #fdf2ff;
  color: #7c3aed;
  border-left: 3px solid #7c3aed;
}

/* IRT Toggle Checkbox */
.irt-toggle-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 0;
}
.irt-toggle-label input[type="checkbox"] {
  display: none;
}
.irt-toggle-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 2px solid var(--gray-200);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  transition: all .2s;
}
.irt-toggle-label input:checked + .irt-toggle-box {
  background: #f3e8ff;
  border-color: #7c3aed;
  color: #7c3aed;
}
.irt-toggle-box i {
  font-size: 15px;
}

/* IRT extra fields — slide animation */
#ibu-extra-fields {
  overflow: hidden;
  transition: max-height .35s ease, opacity .3s ease;
  max-height: 600px;
  opacity: 1;
}
#ibu-extra-fields.hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

/* IRT badge — tampil saat IRT aktif */
.irt-badge {
  display: none;
  align-items: center;
  gap: 8px;
  background: #f3e8ff;
  border: 1px solid #c4b5fd;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #7c3aed;
  margin-bottom: 12px;
}
.irt-badge.show { display: flex; }
.irt-badge i { font-size: 16px; }

/* ============================
   LOGO IMAGE — Al Futuwwah
   ============================ */

/* Header logo */
.logo-img-wrap {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

/* Bukti header logo */
.bukti-logo-img-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bukti-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}

/* ============================
   ALUR PENDAFTARAN (Timeline)
   ============================ */

.kuota-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
  border: 2px solid #f87171;
  border-left: 6px solid #dc2626;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 4px 0 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #7f1d1d;
  animation: kuotaPulse 2.2s ease-in-out infinite;
}
.kuota-warning > i {
  font-size: 22px;
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 2px;
}
.kuota-warning strong {
  display: block;
  font-size: 14px;
  color: #b91c1c;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
@keyframes kuotaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .25); }
  50%      { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

.alur-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
/* garis vertikal penghubung */
.alur-list::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-mid), var(--green-lime));
  border-radius: 3px;
}

.alur-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.alur-num {
  position: relative;
  z-index: 1;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-bright));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 61, 130, .3);
}
.alur-item:last-child .alur-num {
  background: linear-gradient(135deg, var(--green-brand), var(--green-lime));
  box-shadow: 0 2px 8px rgba(61, 184, 44, .35);
}

.alur-body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e5edf5;
  border-radius: 10px;
  padding: 11px 14px;
  transition: all .2s;
}
.alur-item:hover .alur-body {
  background: var(--blue-light, #e8f4ff);
  border-color: #a8d4f5;
  transform: translateX(3px);
}

.alur-icon {
  color: var(--blue-mid);
  font-size: 15px;
  width: 18px;
  text-align: center;
}
.alur-item:last-child .alur-icon { color: var(--green-brand); }

.alur-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

/* ============================
   INTERNAL — Prefill Editable + "Diubah"
   ============================ */

.prefill-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #92400e;
  line-height: 1.5;
  margin-bottom: 14px;
}
.prefill-note i { color: #d97706; margin-top: 2px; }

/* Kolom editable hasil prefill: putih dengan ikon pensil kecil */
.editable-prefill {
  background-color: #fff !important;
  border: 1.5px solid #cbd5e1 !important;
}
input.editable-prefill {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%2394a3b8'%3E%3Cpath d='M362.7 19.3 314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2c-2.5 8.5-.2 17.6 6 23.8s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 13px;
  padding-right: 34px !important;
}
.editable-prefill:focus {
  border-color: var(--blue-bright) !important;
}

/* Badge "Diubah" */
.changed-badge {
  display: none;
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 20px;
  background: #f97316;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .4px;
  vertical-align: middle;
}
.form-group.is-changed .changed-badge { display: inline-block; }
.form-group.is-changed .editable-prefill {
  border-color: #f97316 !important;
  background-color: #fff7ed !important;
}

/* Toggle IRT berubah dari data asli */
.irt-toggle-box.toggle-changed {
  box-shadow: 0 0 0 2px #f97316;
}

.lock-ico {
  font-size: 11px;
  color: var(--gray-400);
  margin-left: 4px;
}

/* Container field ibu (internal) */
.ibu-extra {
  overflow: hidden;
  transition: max-height .35s ease, opacity .3s ease;
  max-height: 600px;
  opacity: 1;
}
.ibu-extra.hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   MODAL PROMOSI & KOMITMEN KURBAN (HALAMAN KE-2)
   ============================================================ */

.kurban-box {
  max-width: 660px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 61, 130, 0.25) !important;
  border: 1px solid #d1fae5 !important;
  display: flex !important;
  flex-direction: column !important;
}

.kurban-header {
  background: linear-gradient(135deg, #065f46 0%, #047857 50%, #059669 100%);
  padding: 28px 24px 22px;
  text-align: center;
  color: #fff;
  position: relative;
  flex-shrink: 0;
}

.kurban-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #a7f3d0;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.kurban-logos-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 12px;
}

.kurban-logo {
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.kurban-logo.yayasan {
  height: 65px;
}

.kurban-logo.upz {
  height: 55px;
}

.kurban-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
  line-height: 1.3;
}

.kurban-subtitle {
  font-size: 13px;
  color: #d1fae5;
  font-style: italic;
  font-weight: 500;
}

.kurban-content {
  padding: 24px 26px 28px;
  background: #f8fafc;
  overflow-y: auto;
  flex: 1;
}

.kurban-intro-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #10b981;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.kurban-intro-card p {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 10px;
}

.kurban-callout {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #ecfdf5;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #065f46;
  font-weight: 500;
  line-height: 1.5;
}

.kurban-callout i {
  color: #10b981;
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Options */
.kurban-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.kurban-opt-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  user-select: none;
}

.kurban-opt-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kurban-opt-card:hover {
  border-color: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12);
}

.kurban-opt-card.active,
.kurban-opt-card:has(input:checked) {
  border-color: #059669;
  background: #ecfdf5;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.15);
}

.kurban-opt-card.highlight {
  border-color: #a7f3d0;
  background: #f0fdf4;
}

.kurban-opt-card.highlight:has(input:checked) {
  border-color: #047857;
  background: #d1fae5;
}

.kurban-opt-content {
  flex: 1;
}

.kurban-opt-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.opt-icon {
  font-size: 14px;
}
.opt-icon.gold { color: #f59e0b; }
.opt-icon.green { color: #10b981; }
.opt-icon.blue { color: #0284c7; }
.opt-icon.emerald { color: #059669; }
.opt-icon.gray { color: #64748b; }

.kurban-opt-desc {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
}

.kurban-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.kurban-opt-card:has(input:checked) .kurban-check {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

/* Action button */
.kurban-action-row {
  margin-top: 10px;
}

.kurban-btn {
  width: 100% !important;
  padding: 16px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #059669, #10b981) !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4) !important;
  transition: all 0.25s ease !important;
}

.kurban-btn:disabled {
  background: #cbd5e1 !important;
  box-shadow: none !important;
  color: #64748b !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.kurban-btn:not(:disabled):hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5) !important;
}

/* ===== SITE FOOTER (HALAMAN WEB RESMI) ===== */
.site-footer {
  margin-top: 42px;
  width: 100%;
}
.site-footer-card {
  background: rgba(0, 31, 68, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px 24px;
  backdrop-filter: blur(10px);
  color: #f1f5f9;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.site-footer-address {
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer-address i {
  color: var(--green-lime);
  margin-right: 6px;
}
.site-footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #cbd5e1;
  margin-bottom: 8px;
}
.site-footer-info i {
  color: var(--green-lime);
}
.site-footer-copy {
  font-size: 11.5px;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 8px;
  margin-top: 6px;
}
@media (max-width: 640px) {
  .site-footer-card {
    padding: 16px 16px;
  }
  .site-footer-address {
    font-size: 12.5px;
  }
  .site-footer-info {
    font-size: 11.5px;
    gap: 8px;
  }
}
