
        /* =========================================================
           ROOT VARIABLES
        ========================================================= */

        :root {
            --navy: var(--brand-primary);
            --navy-light: var(--brand-primary-light);
            --navy-dark: var(--brand-primary-dark);
            --navy-darker: var(--brand-primary-dark);

            --gold: var(--brand-secondary);
            --gold-light: var(--brand-secondary-light);
            --gold-dark: var(--brand-secondary-dark);
            --gold-soft: var(--brand-secondary-soft);

            --white: #ffffff;
            --background: #f5f7fa;
            --surface: #ffffff;
            --surface-soft: #f8f9fb;

            --text: var(--brand-text);
            --text-secondary: var(--brand-text-secondary);
            --text-light: #98a2b3;

            --border: var(--brand-border);
            --border-dark: #d0d5dd;

            --success: var(--brand-success);
            --success-soft: #eaf8f2;

            --danger: var(--brand-danger);
            --danger-soft: #fff0ee;

            --warning: var(--brand-warning);
            --warning-soft: #fff7e8;

            --info: var(--brand-info);
            --info-soft: #edf4ff;

            --shadow-xs: 0 2px 8px rgba(10, 20, 40, 0.04);
            --shadow-sm: 0 10px 28px rgba(10, 20, 40, 0.07);
            --shadow-md: 0 18px 50px rgba(10, 20, 40, 0.11);
            --shadow-lg: 0 35px 90px rgba(10, 20, 40, 0.16);

            --radius-sm: 10px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --radius-pill: 999px;

            --container: 1180px;

            --transition-fast: 160ms ease;
            --transition: 240ms ease;
            --transition-slow: 450ms ease;
        }


        /* =========================================================
           RESET
        ========================================================= */

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

        html {
            scroll-behavior: smooth;
        }

        body {
            min-height: 100vh;
            overflow-x: hidden;
            color: var(--text);
            background: var(--background);
            font-family: "Alexandria", sans-serif;
            line-height: 1.8;
            text-rendering: optimizeLegibility;
            -webkit-font-smoothing: antialiased;
        }

        body.menu-open {
            overflow: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button,
        input {
            font: inherit;
        }

        button {
            border: 0;
            cursor: pointer;
        }

        input {
            width: 100%;
        }

        img {
            display: block;
            max-width: 100%;
        }

        ul {
            list-style: none;
        }

        ::selection {
            color: var(--navy-dark);
            background: var(--gold-light);
        }

        :focus-visible {
            outline: 3px solid rgba(198, 146, 20, 0.30);
            outline-offset: 3px;
        }


        /* =========================================================
           GENERAL
        ========================================================= */

        .container {
            width: min(calc(100% - 40px), var(--container));
            margin-inline: auto;
        }

        .hidden {
            display: none !important;
        }


        /* =========================================================
           BUTTONS
        ========================================================= */

        .btn {
            display: inline-flex;
            min-height: 50px;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 12px 22px;
            color: inherit;
            background: transparent;
            border: 1px solid transparent;
            border-radius: 13px;
            font-size: 0.84rem;
            font-weight: 700;
            white-space: nowrap;
            transition:
                color var(--transition),
                background-color var(--transition),
                border-color var(--transition),
                box-shadow var(--transition),
                transform var(--transition);
        }

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

        .btn:disabled {
            cursor: not-allowed;
            opacity: 0.58;
            transform: none;
        }

        .btn-primary {
            color: var(--white);
            background: var(--navy);
            box-shadow: 0 10px 24px rgba(20, 33, 61, 0.20);
        }

        .btn-primary:hover:not(:disabled) {
            background: var(--navy-light);
            box-shadow: 0 14px 30px rgba(20, 33, 61, 0.26);
        }

        .btn-gold {
            color: var(--navy-dark);
            background: var(--gold);
            box-shadow: 0 10px 24px rgba(198, 146, 20, 0.22);
        }

        .btn-gold:hover:not(:disabled) {
            background: var(--gold-light);
        }

        .btn-outline {
            color: var(--navy);
            background: var(--white);
            border-color: var(--border-dark);
        }

        .btn-outline:hover {
            color: var(--white);
            background: var(--navy);
            border-color: var(--navy);
        }

        .btn-soft {
            color: var(--navy);
            background: var(--surface-soft);
            border-color: var(--border);
        }

        .btn-soft:hover {
            background: var(--gold-soft);
            border-color: rgba(198, 146, 20, 0.28);
        }

        .btn-sm {
            min-height: 42px;
            padding: 9px 16px;
            border-radius: 11px;
            font-size: 0.77rem;
        }

        .btn-lg {
            min-height: 57px;
            padding: 14px 26px;
            border-radius: 15px;
            font-size: 0.9rem;
        }

        .btn-full {
            width: 100%;
        }

        .button-loader {
            display: none;
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255, 255, 255, 0.35);
            border-top-color: var(--white);
            border-radius: 50%;
            animation: spin 700ms linear infinite;
        }

        .btn.loading .button-loader {
            display: inline-block;
        }

        .btn.loading .button-text,
        .btn.loading .button-icon {
            display: none;
        }

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


        /* =========================================================
           TOP BAR
        ========================================================= */

        .topbar {
            position: relative;
            z-index: 1100;
            color: rgba(255, 255, 255, 0.82);
            background: var(--navy-dark);
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
            font-size: 0.73rem;
        }

        .topbar-content {
            display: flex;
            min-height: 40px;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .topbar-message,
        .topbar-links {
            display: flex;
            align-items: center;
            gap: 18px;
        }

        .topbar i {
            color: var(--gold-light);
        }

        .topbar-link {
            transition: color var(--transition-fast);
        }

        .topbar-link:hover {
            color: var(--gold-light);
        }


        /* =========================================================
           NAVBAR
        ========================================================= */

        .navbar {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.96);
            border-bottom: 1px solid transparent;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            transition:
                background-color var(--transition),
                border-color var(--transition),
                box-shadow var(--transition);
        }

        .navbar.scrolled {
            background: rgba(255, 255, 255, 0.99);
            border-color: var(--border);
            box-shadow: var(--shadow-sm);
        }

        .navbar-content {
            display: grid;
            grid-template-columns: auto 1fr auto;
            min-height: 82px;
            align-items: center;
            gap: 34px;
        }

        .logo {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .logo-mark {
            position: relative;
            display: grid;
            width: 46px;
            height: 46px;
            place-items: center;
            overflow: hidden;
            color: var(--navy-dark);
            background: var(--gold);
            border-radius: 14px;
            box-shadow: 0 10px 24px rgba(198, 146, 20, 0.18);
        }

        .logo-mark::before {
            position: absolute;
            inset: 6px;
            border: 1px solid rgba(9, 20, 38, 0.18);
            border-radius: 9px;
            content: "";
        }

        .logo-mark i {
            position: relative;
            z-index: 1;
            font-size: 1.25rem;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.15;
        }

        .logo-name {
            color: var(--navy-dark);
            font-size: 1.28rem;
            font-weight: 800;
            letter-spacing: -0.04em;
        }

        .logo-tagline {
            margin-top: 5px;
            color: var(--text-secondary);
            font-size: 0.58rem;
            font-weight: 500;
        }

        .nav-center-message {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            color: var(--text-secondary);
            font-size: 0.71rem;
            font-weight: 600;
        }

        .nav-center-message i {
            color: var(--success);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 9px;
        }

        .menu-toggle {
            display: none;
            width: 46px;
            height: 46px;
            color: var(--navy);
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 12px;
            font-size: 1.15rem;
        }


        /* =========================================================
           MOBILE DRAWER
        ========================================================= */

        .mobile-overlay {
            position: fixed;
            z-index: 1998;
            inset: 0;
            visibility: hidden;
            background: rgba(5, 13, 25, 0.62);
            opacity: 0;
            backdrop-filter: blur(4px);
            transition:
                opacity var(--transition),
                visibility var(--transition);
        }

        .mobile-overlay.active {
            visibility: visible;
            opacity: 1;
        }

        .mobile-drawer {
            position: fixed;
            top: 0;
            right: 0;
            z-index: 1999;
            width: min(88%, 370px);
            height: 100dvh;
            overflow-y: auto;
            background: var(--white);
            box-shadow: var(--shadow-lg);
            transform: translateX(105%);
            transition: transform var(--transition-slow);
        }

        .mobile-drawer.active {
            transform: translateX(0);
        }

        .drawer-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px;
            border-bottom: 1px solid var(--border);
        }

        .drawer-close {
            display: grid;
            width: 42px;
            height: 42px;
            place-items: center;
            color: var(--navy);
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 11px;
        }

        .drawer-body {
            padding: 18px;
        }

        .drawer-links {
            display: grid;
            gap: 7px;
        }

        .drawer-link {
            display: flex;
            min-height: 50px;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            padding: 10px 14px;
            color: var(--text);
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 11px;
            font-size: 0.79rem;
            font-weight: 600;
        }

        .drawer-link i {
            color: var(--gold-dark);
        }

        .drawer-note {
            margin-top: 18px;
            padding: 16px;
            color: var(--text-secondary);
            background: var(--gold-soft);
            border: 1px solid rgba(198, 146, 20, 0.20);
            border-radius: 14px;
            font-size: 0.7rem;
            line-height: 1.85;
        }


        /* =========================================================
           AUTH SECTION
        ========================================================= */

        .auth-section {
            position: relative;
            min-height: calc(100vh - 122px);
            overflow: hidden;
            background:
                linear-gradient(
                    90deg,
                    var(--background) 0%,
                    var(--background) 52%,
                    var(--navy-dark) 52%,
                    var(--navy-dark) 100%
                );
        }

        .auth-section::before {
            position: absolute;
            top: -250px;
            left: -190px;
            width: 600px;
            height: 600px;
            background: rgba(198, 146, 20, 0.08);
            border-radius: 50%;
            content: "";
        }

        .auth-section::after {
            position: absolute;
            right: -260px;
            bottom: -320px;
            width: 720px;
            height: 720px;
            border: 90px solid rgba(255, 255, 255, 0.025);
            border-radius: 50%;
            content: "";
        }

        .auth-grid-pattern {
            position: absolute;
            top: 0;
            right: 0;
            width: 48%;
            height: 100%;
            opacity: 0.22;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
            background-size: 48px 48px;
            pointer-events: none;
        }

        .auth-layout {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(400px, 0.88fr);
            min-height: calc(100vh - 122px);
            align-items: center;
            gap: 80px;
            padding-block: 60px;
        }


        /* =========================================================
           AUTH FORM SIDE
        ========================================================= */

        .auth-form-column {
            width: 100%;
            max-width: 570px;
            justify-self: start;
        }

        .breadcrumbs {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 9px;
            margin-bottom: 18px;
            color: var(--text-light);
            font-size: 0.67rem;
        }

        .breadcrumbs a {
            transition: color var(--transition-fast);
        }

        .breadcrumbs a:hover {
            color: var(--gold-dark);
        }

        .breadcrumbs i {
            color: var(--gold-dark);
            font-size: 0.52rem;
        }

        .auth-card {
            overflow: hidden;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 27px;
            box-shadow: var(--shadow-md);
        }

        .auth-card-header {
            padding: 30px 32px 24px;
            border-bottom: 1px solid var(--border);
        }

        .auth-icon {
            display: grid;
            width: 62px;
            height: 62px;
            margin-bottom: 20px;
            place-items: center;
            color: var(--navy-dark);
            background: var(--gold);
            border: 8px solid var(--gold-soft);
            border-radius: 20px;
            font-size: 1.35rem;
        }

        .auth-title {
            margin-bottom: 8px;
            color: var(--navy-dark);
            font-size: clamp(1.55rem, 3vw, 2.1rem);
            font-weight: 800;
            line-height: 1.35;
            letter-spacing: -0.035em;
        }

        .auth-description {
            color: var(--text-secondary);
            font-size: 0.72rem;
            line-height: 1.9;
        }

        .auth-card-body {
            padding: 28px 32px 31px;
        }


        /* =========================================================
           METHOD TABS
        ========================================================= */

        .method-tabs {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 7px;
            margin-bottom: 24px;
            padding: 6px;
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 14px;
        }

        .method-tab {
            display: flex;
            min-height: 45px;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: var(--text-secondary);
            background: transparent;
            border-radius: 10px;
            font-size: 0.68rem;
            font-weight: 700;
            transition:
                color var(--transition),
                background-color var(--transition),
                box-shadow var(--transition);
        }

        .method-tab:hover {
            color: var(--navy);
        }

        .method-tab.active {
            color: var(--navy-dark);
            background: var(--white);
            box-shadow: var(--shadow-xs);
        }

        .method-tab.active i {
            color: var(--gold-dark);
        }


        /* =========================================================
           FORM
        ========================================================= */

        .recovery-panel {
            display: none;
            animation: fadePanel 260ms ease;
        }

        .recovery-panel.active {
            display: block;
        }

        @keyframes fadePanel {
            from {
                opacity: 0;
                transform: translateY(8px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-group {
            display: grid;
            gap: 8px;
            margin-bottom: 18px;
        }

        .form-label {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            color: var(--navy-dark);
            font-size: 0.7rem;
            font-weight: 700;
        }

        .required-mark {
            color: var(--danger);
        }

        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            top: 50%;
            right: 16px;
            color: var(--text-light);
            font-size: 0.84rem;
            transform: translateY(-50%);
            pointer-events: none;
            transition: color var(--transition-fast);
        }

        .form-control {
            min-height: 54px;
            padding: 12px 47px 12px 16px;
            color: var(--text);
            background: var(--white);
            border: 1px solid var(--border-dark);
            border-radius: 13px;
            font-size: 0.76rem;
            outline: none;
            transition:
                border-color var(--transition-fast),
                background-color var(--transition-fast),
                box-shadow var(--transition-fast);
        }

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

        .form-control:hover {
            border-color: #b8c0cb;
        }

        .form-control:focus {
            background: #fffdf8;
            border-color: var(--gold);
            box-shadow: 0 0 0 4px rgba(198, 146, 20, 0.11);
        }

        .input-wrapper:focus-within .input-icon {
            color: var(--gold-dark);
        }

        .form-control.is-invalid {
            background: var(--danger-soft);
            border-color: var(--danger);
            box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.07);
        }

        .form-control.is-valid {
            border-color: var(--success);
            box-shadow: 0 0 0 4px rgba(22, 138, 91, 0.06);
        }

        .field-message {
            display: none;
            align-items: center;
            gap: 6px;
            color: var(--danger);
            font-size: 0.59rem;
            line-height: 1.65;
        }

        .field-message.visible {
            display: flex;
        }

        .field-help {
            color: var(--text-light);
            font-size: 0.57rem;
            line-height: 1.7;
        }

        .form-alert {
            display: none;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 18px;
            padding: 14px 15px;
            border-radius: 13px;
            font-size: 0.64rem;
            line-height: 1.8;
        }

        .form-alert.visible {
            display: flex;
        }

        .form-alert.error {
            color: #922b21;
            background: var(--danger-soft);
            border: 1px solid rgba(217, 45, 32, 0.18);
        }

        .form-alert.info {
            color: #17478f;
            background: var(--info-soft);
            border: 1px solid rgba(39, 100, 200, 0.18);
        }

        .form-alert i {
            margin-top: 4px;
            flex-shrink: 0;
        }

        .auth-footer-link {
            margin-top: 21px;
            color: var(--text-secondary);
            text-align: center;
            font-size: 0.66rem;
        }

        .auth-footer-link a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--gold-dark);
            font-weight: 700;
            transition: color var(--transition-fast);
        }

        .auth-footer-link a:hover {
            color: var(--navy);
        }


        /* =========================================================
           SENT STATE
        ========================================================= */

        .sent-state {
            display: none;
            padding: 32px;
            text-align: center;
            animation: fadePanel 300ms ease;
        }

        .sent-state.active {
            display: block;
        }

        .sent-icon {
            position: relative;
            display: grid;
            width: 88px;
            height: 88px;
            margin: 0 auto 23px;
            place-items: center;
            color: var(--success);
            background: var(--success-soft);
            border-radius: 27px;
            font-size: 1.8rem;
        }

        .sent-icon::after {
            position: absolute;
            inset: -8px;
            border: 1px solid rgba(22, 138, 91, 0.15);
            border-radius: 32px;
            content: "";
        }

        .sent-title {
            margin-bottom: 9px;
            color: var(--navy-dark);
            font-size: 1.35rem;
            font-weight: 800;
        }

        .sent-description {
            margin-bottom: 22px;
            color: var(--text-secondary);
            font-size: 0.69rem;
            line-height: 1.9;
        }

        .delivery-box {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 21px;
            padding: 15px;
            color: var(--text-secondary);
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 14px;
            text-align: right;
        }

        .delivery-icon {
            display: grid;
            width: 43px;
            height: 43px;
            flex-shrink: 0;
            place-items: center;
            color: var(--navy);
            background: var(--gold-soft);
            border-radius: 12px;
        }

        .delivery-box strong {
            display: block;
            margin-bottom: 2px;
            color: var(--navy-dark);
            font-size: 0.65rem;
        }

        .delivery-box span {
            display: block;
            font-size: 0.58rem;
            overflow-wrap: anywhere;
        }

        .sent-actions {
            display: grid;
            gap: 10px;
        }

        .resend-section {
            margin-top: 19px;
            color: var(--text-secondary);
            font-size: 0.62rem;
        }

        .resend-button {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-right: 4px;
            color: var(--gold-dark);
            background: transparent;
            font-size: 0.62rem;
            font-weight: 700;
        }

        .resend-button:disabled {
            color: var(--text-light);
            cursor: not-allowed;
        }

        .countdown {
            color: var(--navy);
            font-weight: 700;
            direction: ltr;
        }

        .demo-code-box {
            margin-top: 18px;
            padding: 14px;
            color: #17478f;
            background: var(--info-soft);
            border: 1px solid rgba(39, 100, 200, 0.16);
            border-radius: 13px;
            font-size: 0.61rem;
            line-height: 1.8;
        }

        .demo-code-box strong {
            color: var(--navy-dark);
            direction: ltr;
        }


        /* =========================================================
           VISUAL SIDE
        ========================================================= */

        .auth-visual-column {
            color: var(--white);
        }

        .visual-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 17px;
            padding: 7px 13px;
            color: var(--gold-light);
            background: rgba(198, 146, 20, 0.10);
            border: 1px solid rgba(228, 184, 62, 0.22);
            border-radius: var(--radius-pill);
            font-size: 0.68rem;
            font-weight: 700;
        }

        .visual-label::before {
            width: 7px;
            height: 7px;
            background: var(--gold);
            border-radius: 50%;
            content: "";
        }

        .visual-title {
            max-width: 520px;
            margin-bottom: 14px;
            font-size: clamp(2rem, 4vw, 3.3rem);
            font-weight: 800;
            line-height: 1.32;
            letter-spacing: -0.045em;
        }

        .visual-title span {
            color: var(--gold);
        }

        .visual-description {
            max-width: 530px;
            margin-bottom: 30px;
            color: rgba(255, 255, 255, 0.66);
            font-size: 0.77rem;
            line-height: 2;
        }

        .security-list {
            display: grid;
            gap: 13px;
            margin-bottom: 34px;
        }

        .security-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            color: rgba(255, 255, 255, 0.76);
            font-size: 0.68rem;
            line-height: 1.8;
        }

        .security-icon {
            display: grid;
            width: 36px;
            height: 36px;
            flex-shrink: 0;
            place-items: center;
            color: var(--navy-dark);
            background: var(--gold);
            border-radius: 11px;
        }

        .security-item strong {
            display: block;
            margin-bottom: 2px;
            color: var(--white);
            font-size: 0.69rem;
        }

        .security-item span {
            color: rgba(255, 255, 255, 0.56);
            font-size: 0.6rem;
        }

        .visual-diagram {
            position: relative;
            min-height: 270px;
            margin-top: 22px;
        }

        .visual-core {
            position: absolute;
            top: 50%;
            left: 50%;
            display: grid;
            width: 145px;
            height: 145px;
            place-items: center;
            color: var(--navy-dark);
            background: var(--gold);
            border: 14px solid rgba(255, 255, 255, 0.07);
            border-radius: 39px;
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
            font-size: 2.4rem;
            transform: translate(-50%, -50%);
        }

        .visual-card {
            position: absolute;
            display: flex;
            min-width: 175px;
            align-items: center;
            gap: 10px;
            padding: 12px;
            color: var(--text);
            background: rgba(255, 255, 255, 0.96);
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: 14px;
            box-shadow: var(--shadow-md);
            animation: floatCard 4.6s ease-in-out infinite;
        }

        .visual-card.email {
            top: 0;
            right: 0;
        }

        .visual-card.phone {
            bottom: 0;
            left: 0;
            animation-delay: -1.6s;
        }

        .visual-card.secure {
            right: 15px;
            bottom: 22px;
            animation-delay: -2.8s;
        }

        .visual-card-icon {
            display: grid;
            width: 40px;
            height: 40px;
            flex-shrink: 0;
            place-items: center;
            color: var(--navy);
            background: var(--gold-soft);
            border-radius: 11px;
        }

        .visual-card.secure .visual-card-icon {
            color: var(--success);
            background: var(--success-soft);
        }

        .visual-card strong {
            display: block;
            color: var(--navy-dark);
            font-size: 0.64rem;
        }

        .visual-card span {
            display: block;
            color: var(--text-secondary);
            font-size: 0.53rem;
        }

        @keyframes floatCard {
            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-7px);
            }
        }


        /* =========================================================
           FOOTER
        ========================================================= */

        .auth-footer {
            color: rgba(255, 255, 255, 0.55);
            background: var(--navy-darker);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .auth-footer-content {
            display: flex;
            min-height: 72px;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            font-size: 0.63rem;
        }

        .auth-footer-links {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
        }

        .auth-footer-links a {
            transition: color var(--transition-fast);
        }

        .auth-footer-links a:hover {
            color: var(--gold-light);
        }


        /* =========================================================
           TOAST
        ========================================================= */

        .toast {
            position: fixed;
            right: 24px;
            bottom: 24px;
            z-index: 3000;
            display: flex;
            visibility: hidden;
            max-width: 360px;
            align-items: center;
            gap: 11px;
            padding: 14px 16px;
            color: var(--white);
            background: var(--navy-dark);
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: 13px;
            box-shadow: var(--shadow-lg);
            opacity: 0;
            transform: translateY(18px);
            transition:
                visibility var(--transition),
                opacity var(--transition),
                transform var(--transition);
        }

        .toast.visible {
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
        }

        .toast i {
            color: var(--gold-light);
        }

        .toast span {
            font-size: 0.63rem;
        }


        /* =========================================================
           RESPONSIVE
        ========================================================= */

        @media (max-width: 1020px) {
            .auth-layout {
                gap: 50px;
            }

            .auth-form-column {
                max-width: 520px;
            }
        }

        @media (max-width: 900px) {
            .topbar {
                display: none;
            }

            .navbar-content {
                min-height: 74px;
                grid-template-columns: auto 1fr;
            }

            .nav-center-message,
            .nav-actions {
                display: none;
            }

            .menu-toggle {
                display: grid;
                justify-self: end;
                place-items: center;
            }

            .auth-section {
                background:
                    linear-gradient(
                        180deg,
                        var(--background) 0%,
                        var(--background) 56%,
                        var(--navy-dark) 56%,
                        var(--navy-dark) 100%
                    );
            }

            .auth-grid-pattern {
                top: 56%;
                width: 100%;
                height: 44%;
            }

            .auth-layout {
                grid-template-columns: 1fr;
                min-height: auto;
                gap: 65px;
                padding-block: 55px 70px;
            }

            .auth-form-column {
                max-width: 620px;
                justify-self: center;
            }

            .auth-visual-column {
                width: min(100%, 650px);
                margin-inline: auto;
                text-align: center;
            }

            .visual-title,
            .visual-description {
                margin-inline: auto;
            }

            .security-list {
                max-width: 520px;
                margin-inline: auto;
                text-align: right;
            }

            .visual-diagram {
                width: min(100%, 580px);
                margin-inline: auto;
            }
        }

        @media (max-width: 650px) {
            .container {
                width: min(calc(100% - 28px), var(--container));
            }

            .logo-mark {
                width: 42px;
                height: 42px;
            }

            .logo-name {
                font-size: 1.14rem;
            }

            .logo-tagline {
                display: none;
            }

            .auth-layout {
                padding-block: 40px 60px;
            }

            .auth-card {
                border-radius: 22px;
            }

            .auth-card-header,
            .auth-card-body,
            .sent-state {
                padding-inline: 21px;
            }

            .auth-card-header {
                padding-top: 25px;
            }

            .method-tabs {
                grid-template-columns: 1fr;
            }

            .visual-title {
                font-size: 2rem;
            }

            .visual-diagram {
                min-height: 330px;
            }

            .visual-card.email {
                top: 0;
                right: 0;
            }

            .visual-card.phone {
                bottom: 0;
                left: 0;
            }

            .visual-card.secure {
                right: 0;
                bottom: 72px;
            }

            .auth-footer-content {
                flex-direction: column;
                justify-content: center;
                padding-block: 20px;
                text-align: center;
            }

            .auth-footer-links {
                justify-content: center;
            }

            .toast {
                right: 14px;
                bottom: 14px;
                left: 14px;
                max-width: none;
            }
        }

        @media (max-width: 440px) {
            .visual-card {
                min-width: 145px;
            }

            .visual-card span {
                display: none;
            }

            .visual-core {
                width: 120px;
                height: 120px;
                border-radius: 32px;
                font-size: 2rem;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                scroll-behavior: auto !important;
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* =========================================================
           2026 MODERN AUTH REDESIGN
        ========================================================= */
        :root {
            --navy: #102447;
            --navy-light: #173665;
            --navy-dark: #08162e;
            --gold: #d7a928;
            --gold-light: #f0c956;
            --background: #f3f6fb;
            --text: #15213a;
            --text-secondary: #647089;
            --border: #dfe5ef;
            --shadow-lg: 0 28px 80px rgba(8, 22, 46, .18);
        }

        body {
            background:
                radial-gradient(circle at 12% 18%, rgba(215,169,40,.12), transparent 25rem),
                radial-gradient(circle at 90% 80%, rgba(28,67,124,.12), transparent 30rem),
                var(--background);
        }

        .topbar { background: #07152c; }
        .topbar-content { min-height: 38px; font-size: .72rem; }

        .navbar {
            background: rgba(255,255,255,.82);
            border-bottom: 1px solid rgba(214,222,235,.82);
            box-shadow: 0 8px 30px rgba(16,36,71,.06);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
        }

        .navbar-content { min-height: 82px; }
        .logo-mark {
            background: linear-gradient(145deg, var(--navy), #1e477f);
            box-shadow: 0 10px 24px rgba(16,36,71,.22);
        }
        .logo-name { font-size: 1.28rem; }
        .logo-tagline { font-size: .63rem; }
        .nav-center-message { font-size: .78rem; }

        .auth-section {
            position: relative;
            isolation: isolate;
            background: linear-gradient(125deg, #f5f8fc 0 54%, #0a1a36 54% 100%);
        }

        .auth-section::before,
        .auth-section::after {
            position: absolute;
            z-index: -1;
            content: "";
            border-radius: 50%;
            filter: blur(2px);
        }
        .auth-section::before {
            width: 420px; height: 420px; top: -190px; right: 42%;
            background: rgba(215,169,40,.09);
        }
        .auth-section::after {
            width: 320px; height: 320px; bottom: -150px; left: -80px;
            background: rgba(215,169,40,.08);
        }
        .auth-grid-pattern { opacity: .12; }
        .auth-layout {
            min-height: calc(100vh - 192px);
            grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
            gap: clamp(55px, 7vw, 110px);
            padding-block: 64px 76px;
        }
        .auth-form-column { max-width: 580px; }
        .breadcrumbs { margin-bottom: 18px; font-size: .72rem; }

        .auth-card {
            overflow: hidden;
            background: rgba(255,255,255,.9);
            border: 1px solid rgba(255,255,255,.92);
            border-radius: 28px;
            box-shadow: 0 30px 75px rgba(25,45,78,.14);
            backdrop-filter: blur(22px);
            -webkit-backdrop-filter: blur(22px);
        }
        .auth-card::before {
            height: 5px;
            background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--navy));
        }
        .auth-card-header { padding: 34px 38px 20px; }
        .auth-card-body { padding: 12px 38px 38px; }
        .auth-icon {
            width: 64px; height: 64px;
            color: #fff;
            background: linear-gradient(145deg, var(--navy), #28558f);
            border: 7px solid #edf2f9;
            border-radius: 20px;
            box-shadow: 0 14px 30px rgba(16,36,71,.22);
            font-size: 1.25rem;
        }
        .auth-title { margin-top: 20px; font-size: clamp(1.7rem, 3vw, 2.15rem); letter-spacing: -.04em; }
        .auth-description { max-width: 470px; margin-top: 9px; font-size: .88rem; line-height: 1.9; }

        .method-tabs {
            gap: 6px; padding: 6px; margin-bottom: 26px;
            background: #edf1f7; border: 0; border-radius: 16px;
        }
        .method-tab {
            min-height: 52px; border: 0; border-radius: 12px;
            font-size: .79rem; font-weight: 700;
        }
        .method-tab.active {
            color: var(--navy); background: #fff;
            box-shadow: 0 6px 18px rgba(16,36,71,.1);
        }
        .method-tab i { font-size: 1rem; }

        .form-label { margin-bottom: 9px; font-size: .82rem; }
        .form-control {
            height: 60px; padding-inline: 52px 16px;
            color: var(--navy-dark); background: #f9fbfd;
            border: 1.5px solid #dce3ed; border-radius: 15px;
            font-size: .9rem; font-weight: 500;
        }
        .form-control:hover { border-color: #b8c4d6; background: #fff; }
        .form-control:focus {
            background: #fff; border-color: var(--gold);
            box-shadow: 0 0 0 4px rgba(215,169,40,.13);
        }
        .input-icon { inset-inline-start: 19px; font-size: 1.05rem; }
        .field-help { margin-top: 9px; font-size: .68rem; line-height: 1.7; }
        .btn-lg { min-height: 60px; border-radius: 15px; font-size: .88rem; }
        .btn-primary {
            background: linear-gradient(135deg, var(--navy), #1d477f);
            box-shadow: 0 14px 28px rgba(16,36,71,.22);
        }
        .btn-primary:hover:not(:disabled) {
            background: linear-gradient(135deg, #173563, #285b99);
            transform: translateY(-2px);
        }
        .auth-footer-link { margin-top: 24px; font-size: .73rem; }
        .form-alert { border-radius: 14px; font-size: .72rem; }

        .auth-visual-column { padding-block: 20px; }
        .visual-label {
            padding: 8px 13px; color: var(--gold-light);
            background: rgba(215,169,40,.1); border: 1px solid rgba(240,201,86,.25);
            border-radius: 999px; font-size: .7rem;
        }
        .visual-title { max-width: 520px; margin-top: 18px; font-size: clamp(2.45rem, 4.2vw, 4rem); line-height: 1.25; letter-spacing: -.055em; }
        .visual-description { max-width: 520px; font-size: .9rem; line-height: 2; }
        .security-list { gap: 10px; margin-top: 28px; }
        .security-item {
            padding: 14px 15px; background: rgba(255,255,255,.06);
            border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
            transition: transform .2s ease, background .2s ease;
        }
        .security-item:hover { background: rgba(255,255,255,.1); transform: translateX(-4px); }
        .security-icon { width: 44px; height: 44px; border-radius: 13px; }
        .security-item strong { font-size: .78rem; }
        .security-item div > span { font-size: .66rem; }

        .visual-title,
        .visual-title span,
        .visual-description,
        .security-item strong,
        .security-item div > span {
            color: #000000;
        }

        .auth-visual-column {
            padding: 34px;
            background: rgba(255, 255, 255, .91);
            border: 1px solid rgba(255, 255, 255, .92);
            border-radius: 30px;
            box-shadow: 0 28px 70px rgba(0, 0, 0, .16);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
        }

        .security-item,
        .security-item:hover {
            background: rgba(255, 255, 255, .76);
            border-color: rgba(16, 36, 71, .12);
        }
        .visual-diagram { min-height: 250px; margin-top: 22px; }
        .visual-core {
            width: 132px; height: 132px; border-radius: 38px;
            background: linear-gradient(145deg, var(--gold-light), var(--gold));
            box-shadow: 0 25px 55px rgba(0,0,0,.25), 0 0 0 14px rgba(255,255,255,.04);
        }
        .visual-card { min-width: 190px; padding: 13px; border-radius: 16px; }
        .visual-card strong { font-size: .69rem; }
        .visual-card span { font-size: .57rem; }

        .sent-state { padding: 48px 38px; }
        .sent-icon { width: 76px; height: 76px; border-radius: 23px; }
        .sent-title { font-size: 1.55rem; }
        .delivery-box { border-radius: 16px; }
        .demo-code-box { border-radius: 14px; }

        /* Gold icon backgrounds */
        .logo-mark,
        .auth-icon,
        .security-icon,
        .visual-card-icon,
        .visual-card.secure .visual-card-icon,
        .delivery-icon,
        .sent-icon {
            color: var(--navy-dark);
            background: linear-gradient(145deg, var(--gold-light), var(--gold));
            border-color: rgba(255, 255, 255, .72);
            box-shadow: 0 12px 28px rgba(215, 169, 40, .26);
        }

        .logo-mark i,
        .auth-icon i,
        .security-icon i,
        .visual-card-icon i,
        .delivery-icon i,
        .sent-icon i {
            color: var(--navy-dark);
        }

        @media (max-width: 900px) {
            .auth-section { background: linear-gradient(180deg, #f5f8fc 0 51%, #0a1a36 51% 100%); }
            .auth-layout { grid-template-columns: 1fr; gap: 70px; padding-block: 48px 70px; }
            .auth-form-column { width: 100%; max-width: 620px; }
            .auth-visual-column { padding-bottom: 0; }
        }

        @media (max-width: 650px) {
            .auth-layout { padding-top: 30px; }
            .breadcrumbs { display: none; }
            .auth-card { border-radius: 22px; }
            .auth-card-header { padding: 27px 22px 16px; }
            .auth-card-body { padding: 10px 22px 27px; }
            .auth-title { font-size: 1.7rem; }
            .auth-icon { width: 58px; height: 58px; border-radius: 18px; }
            .method-tabs { grid-template-columns: 1fr 1fr; }
            .method-tab { padding-inline: 8px; font-size: .7rem; }
            .visual-title { font-size: 2.35rem; }
            .visual-description { font-size: .8rem; }
            .visual-diagram { min-height: 310px; }
            .sent-state { padding: 38px 22px; }
        }
    
