﻿:root { --ad-ink: #172e43; --ad-muted: #586b7b; --ad-teal: #087e80; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { background: #f2f5f7; color: var(--ad-ink); font-family: "Segoe UI", Arial, sans-serif; min-height: 100vh; }
a { color: #076e70; }
.register-shell { max-width: 1280px; }
.register-card { border: 0; border-radius: 20px; box-shadow: 0 8px 32px #172e430d; min-width: 0; }
.ad-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.ad-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; background: white; border-radius: 12px; padding: 4px; }
.ad-brand strong { display: block; font-size: .95rem; overflow-wrap: anywhere; }
.ad-brand small { color: var(--ad-muted); }
.ad-login { flex-shrink: 0; font-size: .9rem; font-weight: 600; text-decoration: none; }
.ad-hero { background: #172e43; border-radius: 22px; padding: 38px 42px; color: white; margin-bottom: 28px; position: relative; overflow: hidden; }
.ad-hero::after { content: ""; position: absolute; width: 260px; height: 260px; border: 45px solid #244757; border-radius: 50%; right: -85px; top: -100px; pointer-events: none; }
.ad-hero > * { position: relative; z-index: 1; }
.ad-eyebrow { color: #a5e4df; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.ad-hero h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 650; letter-spacing: -.04em; margin-bottom: 12px; }
.ad-hero p { max-width: 580px; color: #d2e0e8; line-height: 1.7; margin: 0; }
.ad-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 28px; align-items: start; }
.ad-sidebar { position: sticky; top: 24px; }
.ad-sidebar-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--ad-muted); margin: 12px 0 18px; text-transform: uppercase; }
.ad-nav { display: grid; gap: 8px; }
.ad-nav a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; color: var(--ad-ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.ad-nav a:hover, .ad-nav a:focus-visible { background: #e0eeec; color: #06676a; }
.ad-nav span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #cedbdd; border-radius: 9px; font-size: .75rem; flex-shrink: 0; }
.ad-help { border-top: 1px solid #d9e1e6; margin-top: 28px; padding: 24px 12px 0; color: var(--ad-muted); font-size: .85rem; line-height: 1.7; }
.ad-help strong { display: block; color: var(--ad-ink); margin-bottom: 8px; }
.ad-section-heading { border-bottom: 1px solid #e5ebef; padding-bottom: 22px; margin-bottom: 24px; }
.ad-section-heading h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.025em; }
.ad-section-heading p { color: var(--ad-muted); margin: 0; font-size: .9rem; }
.form-label { font-size: .86rem; font-weight: 600; margin-bottom: 8px; }
.form-control, .form-select { border-color: #cdd8e0; border-radius: 9px; min-height: 46px; padding-top: .65rem; padding-bottom: .65rem; color: var(--ad-ink); font-size: .92rem; }
.form-control::placeholder { color: #73818d; }
.form-control:focus, .form-select:focus { border-color: var(--ad-teal); box-shadow: 0 0 0 3px #087e801c; }
.form-control[type="file"] { font-size: .8rem; background: #f6f9fa; }
.form-control::file-selector-button { background: #e9f1f3; color: #284a5b; }
.form-note, .text-soft { color: var(--ad-muted); font-size: .82rem; line-height: 1.6; }
.form-note { margin-top: 7px; }
#AdmissionForm > .row > .col-md-12 > .card { border: 0; border-top: 1px solid #e1e8ed; border-radius: 0; margin-top: 12px; padding-top: 28px; }
.card-inner > .d-flex { gap: 16px; flex-wrap: wrap; }
.card-inner .title { font-size: 1.2rem; font-weight: 700; }
.parent-item, .previous-school-item { background: #f8fafb; border: 1px solid #dfe7ec; border-radius: 14px; }
.parent-item > .card-inner, .previous-school-item > .card-inner { padding: 24px; }
.parent-number, .previous-school-number { color: #076e70; font-weight: 700; }
.btn { border-radius: 9px; font-weight: 600; }
.btn-outline-primary { color: #076e70; border-color: #a5c8c6; padding: 9px 13px; }
.btn-outline-primary:hover { background: #076e70; border-color: #076e70; color: white; }
.form-check-input:checked { background-color: var(--ad-teal); border-color: var(--ad-teal); }
.form-check-input:focus { border-color: var(--ad-teal); box-shadow: 0 0 0 3px #087e801c; }
.form-check-label { font-size: .85rem; }
.ad-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #e1e8ed; margin-top: 32px; padding-top: 24px; }
.ad-submit p { margin: 0; font-size: .85rem; color: var(--ad-muted); max-width: 310px; }
.btn-register { background: #087e80; border-color: #087e80; padding: 13px 24px; white-space: nowrap; }
.btn-register:hover, .btn-register:active { background: #06676a !important; border-color: #06676a !important; }
.ad-footer { text-align: center; color: var(--ad-muted); font-size: .78rem; padding: 28px 12px 0; }
.ad-success-mark { display: grid; place-items: center; width: 64px; height: 64px; background: #e0f2eb; color: #087653; border-radius: 50%; font-size: 2rem; margin-bottom: 20px; }
@media (max-width: 991px) {
  .ad-layout { grid-template-columns: 1fr; gap: 20px; }
  .ad-sidebar { position: static; }
  .ad-sidebar-label, .ad-help { display: none; }
  .ad-nav { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .ad-nav a { padding: 8px; font-size: .8rem; gap: 8px; }
}
@media (max-width: 575px) {
  .register-shell { padding-top: 24px !important; }
  .ad-topbar { gap: 12px; }
  .ad-brand strong { font-size: .78rem; }
  .ad-brand small, .ad-login { font-size: .75rem; }
  .ad-hero { padding: 28px 24px; border-radius: 16px; }
  .ad-hero p { font-size: .9rem; }
  .ad-nav { grid-template-columns: repeat(2, 1fr); }
  .parent-item > .card-inner, .previous-school-item > .card-inner { padding: 16px; }
  .ad-submit { align-items: stretch; flex-direction: column; }
  .ad-submit .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
