
        :root {
            --navy:        #0b1f45;
            --navy-mid:    #163166;
            --navy-light:  #1e4080;
            --gold:        #c8902a;
            --gold-light:  #e8b84b;
            --gold-pale:   #f5e4be;
            --cream:       #f9f5ee;
            --cream-dark:  #f0e9d8;
            --white:       #ffffff;
            --border:      #ddd6c8;
            --text-main:   #1a1a2e;
            --text-muted:  #6b6b7b;
            --error:       #c0392b;
            --success:     #1a7a4a;
            --r-sm:        8px;
            --r-md:        14px;
            --r-lg:        22px;
            --r-xl:        32px;
            --shadow-soft: 0 4px 24px rgba(11,31,69,0.10);
            --shadow-mid:  0 10px 40px rgba(11,31,69,0.15);
            --shadow-gold: 0 6px 22px rgba(200,144,42,0.30);
        }

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

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--cream);
            min-height: 100vh;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 2.5rem 1rem 3rem;
            background-image:
                radial-gradient(ellipse 80% 60% at 50% -10%, rgba(200,144,42,0.10) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 100% 80%, rgba(11,31,69,0.06) 0%, transparent 60%);
        }

        /* ── PAGE WRAPPER ─────────────────────────────── */
        .page-wrap {
            width: 100%;
            max-width: 860px;
            animation: fadeUp 0.55s ease both;
        }

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

        /* ── CARD ─────────────────────────────────────── */
        .form-card {
            background: var(--white);
            border-radius: var(--r-xl);
            box-shadow: var(--shadow-mid);
            overflow: hidden;
            border: 1px solid rgba(200,144,42,0.12);
        }

        /* ── HEADER ───────────────────────────────────── */
        .form-header {
            background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
            padding: 2.2rem 2.4rem;
            position: relative;
            overflow: hidden;
        }

        /* decorative circles */
        .form-header::before,
        .form-header::after {
            content: '';
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
        }
        .form-header::before {
            width: 300px; height: 300px;
            background: radial-gradient(circle, rgba(200,144,42,0.13) 0%, transparent 70%);
            top: -120px; right: -60px;
        }
        .form-header::after {
            width: 180px; height: 180px;
            background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
            bottom: -60px; left: -30px;
        }

        .header-inner {
            display: flex;
            align-items: center;
            gap: 1.4rem;
            position: relative;
            z-index: 1;
        }

        /* gold ring logo container */
        .logo-ring {
            flex-shrink: 0;
            width: 72px; height: 72px;
            border-radius: 50%;
            border: 2px solid rgba(232,184,75,0.55);
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.06);
            box-shadow: 0 0 0 6px rgba(232,184,75,0.08);
        }

        .logo-ring img {
            width: 52px; height: 52px;
            object-fit: contain;
            border-radius: 50%;
        }

        .header-text .brand {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.6rem, 4vw, 2.2rem);
            font-weight: 700;
            color: var(--gold-light);
            line-height: 1.1;
            letter-spacing: 0.5px;
        }

        .header-text .campus {
            font-size: 0.78rem;
            font-weight: 500;
            color: rgba(255,255,255,0.70);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-top: 4px;
        }

        /* thin gold accent line */
        .header-divider {
            height: 2px;
            background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 40%, transparent 100%);
            opacity: 0.45;
            margin-top: 1.6rem;
            border-radius: 2px;
            position: relative;
            z-index: 1;
        }

        /* badge under header */
        .form-badge {
            background: linear-gradient(90deg, var(--navy), var(--navy-mid));
            color: var(--gold-light);
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 0.55rem 2.4rem;
            border-bottom: 1px solid rgba(200,144,42,0.18);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-badge i { font-size: 0.82rem; opacity: 0.8; }

        /* ── BODY ─────────────────────────────────────── */
        .form-body {
            padding: 2.4rem 2.4rem 2rem;
        }

        /* section titles */
        .section-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--navy);
            margin-bottom: 1.4rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
        .section-title::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, var(--border), transparent);
        }
        .section-title i {
            color: var(--gold);
            font-size: 1rem;
        }

        /* ── FORM FIELDS ──────────────────────────────── */
        .field-group {
            margin-bottom: 0;
        }

        .form-label {
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--navy);
            text-transform: uppercase;
            letter-spacing: 0.8px;
            margin-bottom: 0.45rem;
            display: block;
        }

        .form-control {
            width: 100%;
            border: 1.5px solid var(--border);
            border-radius: var(--r-md);
            padding: 0.85rem 1rem;
            font-family: 'Outfit', sans-serif;
            font-size: 0.94rem;
            color: var(--text-main);
            background: var(--cream);
            transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
            outline: none;
        }

        .form-control::placeholder { color: #b0aaa0; }

        .form-control:hover {
            border-color: rgba(200,144,42,0.45);
        }

        .form-control:focus {
            border-color: var(--gold);
            background: var(--white);
            box-shadow: 0 0 0 3.5px rgba(200,144,42,0.13);
        }

        /* input with icon wrapper */
        .input-icon-wrap {
            position: relative;
        }
        .input-icon-wrap .field-icon {
            position: absolute;
            left: 0.95rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gold);
            font-size: 1rem;
            pointer-events: none;
            transition: color 0.2s;
        }
        .input-icon-wrap .form-control {
            padding-left: 2.7rem;
        }
        .input-icon-wrap:focus-within .field-icon {
            color: var(--navy);
        }

        /* error */
        .field-error {
            font-size: 0.75rem;
            color: var(--error);
            margin-top: 0.35rem;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .field-error::before { content: '⚠'; }

        /* ── ALERTS ───────────────────────────────────── */
        .alert {
            border-radius: var(--r-md);
            font-size: 0.85rem;
            padding: 0.85rem 1rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            border: none;
            margin-bottom: 1.6rem;
        }
        .alert-success { background: #ecfaf3; color: #155f35; border-left: 4px solid var(--success); }
        .alert-error, .alert-danger { background: #fdf0ef; color: #8b1a1a; border-left: 4px solid var(--error); }
        .alert-info { background: #eef3fd; color: #1a2f6b; border-left: 4px solid var(--navy-mid); }

        /* ── DIVIDER ──────────────────────────────────── */
        .form-divider {
            border: none;
            border-top: 1px solid var(--border);
            margin: 1.8rem 0;
        }

        /* ── SUBMIT BUTTON ────────────────────────────── */
        .btn-submit {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            width: 100%;
            padding: 0.95rem 1.5rem;
            background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
            color: var(--white);
            border: none;
            border-radius: var(--r-md);
            font-family: 'Outfit', sans-serif;
            font-size: 0.96rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s;
            position: relative;
            overflow: hidden;
        }

        .btn-submit::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(232,184,75,0.15) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 0.22s;
        }

        .btn-submit:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: var(--shadow-gold);
        }
        .btn-submit:hover::before { opacity: 1; }

        .btn-submit:active:not(:disabled) {
            transform: translateY(0);
            box-shadow: none;
        }

        .btn-submit:disabled {
            opacity: 0.72;
            cursor: not-allowed;
        }

        .btn-submit .lock-icon {
            background: rgba(255,255,255,0.15);
            border-radius: 6px;
            padding: 3px 5px;
            font-size: 0.78rem;
            line-height: 1;
        }

        /* spinner inside button */
        .btn-spinner {
            width: 16px; height: 16px;
            border: 2px solid rgba(255,255,255,0.4);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.65s linear infinite;
            display: none;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ── SECURITY NOTE ────────────────────────────── */
        .security-note {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.45rem;
            font-size: 0.74rem;
            color: var(--text-muted);
            margin-top: 0.85rem;
        }
        .security-note i { color: var(--gold); font-size: 0.8rem; }

        /* ── FOOTER ───────────────────────────────────── */
        .form-footer {
            background: var(--cream-dark);
            border-top: 1px solid var(--border);
            padding: 1rem 2.4rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.5rem;
            font-size: 0.72rem;
            color: var(--text-muted);
        }

        .footer-brand {
            font-weight: 600;
            color: var(--navy);
        }

        .footer-right {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .footer-right i { color: var(--gold); }

        /* ── RESPONSIVE ───────────────────────────────── */
        @media (max-width: 600px) {
            body { padding: 1rem 0.5rem 2rem; }

            .form-header { padding: 1.6rem 1.4rem; }
            .form-badge  { padding: 0.5rem 1.4rem; }
            .form-body   { padding: 1.6rem 1.2rem 1.4rem; }
            .form-footer { padding: 0.85rem 1.2rem; }

            .logo-ring { width: 58px; height: 58px; }
            .logo-ring img { width: 42px; height: 42px; }

            .header-text .brand { font-size: 1.45rem; }
            .header-text .campus { font-size: 0.70rem; }

            .form-card { border-radius: var(--r-lg); }
        }
