        :root {
            --navy-900: #0a1124;
            --navy-800: #111a36;
            --navy-700: #16213e;
            --orange:   #f27a1a;
            --orange-2: #ff9447;
            --crimson:  #dc2626;
            --gold:     #ffcd2e;
            --ink:      #0f172a;
            --paper:    #f6f4ee;
            --paper-2:  #efece4;
            --line:     #e7e2d6;
            --muted:    #6b6757;
            --success:  #16a34a;
            --danger:   #dc2626;
        }
        * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
        html, body { height: 100%; }
        body {
            font-family: 'Manrope', system-ui, -apple-system, sans-serif;
            background: var(--paper);
            color: var(--ink);
            margin: 0;
        }

        .lg-wrap {
            display: grid;
            grid-template-columns: 1fr 1.05fr;
            min-height: 100vh;
        }
        @media (max-width: 992px) { .lg-wrap { grid-template-columns: 1fr; } }

        /* ============== LEFT — BRAND PANE ============== */
        .lg-left {
            position: relative;
            color: #fff;
            padding: 56px 56px 48px;
            background:
                radial-gradient(900px 600px at 80% 20%, rgba(242, 122, 26, 0.22) 0%, transparent 60%),
                radial-gradient(700px 500px at 10% 95%, rgba(214, 28, 28, 0.18) 0%, transparent 70%),
                linear-gradient(135deg, #0a1124 0%, #111a36 60%, #1c1430 100%);
            overflow: hidden;
            isolation: isolate;
            display: flex;
            flex-direction: column;
        }
        .lg-left::before {
            content: '';
            position: absolute; inset: 0;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.16'/></svg>");
            mix-blend-mode: overlay;
            opacity: 0.5; z-index: 0;
        }
        .lg-left::after {
            content: '';
            position: absolute; inset: 0;
            background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
            background-size: 22px 22px;
            mask-image: radial-gradient(ellipse 60% 50% at 80% 30%, #000 30%, transparent 70%);
            -webkit-mask-image: radial-gradient(ellipse 60% 50% at 80% 30%, #000 30%, transparent 70%);
            z-index: 0;
        }
        .lg-left > * { position: relative; z-index: 2; }

        .lg-back {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: auto;
            transition: color .18s ease, gap .18s ease;
            align-self: flex-start;
        }
        .lg-back:hover { color: #fff; gap: 8px; }

        .lg-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 205, 46, 0.1);
            border: 1px solid rgba(255, 205, 46, 0.35);
            color: var(--gold);
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 2.2px;
            padding: 6px 12px;
            border-radius: 999px;
            text-transform: uppercase;
            margin: 48px 0 18px;
            align-self: flex-start;
        }
        .lg-eyebrow .dot {
            width: 6px; height: 6px; border-radius: 50%;
            background: var(--orange);
            animation: lgPulse 1.6s ease-out infinite;
        }
        @keyframes lgPulse {
            0%,100% { box-shadow: 0 0 0 0 rgba(242, 122, 26, 0.55); }
            50%     { box-shadow: 0 0 0 7px rgba(242, 122, 26, 0); }
        }

        .lg-headline {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 800;
            font-size: clamp(2rem, 4.4vw, 3.4rem);
            line-height: 1.02;
            letter-spacing: -0.03em;
            margin: 0 0 18px;
            color: #fff;
        }
        .lg-headline .accent {
            background: linear-gradient(180deg, #ffd086 0%, var(--orange-2) 50%, var(--orange) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .lg-sub {
            font-size: 1rem;
            line-height: 1.55;
            color: rgba(255,255,255,0.72);
            max-width: 460px;
            margin: 0 0 36px;
        }

        .lg-perks {
            display: flex;
            flex-direction: column;
            gap: 14px;
            max-width: 460px;
            margin-bottom: 40px;
        }
        .lg-perk {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 16px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 14px;
            transition: background .2s ease, border-color .2s ease;
        }
        .lg-perk:hover { background: rgba(255,255,255,0.07); border-color: rgba(242, 122, 26, 0.35); }
        .lg-perk .ico {
            flex-shrink: 0;
            width: 36px; height: 36px;
            display: flex; align-items: center; justify-content: center;
            background: rgba(242, 122, 26, 0.15);
            border: 1px solid rgba(242, 122, 26, 0.35);
            border-radius: 9px;
            color: var(--orange-2);
            font-size: 1rem;
        }
        .lg-perk span {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 600;
            font-size: 0.92rem;
            color: rgba(255,255,255,0.85);
            letter-spacing: -0.005em;
        }

        .lg-brand-foot {
            display: flex; align-items: center; gap: 12px;
            margin-top: auto;
            padding-top: 24px;
            border-top: 1px solid rgba(255,255,255,0.08);
        }
        .lg-brand-foot img { height: 36px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
        .lg-brand-foot .wm { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
        .lg-brand-foot .wm .name {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 800;
            font-size: 0.95rem;
            color: #fff;
            letter-spacing: -0.01em;
        }
        .lg-brand-foot .wm .tag {
            font-size: 0.6rem;
            color: rgba(255,255,255,0.5);
            letter-spacing: 1.5px;
            text-transform: uppercase;
            font-weight: 600;
        }

        @media (max-width: 992px) {
            .lg-left { padding: 36px 28px 32px; }
            .lg-eyebrow { margin-top: 28px; }
            .lg-perks { display: none; }
            .lg-headline { font-size: clamp(1.6rem, 6vw, 2.4rem); }
            .lg-back { display: none; }
        }

        /* ============== RIGHT — FORM PANE ============== */
        .lg-right {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 56px;
            background:
                radial-gradient(800px 500px at 90% -10%, rgba(242, 122, 26, 0.05) 0%, transparent 60%),
                var(--paper);
        }
        @media (max-width: 992px) { .lg-right { padding: 36px 24px; } }
        @media (max-width: 576px) { .lg-right { padding: 28px 18px; } }

        .lg-form-wrap { width: 100%; max-width: 460px; }

        .lg-form-head { margin-bottom: 28px; }
        .lg-form-head .crumb {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 1.6px;
            text-transform: uppercase;
            color: var(--orange);
            margin-bottom: 8px;
        }
        .lg-form-head .crumb::before { content: ''; width: 22px; height: 2px; background: var(--orange); }
        .lg-form-head h2 {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 800;
            font-size: clamp(1.7rem, 3vw, 2.1rem);
            color: var(--ink);
            margin: 0 0 6px;
            letter-spacing: -0.025em;
            line-height: 1.1;
        }
        .lg-form-head p {
            font-size: 0.95rem;
            color: var(--muted);
            margin: 0;
            line-height: 1.5;
        }

        /* Alerts */
        .lg-alert {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            padding: 14px 16px;
            border-radius: 12px;
            margin-bottom: 22px;
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .lg-alert .ico {
            flex-shrink: 0;
            width: 32px; height: 32px;
            display: flex; align-items: center; justify-content: center;
            background: rgba(255,255,255,0.6);
            border-radius: 9px;
            font-size: 1.1rem;
        }
        .lg-alert.danger {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            border: 1px solid #fca5a5;
            color: #991b1b;
        }
        .lg-alert.danger .ico { color: #991b1b; }
        .lg-alert.warning {
            background: linear-gradient(135deg, #fff8eb 0%, #fef0c7 100%);
            border: 1px solid #fcd34d;
            color: #92400e;
        }
        .lg-alert.warning .ico { color: #92400e; }

        /* Fields */
        .lg-field { margin-bottom: 16px; }
        .lg-field label {
            display: block;
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 6px;
            letter-spacing: 0.2px;
        }
        .lg-input-wrap {
            position: relative;
            display: flex;
            align-items: center;
        }
        .lg-input-wrap .pre-ico {
            position: absolute;
            left: 14px;
            color: var(--muted);
            font-size: 0.95rem;
            pointer-events: none;
        }
        .lg-input {
            width: 100%;
            padding: 13px 14px 13px 42px;
            background: #fff;
            border: 1.5px solid var(--line);
            border-radius: 11px;
            font-family: 'Manrope', sans-serif;
            font-size: 0.95rem;
            color: var(--ink);
            transition: border-color .18s ease, box-shadow .18s ease;
            outline: none;
        }
        .lg-input:focus {
            border-color: var(--orange);
            box-shadow: 0 0 0 4px rgba(242, 122, 26, 0.15);
        }
        .lg-input::placeholder { color: #a8a294; font-weight: 500; }
        .lg-toggle-pwd {
            position: absolute;
            right: 10px;
            background: none;
            border: none;
            padding: 6px 8px;
            color: var(--muted);
            cursor: pointer;
            font-size: 1rem;
            border-radius: 6px;
            transition: color .15s ease, background .15s ease;
        }
        .lg-toggle-pwd:hover { color: var(--orange); background: rgba(242, 122, 26, 0.08); }

        .lg-field-help {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.78rem;
            color: var(--muted);
            margin-top: -6px;
            margin-bottom: 14px;
        }
        .lg-field-help i { color: var(--orange); font-size: 0.85rem; }

        /* Submit */
        .lg-submit {
            width: 100%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 13px 22px;
            background: linear-gradient(135deg, var(--orange) 0%, #d86815 100%);
            color: #fff;
            font-family: 'Manrope', sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
            letter-spacing: 0.2px;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            box-shadow: 0 14px 30px -10px rgba(242, 122, 26, 0.55);
            transition: transform .18s ease, box-shadow .18s ease;
            margin-top: 6px;
        }
        .lg-submit:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 18px 36px -10px rgba(242, 122, 26, 0.7);
        }
        .lg-submit:disabled { opacity: 0.7; cursor: wait; }

        .lg-row-options {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            margin-top: -8px;
            margin-bottom: 16px;
        }
        .lg-forgot {
            font-size: 0.85rem;
            color: var(--orange);
            font-weight: 600;
            text-decoration: none;
            border-bottom: 1px dashed rgba(242, 122, 26, 0.4);
            background: none; border: none; padding: 0; cursor: pointer;
            font-family: 'Manrope', sans-serif;
        }
        .lg-forgot:hover { color: #d86815; }

        /* Divider */
        .lg-divider {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 24px 0;
            color: var(--muted);
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        .lg-divider::before, .lg-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--line);
        }

        /* Register CTA */
        .lg-register-cta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            padding: 16px 18px;
            background: linear-gradient(135deg, #fff8ee 0%, #fff2e0 100%);
            border: 1px solid #f3d59a;
            border-radius: 14px;
            text-decoration: none;
            color: var(--ink);
            transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
        }
        .lg-register-cta:hover {
            transform: translateY(-2px);
            border-color: var(--orange);
            box-shadow: 0 14px 28px -16px rgba(242, 122, 26, 0.5);
            color: var(--ink);
        }
        .lg-register-cta .text strong {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 700;
            font-size: 0.96rem;
            display: block;
            color: var(--ink);
            margin-bottom: 2px;
            letter-spacing: -0.01em;
        }
        .lg-register-cta .text span { font-size: 0.82rem; color: var(--muted); }
        .lg-register-cta .arrow {
            flex-shrink: 0;
            width: 36px; height: 36px;
            display: flex; align-items: center; justify-content: center;
            background: var(--orange);
            color: #fff;
            border-radius: 50%;
            font-size: 0.95rem;
            transition: transform .2s ease;
        }
        .lg-register-cta:hover .arrow { transform: translateX(3px); }

        .lg-back-mobile {
            display: none;
            margin-top: 18px;
            text-align: center;
        }
        .lg-back-mobile a {
            color: var(--muted);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 600;
        }
        .lg-back-mobile a:hover { color: var(--ink); }
        @media (max-width: 992px) { .lg-back-mobile { display: block; } }

        /* ============== FORGOT PASSWORD MODAL ============== */
        .fg-modal-content {
            border-radius: 18px;
            border: none;
            background: var(--paper);
            box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
            overflow: hidden;
        }
        .fg-modal-head {
            position: relative;
            padding: 22px 26px;
            color: #fff;
            background:
                radial-gradient(600px 300px at 80% 20%, rgba(242, 122, 26, 0.25) 0%, transparent 60%),
                linear-gradient(135deg, #0a1124 0%, #111a36 100%);
        }
        .fg-modal-head::after {
            content: '';
            position: absolute; left: 0; right: 0; bottom: -1px;
            height: 2px;
            background: linear-gradient(90deg, transparent 0%, var(--orange) 50%, transparent 100%);
        }
        .fg-modal-head h5 {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 800;
            font-size: 1.15rem;
            margin: 0;
            display: flex; align-items: center; gap: 8px;
            letter-spacing: -0.01em;
        }
        .fg-modal-head h5 i { color: var(--orange-2); }
        .fg-modal-head .btn-close-x {
            position: absolute;
            right: 18px; top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.15);
            color: #fff;
            width: 30px; height: 30px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            transition: background .15s ease;
        }
        .fg-modal-head .btn-close-x:hover { background: rgba(255,255,255,0.15); }
        .fg-modal-body { padding: 24px 26px; }
        .fg-modal-body p { font-size: 0.9rem; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
        .fg-status { margin-top: 12px; min-height: 1.2em; font-size: 0.85rem; font-weight: 600; }
        .fg-status .text-success { color: var(--success) !important; }
        .fg-status .text-danger { color: var(--danger) !important; }
        .fg-modal-foot {
            padding: 14px 26px 22px;
            display: flex; gap: 10px; justify-content: flex-end;
        }
        .fg-btn-cancel {
            padding: 10px 18px;
            background: transparent;
            border: 1.5px solid var(--line);
            border-radius: 10px;
            font-family: 'Manrope', sans-serif;
            font-weight: 600;
            color: var(--muted);
            cursor: pointer;
        }
        .fg-btn-cancel:hover { border-color: var(--ink); color: var(--ink); }
        .fg-btn-send {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 10px 20px;
            background: linear-gradient(135deg, var(--orange) 0%, #d86815 100%);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-family: 'Manrope', sans-serif;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 10px 22px -10px rgba(242, 122, 26, 0.55);
        }
        .fg-btn-send:hover:not(:disabled) { transform: translateY(-1px); }
        .fg-btn-send:disabled { opacity: 0.7; cursor: wait; }
