/* SLS Parent Portal — Liquid Glass (UI UX Pro Max) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
  --sls-navy: var(--sls-brand-navy, #0f172a);
  --sls-navy-mid: #1e3a8a;
  --sls-teal: var(--sls-brand-teal, #0d9488);
  --sls-teal-light: var(--sls-brand-accent, #14b8a6);
  --sls-gold: var(--sls-brand-gold, #ca8a04);
  --sls-gold-dark: #a16207;
  --sls-gold-glow: rgba(202, 138, 4, 0.35);
  --sls-success: #059669;
  --sls-success-bg: rgba(5, 150, 105, 0.12);
  --sls-danger: #dc2626;
  --sls-danger-bg: rgba(220, 38, 38, 0.1);
  --sls-glass: rgba(255, 255, 255, 0.78);
  --sls-glass-strong: rgba(255, 255, 255, 0.92);
  --sls-glass-border: rgba(255, 255, 255, 0.55);
  --sls-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  --sls-shadow-lg: 0 32px 64px -16px rgba(15, 23, 42, 0.45);
  --sls-radius-xl: 28px;
  --sls-radius-lg: 20px;
  --sls-radius-md: 14px;
  --sls-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sls-font-head: "Noto Naskh Arabic", Georgia, "Times New Roman", serif;
  --sls-font-body: "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

html:has(body.sls-portal) {
  margin: 0;
  padding: 0;
  height: auto;
  max-height: none;
  overflow-x: hidden;
  overflow-y: scroll;
}

body.sls-portal {
  margin: 0;
  font-family: var(--sls-font-body);
  background: #020617;
  color: var(--sls-navy);
  min-height: 100vh;
  height: auto;
  max-height: none;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  overflow: visible;
  position: static;
}

body.sls-portal::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(30, 58, 138, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(13, 148, 136, 0.25) 0%, transparent 45%),
    radial-gradient(ellipse 70% 50% at 0% 80%, rgba(202, 138, 4, 0.12) 0%, transparent 40%),
    linear-gradient(165deg, #020617 0%, #0f172a 40%, #1e293b 100%);
  z-index: -2;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: orbFloat 18s var(--sls-ease) infinite alternate;
}

.orb-1 {
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  background: radial-gradient(circle, #1e3a8a 0%, transparent 70%);
  top: -12%;
  inset-inline-start: -8%;
}

.orb-2 {
  width: min(420px, 80vw);
  height: min(420px, 80vw);
  background: radial-gradient(circle, #0d9488 0%, transparent 70%);
  bottom: 5%;
  inset-inline-end: -10%;
  animation-delay: -6s;
}

.orb-3 {
  width: min(300px, 60vw);
  height: min(300px, 60vw);
  background: radial-gradient(circle, var(--sls-gold) 0%, transparent 70%);
  top: 40%;
  inset-inline-start: 35%;
  opacity: 0.25;
  animation-delay: -12s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -24px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 12px 64px;
  position: relative;
  overflow: visible;
  height: auto;
  max-height: none;
}

/* ── Top bar ── */
.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 14px;
  backdrop-filter: blur(12px);
  letter-spacing: 0.02em;
}

.lang-chip i { color: var(--sls-gold); }

/* ── Letterhead glass ── */
.school-letterhead {
  background: var(--sls-glass-strong);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-radius: var(--sls-radius-lg);
  margin: 0 auto 16px;
  padding: 20px 20px 14px;
  box-shadow: var(--sls-shadow), inset 0 1px 0 var(--sls-glass-border);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--sls-navy);
  direction: ltr;
}

.school-letterhead-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.school-letterhead-side {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  direction: ltr;
  color: #0f172a;
  font-weight: 600;
}

.school-letterhead-side.ar {
  text-align: right;
  direction: rtl;
  font-family: var(--sls-font-head);
  font-weight: 700;
  color: #0f172a;
}

.school-letterhead-side > div {
  margin: 0 0 2px;
}

.school-letterhead-qr {
  margin-top: 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--sls-navy);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--sls-ease);
}

.school-letterhead-qr:hover { transform: scale(1.04); }

.school-letterhead-qr img {
  width: 72px;
  height: 72px;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.school-letterhead-logo { text-align: center; padding-top: 20px; }

.school-letterhead-logo img {
  width: 88px;
  max-height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(15, 23, 42, 0.15));
}

.school-letterhead-center {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}

.school-letterhead-center .contacts { direction: ltr; font-family: Georgia, serif; }

.school-letterhead-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
  margin-top: 10px;
}

/* ── Tools bar ── */
.profile-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 721px) {
  .profile-tools {
    flex-direction: row;
    align-items: center;
  }
  .search-wrap { flex: 1; min-width: 0; }
  .language-switch { flex-shrink: 0; }
}

.language-switch { display: flex; gap: 8px; flex-wrap: wrap; }

.language-switch a,
.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: background 0.25s var(--sls-ease), transform 0.2s var(--sls-ease), box-shadow 0.25s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.language-switch a:hover,
.tool-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.language-switch a.is-active {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  color: var(--sls-navy-mid);
  border-color: #fff;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.25);
}

.tool-btn--gold {
  background: linear-gradient(135deg, var(--sls-gold) 0%, var(--sls-gold-dark) 100%);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.tool-btn--gold:hover {
  background: linear-gradient(135deg, #eab308 0%, var(--sls-gold) 100%);
  box-shadow: 0 8px 28px var(--sls-gold-glow);
}

.search-wrap { position: relative; }

.search-wrap i {
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.search-wrap input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 13px 44px;
  background: var(--sls-glass-strong);
  backdrop-filter: blur(16px);
  color: var(--sls-navy);
  font-family: var(--sls-font-body);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  box-shadow: var(--sls-shadow);
  transition: box-shadow 0.25s var(--sls-ease);
}

.search-wrap input:focus {
  box-shadow: 0 0 0 4px rgba(202, 138, 4, 0.25), var(--sls-shadow);
}

.search-empty {
  display: none;
  margin: 0 0 16px;
  padding: 14px 18px;
  border-radius: var(--sls-radius-md);
  background: var(--sls-glass-strong);
  backdrop-filter: blur(12px);
  color: #64748b;
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ── Section nav (same strip as the bus subscription form steps) ── */
.section-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 120;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
}

.section-nav::-webkit-scrollbar {
  height: 4px;
}

.section-nav::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.55);
  border-radius: 999px;
}

.section-nav a {
  flex: 1 1 auto;
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.section-nav a i {
  flex-shrink: 0;
  font-size: 0.78rem;
}

.section-nav a span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-nav a:hover {
  color: #92400e;
  background: rgba(255, 255, 255, 0.72);
}

.section-nav a:focus-visible {
  outline: 2px solid rgba(202, 138, 4, 0.55);
  outline-offset: 2px;
}

.section-nav a.is-active {
  background: #fff;
  color: #b45309;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* ── Main card ── */
.card {
  background: var(--sls-glass-strong);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  border-radius: var(--sls-radius-xl);
  box-shadow: var(--sls-shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--sls-navy) 0%, var(--sls-navy-mid) 42%, var(--sls-teal) 100%);
  color: #fff;
  padding: 24px 22px 22px;
  position: relative;
  overflow: hidden;
  border-radius: var(--sls-radius-xl) var(--sls-radius-xl) 0 0;
}

.hero-layout {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

[dir="rtl"] .hero-layout { flex-direction: row-reverse; }
[dir="ltr"] .hero-layout { flex-direction: row; }

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(202, 138, 4, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(20, 184, 166, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero > * { position: relative; z-index: 1; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.pill-soft {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.pill-verified {
  background: linear-gradient(135deg, #fff 0%, #fef3c7 100%);
  color: var(--sls-gold-dark);
  box-shadow: 0 4px 16px rgba(202, 138, 4, 0.3);
}

.hero h1 {
  margin: 0;
  font-family: var(--sls-font-head);
  font-size: clamp(20px, 4.5vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  max-width: 100%;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  opacity: 0.95;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.15);
  padding: 6px 12px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.hero-meta strong { font-weight: 800; }

.status-badge {
  position: static;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta .status-badge {
  background: rgba(255, 255, 255, 0.95);
}

.hero-meta .st-active { color: #166534; }
.hero-meta .st-applicant { color: #1e40af; }
.hero-meta .st-inactive { color: #991b1b; }
.hero-meta .st-graduated { color: #92400e; }

.st-active { background: #dcfce7; color: #166534; }
.st-applicant { background: #dbeafe; color: #1e40af; }
.st-inactive { background: #fee2e2; color: #991b1b; }
.st-graduated { background: #fef3c7; color: #92400e; }

.photo-wrap {
  position: relative;
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 3px solid #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.photo-wrap::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: conic-gradient(from 0deg, var(--sls-gold), var(--sls-teal-light), var(--sls-navy-mid), var(--sls-gold));
  z-index: -1;
  animation: ringSpin 10s linear infinite;
  opacity: 0.7;
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .photo-wrap::before { animation: none; opacity: 0.5; }
}

.photo-wrap img,
.photo-wrap .ini {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

.photo-wrap .ini {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sls-font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--sls-gold-dark);
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

/* ── Finance spotlight ── */
.card-summary {
  background: #f1f5f9;
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid #e2e8f0;
}

.finance-spotlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.fs-finance-overview {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fs-finance-overview .finance-spotlight--summary {
  margin-top: 4px;
}

.finance-spotlight--summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.finance-spotlight--summary .spotlight-card--wide {
  grid-column: 1 / -1;
}

.spotlight-card .spotlight-icon.icon-due {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.spotlight-card {
  background: #fff;
  border-radius: var(--sls-radius-md);
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s var(--sls-ease), box-shadow 0.25s;
  min-width: 0;
}

.spotlight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.spotlight-card--due {
  border-color: rgba(202, 138, 4, 0.45);
  background: linear-gradient(180deg, #fff 0%, #fffbeb 100%);
}

.spotlight-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 6px;
  line-height: 1.35;
}

.spotlight-value {
  font-family: var(--sls-font-head);
  font-size: clamp(17px, 3.5vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--sls-navy);
  word-break: break-word;
}

.spotlight-value.is-due { color: var(--sls-danger); }
.spotlight-value.is-paid { color: var(--sls-success); }
.spotlight-value.is-neutral { color: var(--sls-navy); }

.spotlight-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.spotlight-card--due .spotlight-icon {
  background: rgba(202, 138, 4, 0.15);
  color: var(--sls-gold-dark);
}

.spotlight-card .spotlight-icon.icon-paid {
  background: var(--sls-success-bg);
  color: var(--sls-success);
}

.spotlight-card .spotlight-icon.icon-neutral {
  background: rgba(30, 58, 138, 0.1);
  color: var(--sls-navy-mid);
}

.spotlight-card .spotlight-icon.icon-due {
  background: var(--sls-danger-bg);
  color: var(--sls-danger);
}

/* ── Body ── */
.body {
  padding: 18px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f8fafc;
  border-radius: 0 0 var(--sls-radius-xl) var(--sls-radius-xl);
}

/* ── Sections ── */
.section {
  background: var(--sls-glass-strong);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--sls-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: border-color 0.3s var(--sls-ease), box-shadow 0.3s var(--sls-ease), transform 0.3s var(--sls-ease);
  scroll-margin-top: var(--pc-nav-offset, 5.5rem);
}

.section.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--sls-ease), transform 0.55s var(--sls-ease), border-color 0.3s, box-shadow 0.3s;
}

.section.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.section.is-hidden { display: none; }

.section:not(.is-collapsed) {
  border-color: rgba(202, 138, 4, 0.45);
  box-shadow: 0 16px 40px rgba(202, 138, 4, 0.12);
}

.section-head {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  margin: 0;
  border: 0;
  cursor: pointer;
  user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  transition: background 0.25s;
}

.section-head:hover { background: #fff; }

.section:not(.is-collapsed) .section-head {
  border-bottom: 1px solid rgba(202, 138, 4, 0.2);
}

.section-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sls-navy) 0%, var(--sls-teal) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.section-titles { flex: 1; min-width: 0; }

[dir="ltr"] .section-titles { text-align: left; }
[dir="rtl"] .section-titles { text-align: right; }

.section-titles h2 {
  margin: 0;
  font-family: var(--sls-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--sls-navy);
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.section-titles .section-desc {
  margin: 6px 0 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.section.is-collapsed .section-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-toggle {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(202, 138, 4, 0.35);
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  color: var(--sls-gold-dark);
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.25s var(--sls-ease);
}

.section-toggle:hover {
  background: #fde68a;
  transform: scale(1.05);
}

.section-toggle i {
  font-size: 14px;
  transition: transform 0.3s var(--sls-ease);
}

.section:not(.is-collapsed) .section-toggle i { transform: rotate(180deg); }

.section-panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--sls-ease);
}

.section:not(.is-collapsed) .section-panel-wrap {
  grid-template-rows: 1fr;
}

.section-panel-inner { overflow: hidden; min-height: 0; }

.section.is-collapsed .section-panel-wrap { grid-template-rows: 0fr; }

.field-grid {
  padding: 18px 20px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e2e8f0;
  border-radius: var(--sls-radius-md);
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.field:hover {
  border-color: rgba(202, 138, 4, 0.4);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.field.is-hidden { display: none; }

.field.is-match {
  border-color: var(--sls-teal-light);
  background: rgba(20, 184, 166, 0.08);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.field-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.35) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-color: rgba(202, 138, 4, 0.25);
}

.field.bus-parent-form-banner {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.14) 0%, rgba(255, 251, 235, 0.95) 100%);
  border-color: rgba(217, 119, 6, 0.4);
}

.field-icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  color: var(--sls-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.field-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 4px;
}

.field-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--sls-navy);
  line-height: 1.4;
  word-break: break-word;
}

.field-value.is-empty { color: #94a3b8; font-weight: 500; }

.home-map-field { align-items: stretch; }
.home-map-field .field-body { min-width: 0; width: 100%; }

.home-map-embed {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--sls-radius-md);
  background: #e2e8f0;
  display: block;
  box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.08);
}

.home-map-coords {
  margin-top: 8px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  direction: ltr;
}

/* ── Financial portal ── */
.fs-panel { padding: 18px 20px 22px; background: transparent; }

.fs-portal { direction: rtl; font-family: var(--sls-font-body); }

.fs-insight-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: var(--sls-radius-md);
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(13, 148, 136, 0.08) 100%);
  border: 1px solid rgba(30, 58, 138, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  line-height: 1.5;
}

.fs-insight-banner--compact {
  margin-bottom: 0;
}

.fs-insight-banner i {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--sls-navy);
  color: #fde68a;
  font-size: 15px;
}

.fs-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.fs-metric {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--sls-radius-md);
  padding: 14px 16px;
  text-align: center;
  transition: transform 0.25s var(--sls-ease);
}

.fs-metric:hover { transform: translateY(-2px); }

.fs-metric-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

.fs-metric-value {
  font-family: var(--sls-font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--sls-navy);
}

.fs-metric-value.tone-ok { color: var(--sls-success); }
.fs-metric-value.tone-bad { color: var(--sls-danger); }
.fs-metric-value.tone-gold { color: var(--sls-gold-dark); }

.fs-block-title {
  font-family: var(--sls-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--sls-navy);
  margin: 20px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(202, 138, 4, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-block-title i { color: var(--sls-gold); font-size: 13px; }

.fs-panel-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--sls-radius-lg);
  padding: 16px 18px 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.fs-panel-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(202, 138, 4, 0.35);
}

.fs-panel-card-title {
  font-family: var(--sls-font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--sls-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-panel-card-title i { color: var(--sls-gold); }

.fs-panel-card-total {
  font-family: var(--sls-font-head);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  color: var(--sls-navy);
}

.fs-detail-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fs-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.fs-detail-table th,
.fs-detail-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
  vertical-align: middle;
}

.fs-detail-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #475569;
  font-size: 11px;
}

.fs-detail-table td.align-right,
.fs-detail-table th:first-child + th + th {
  text-align: start;
}

.fs-detail-table tbody tr:last-child td { border-bottom: none; }

.fs-detail-table .tone-ok { color: var(--sls-success); font-weight: 700; }
.fs-detail-table .tone-bad { color: var(--sls-danger); font-weight: 700; }
.fs-detail-table .tone-warn { color: #b45309; font-weight: 700; }

.fs-detail-table td.align-center { text-align: center; }
.fs-detail-table td.is-total {
  font-weight: 800;
  background: #f8fafc;
  border-top: 2px solid #e2e8f0;
}

.fs-uniform-detail {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
}

.fs-uniform-detail-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--sls-font-head, inherit);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--sls-navy, #0f172a);
}

.fs-uniform-detail-title i {
  color: #0d9488;
}

.fs-empty-row {
  color: #94a3b8;
  font-style: italic;
  padding: 18px !important;
}

.fs-discount-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.fs-discount-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid rgba(202, 138, 4, 0.3);
  font-size: 12px;
}

.fs-discount-chip strong { font-weight: 800; color: var(--sls-navy); }
.fs-discount-chip span { color: var(--sls-gold-dark); font-weight: 700; }

.fs-installment-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: thin;
}

.fs-installment-card {
  flex: 0 0 min(160px, 42vw);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--sls-radius-md);
  padding: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fs-installment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sls-gold), var(--sls-teal));
}

.fs-installment-card.is-paid::before { background: var(--sls-success); }
.fs-installment-card.is-overdue::before { background: var(--sls-danger); }

.fs-installment-num {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 4px;
}

.fs-installment-amt {
  font-family: var(--sls-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--sls-navy);
  margin: 6px 0;
}

.fs-installment-date { font-size: 11px; color: #64748b; }

.fs-installment-status {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.fs-installment-status.paid { background: var(--sls-success-bg); color: var(--sls-success); }
.fs-installment-status.unpaid { background: var(--sls-danger-bg); color: var(--sls-danger); }
.fs-installment-status.partial { background: #fef3c7; color: #92400e; }

.fs-tx-list { display: flex; flex-direction: column; gap: 10px; }

.fs-tx-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--sls-radius-md);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.fs-tx-card:hover {
  border-color: rgba(202, 138, 4, 0.35);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.fs-tx-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sls-success-bg);
  color: var(--sls-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.fs-tx-body { min-width: 0; }

.fs-tx-desc {
  font-weight: 700;
  color: var(--sls-navy);
  font-size: 14px;
  margin-bottom: 4px;
}

.fs-tx-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.fs-tx-meta span { display: inline-flex; align-items: center; gap: 4px; }

.fs-tx-amount {
  font-family: var(--sls-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--sls-success);
  white-space: nowrap;
}

.fs-extra-table-wrap {
  overflow-x: auto;
  border-radius: var(--sls-radius-md);
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.fs-extra-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: #fff;
}

.fs-extra-table th,
.fs-extra-table td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
}

.fs-extra-table th {
  background: #f8fafc;
  font-weight: 800;
  color: #475569;
  font-size: 11px;
}

.fs-extra-table td.align-right { text-align: right; }
.fs-extra-table .tone-ok { color: var(--sls-success); font-weight: 700; }
.fs-extra-table .tone-bad { color: var(--sls-danger); font-weight: 700; }

/* Legacy PDF blocks hidden in portal mode */
.fs-portal .fs-pdf-block { display: none; }

/* ── Footer ── */
.footer-note {
  margin-top: 8px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.04) 0%, rgba(202, 138, 4, 0.06) 100%);
  border-radius: var(--sls-radius-md);
  text-align: center;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  border: 1px solid rgba(202, 138, 4, 0.15);
}

.footer-note i { color: var(--sls-gold); margin-inline-end: 6px; }

.footer-note strong {
  display: block;
  margin-top: 10px;
  color: var(--sls-navy);
  font-family: var(--sls-font-head);
  font-size: 15px;
}

/* ── Error page ── */
body.sls-portal-error {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sls-error-box {
  background: var(--sls-glass-strong);
  backdrop-filter: blur(24px);
  border-radius: var(--sls-radius-xl);
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--sls-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-align: center;
}

.sls-error-box .ico {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: var(--sls-danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
}

.sls-error-box h1 {
  margin: 0 0 10px;
  font-family: var(--sls-font-head);
  font-size: 22px;
  color: var(--sls-navy);
}

.sls-error-box p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
  font-size: 15px;
}

.sls-error-box .foot {
  margin-top: 20px;
  color: #94a3b8;
  font-size: 13px;
}

/* ── Print ── */
@media print {
  .ambient, .profile-tools, .lang-chip, .section-nav, .section-toggle, .finance-spotlight { display: none !important; }
  body.sls-portal::before { background: #fff; }
  .section { break-inside: avoid-page; box-shadow: none; border: 1px solid #cbd5e1; }
  .section.is-collapsed .section-panel-wrap { grid-template-rows: 1fr !important; }
  .section-titles .section-desc { -webkit-line-clamp: unset !important; display: block !important; }
  .fs-portal .fs-pdf-block { display: table !important; }
  .fs-portal .fs-metrics, .fs-portal .fs-tx-list, .fs-portal .fs-installment-track { display: none !important; }
}

@media (max-width: 720px) {
  .finance-spotlight { grid-template-columns: 1fr; }
  .card-summary { padding: 14px 14px 16px; }
  .school-letterhead-top { grid-template-columns: 1fr; gap: 12px; }
  .school-letterhead-logo { order: 0; padding-top: 0; }
  .school-letterhead-side, .school-letterhead-side.ar { text-align: center; font-size: 12px; }
  .language-switch { justify-content: center; }
  .hero-layout { flex-direction: column-reverse !important; align-items: center; text-align: center; }
  .hero-content { width: 100%; }
  .hero-meta { justify-content: center; }
  .hero h1 { font-size: 20px; }
  .photo-wrap { flex: 0 0 88px; width: 88px; height: 88px; }
  .field-grid { grid-template-columns: 1fr; }
  .fs-tx-card { grid-template-columns: 1fr; text-align: center; }
  .fs-tx-icon { margin: 0 auto; }
  .fs-tx-amount { justify-self: center; }
  .section-nav {
    gap: 0.35rem;
    padding: 0.45rem 0.5rem;
  }

  .section-nav a {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 0.4rem 0.7rem;
    font-size: 0.74rem;
    justify-content: flex-start;
    text-align: inherit;
  }

  .section-nav a span {
    overflow: visible;
    text-overflow: unset;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .finance-spotlight { grid-template-columns: 1fr 1fr; }
  .finance-spotlight .spotlight-card--due,
  .finance-spotlight .spotlight-card--wide { grid-column: 1 / -1; }
}

/* ── Public card PIN gate ── */
body.sls-portal-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sls-pin-box .ico {
  background: linear-gradient(135deg, #ccfbf1, #99f6e4);
  color: var(--sls-teal);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.18);
}

.sls-pin-code {
  margin: 0 0 14px;
  font-size: 14px;
  color: #475569;
}

.sls-pin-code strong {
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--sls-navy);
}

.sls-pin-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sls-danger-bg);
  color: var(--sls-danger);
  font-size: 13px;
  font-weight: 600;
}

.sls-pin-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 18px;
  text-align: center;
}

.sls-pin-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sls-pin-input {
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-align: center;
  color: var(--sls-navy);
  background: #fff;
}

.sls-pin-input:focus {
  outline: none;
  border-color: var(--sls-teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

.sls-pin-submit {
  width: 100%;
  max-width: 220px;
  margin: 4px auto 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sls-teal), #0f766e);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28);
}

.sls-pin-submit:hover {
  filter: brightness(1.05);
}

.sls-pin-help {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
}

.sls-pin-phones {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--sls-teal);
  letter-spacing: 0.02em;
}

/* ── First-time verify / OTP ── */
body.sls-portal-verify {
  align-items: flex-start;
  padding: 28px 16px 48px;
}

.sls-verify-box {
  width: min(760px, 100%);
  max-width: 760px;
  text-align: start;
  padding: 28px 24px 26px;
  animation: slsVerifyIn 0.45s var(--sls-ease) both;
}

@keyframes slsVerifyIn {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sls-verify-box { animation: none; }
}

.sls-verify-hero {
  text-align: center;
  margin-bottom: 18px;
}

.sls-verify-hero .ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ccfbf1 0%, #99f6e4 55%, #5eead4 100%);
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow:
    0 12px 28px rgba(13, 148, 136, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.sls-verify-box h1 {
  text-align: center;
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  letter-spacing: -0.01em;
}

.sls-verify-intro {
  text-align: center;
  line-height: 1.75;
  font-size: 14px;
  max-width: 36em;
  margin: 0 auto 12px;
  color: #475569;
}

.sls-verify-steps {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 16px;
  padding: 0;
  max-width: 420px;
}

.sls-verify-steps li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  min-width: 0;
}

.sls-verify-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  inset-inline-start: calc(50% + 16px);
  width: calc(100% - 32px);
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
}

.sls-verify-steps li.is-done:not(:last-child)::after,
.sls-verify-steps li.is-active:not(:last-child)::after {
  background: linear-gradient(90deg, var(--sls-teal), #99f6e4);
}

.sls-verify-steps li span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  color: #64748b;
  font-size: 12px;
  z-index: 1;
}

.sls-verify-steps li.is-active {
  color: #0f766e;
}

.sls-verify-steps li.is-active span {
  background: linear-gradient(135deg, var(--sls-teal), #0f766e);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}

.sls-verify-steps li.is-done {
  color: #0f766e;
}

.sls-verify-steps li.is-done span {
  background: #ccfbf1;
  border-color: #5eead4;
  color: #0f766e;
}

.sls-verify-codechip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px auto 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(13, 148, 136, 0.08));
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.sls-verify-codechip i { color: var(--sls-teal); }
.sls-verify-codechip strong {
  color: var(--sls-navy);
  letter-spacing: 0.06em;
  font-size: 14px;
}

.sls-first-login-form {
  margin: 10px 0 0;
  text-align: center;
}

.sls-first-login-btn {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 11px 16px;
  border: 1.5px solid rgba(13, 148, 136, 0.45);
  border-radius: 14px;
  background: rgba(240, 253, 250, 0.9);
  color: #0f766e;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--sls-ease), transform 0.2s var(--sls-ease);
}

.sls-first-login-btn:hover {
  background: #ccfbf1;
  transform: translateY(-1px);
}

.sls-linkish {
  background: none;
  border: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px;
}

.sls-verify-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 4px;
}

.sls-verify-section {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.92) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 28px -18px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.sls-verify-section::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: var(--sls-section-accent, var(--sls-teal));
}

.sls-verify-section--father { --sls-section-accent: #2563eb; --sls-section-soft: #eff6ff; --sls-section-ring: rgba(37, 99, 235, 0.16); }
.sls-verify-section--mother { --sls-section-accent: #db2777; --sls-section-soft: #fdf2f8; --sls-section-ring: rgba(219, 39, 119, 0.16); }
.sls-verify-section--student { --sls-section-accent: #0d9488; --sls-section-soft: #f0fdfa; --sls-section-ring: rgba(13, 148, 136, 0.16); }

.sls-verify-section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.sls-verify-section__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  background: var(--sls-section-accent);
  box-shadow: 0 8px 18px var(--sls-section-ring);
  flex-shrink: 0;
}

.sls-verify-section h2 {
  margin: 0;
  font-size: 16px;
  color: var(--sls-navy);
  font-family: var(--sls-font-head);
  font-weight: 700;
}

.sls-citizenship-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.sls-citizenship {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.sls-citizenship__opt {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.sls-citizenship__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sls-citizenship__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.2s var(--sls-ease), background 0.2s var(--sls-ease), box-shadow 0.2s var(--sls-ease), color 0.2s var(--sls-ease);
}

.sls-citizenship__chip i {
  font-size: 13px;
  opacity: 0.75;
}

.sls-citizenship__opt input:checked + .sls-citizenship__chip {
  border-color: var(--sls-section-accent, var(--sls-teal));
  background: var(--sls-section-soft, #f0fdfa);
  color: var(--sls-section-accent, #0f766e);
  box-shadow: 0 0 0 3px var(--sls-section-ring, rgba(13, 148, 136, 0.16));
}

.sls-citizenship__opt input:focus-visible + .sls-citizenship__chip {
  outline: 2px solid var(--sls-teal);
  outline-offset: 2px;
}

.sls-verify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}

.sls-verify-grid[hidden],
[data-citizenship-panel][hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .sls-verify-box { padding: 22px 16px 20px; }
  .sls-verify-grid { grid-template-columns: 1fr; }
  .sls-citizenship { grid-template-columns: 1fr; }
  .sls-otp-cards { grid-template-columns: 1fr !important; }
}

.sls-verify-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.sls-verify-field span i {
  margin-inline-end: 4px;
  color: var(--sls-section-accent, var(--sls-teal));
  opacity: 0.85;
}

.sls-verify-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dbe3ef;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sls-navy);
  background: #fff;
  transition: border-color 0.2s var(--sls-ease), box-shadow 0.2s var(--sls-ease);
}

.sls-verify-field input:hover {
  border-color: #cbd5e1;
}

.sls-verify-field input:focus {
  outline: none;
  border-color: var(--sls-teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.14);
}

.sls-verify-field input[readonly] {
  background: #f1f5f9;
  color: #334155;
  cursor: default;
}

.sls-verify-field .sls-date-field {
  width: 100%;
}

.sls-verify-field .sls-date-triple__select {
  border-radius: 12px;
  border-color: #dbe3ef;
  font-weight: 600;
  min-height: 44px;
}

.sls-verify-field .sls-date-triple__select:focus {
  border-color: var(--sls-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
}

.sls-verify-field small {
  font-weight: 500;
  color: #94a3b8;
  font-size: 11px;
}

.sls-verify-trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px dashed rgba(148, 163, 184, 0.55);
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 600;
}

.sls-verify-trust i {
  color: var(--sls-teal);
  margin-top: 2px;
  flex-shrink: 0;
}

.sls-role-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 12px;
}

@media (max-width: 640px) {
  .sls-role-pick { grid-template-columns: 1fr; }
}

.sls-role-card {
  margin: 0;
}

.sls-role-card__btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px 18px;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  background: linear-gradient(180deg, #fff, #f8fafc);
  cursor: pointer;
  text-align: center;
  box-shadow: 0 12px 28px -18px rgba(15, 23, 42, 0.35);
  transition: transform 0.2s var(--sls-ease), border-color 0.2s var(--sls-ease), box-shadow 0.2s var(--sls-ease);
}

.sls-role-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(15, 23, 42, 0.4);
}

.sls-role-card--father .sls-role-card__btn:hover { border-color: #93c5fd; }
.sls-role-card--mother .sls-role-card__btn:hover { border-color: #f9a8d4; }

.sls-role-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}

.sls-role-card--father .sls-role-card__icon {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.3);
}

.sls-role-card--mother .sls-role-card__icon {
  background: linear-gradient(145deg, #ec4899, #be185d);
  box-shadow: 0 10px 22px rgba(219, 39, 119, 0.3);
}

.sls-role-card__title {
  font-family: var(--sls-font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--sls-navy);
}

.sls-role-card__desc {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.45;
  max-width: 18em;
}

.sls-otp-cards--single {
  grid-template-columns: 1fr;
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}

.sls-verify-submit {
  max-width: none;
  width: 100%;
  margin-top: 6px;
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: filter 0.2s var(--sls-ease), transform 0.2s var(--sls-ease);
}

.sls-verify-submit:hover {
  transform: translateY(-1px);
}

.sls-otp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sls-otp-card {
  padding: 18px 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.3);
}

.sls-otp-card__badge {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
}

.sls-otp-card--father .sls-otp-card__badge {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.sls-otp-card--mother .sls-otp-card__badge {
  background: linear-gradient(145deg, #ec4899, #be185d);
  box-shadow: 0 8px 18px rgba(219, 39, 119, 0.3);
}

.sls-otp-form .sls-pin-input {
  max-width: 100%;
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.28em;
}

.sls-otp-form .sls-verify-field {
  align-items: center;
  text-align: center;
}

.sls-verify-flash {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: #047857;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
