
        :root {
            --bg-deep: #080a10;
            --bg-main: #0c0e14;
            --bg-card: #12141c;
            --bg-input: #181b25;
            --bg-hover: #1e2130;
            --border: rgba(255,255,255,0.07);
            --border-focus: rgba(45,212,160,0.4);
            --text-primary: #eaecef;
            --text-secondary: #878da0;
            --text-muted: #4e5368;
            --accent-emerald: #2dd4a0;
            --accent-emerald-bg: rgba(45,212,160,0.1);
            --accent-sky: #38bdf8;
            --accent-sky-bg: rgba(56,189,248,0.1);
            --accent-violet: #a78bfa;
            --accent-rose: #fb7185;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-deep);
            color: var(--text-primary);
            min-height: 100vh;
            overflow-x: hidden;
        }

        ::-webkit-scrollbar { width: 5px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: #252838; border-radius: 3px; }

        /* ============ AUTH WRAPPER ============ */
        .auth-wrapper {
            display: flex;
            min-height: 100vh;
        }

        /* ============ LEFT BRANDING PANEL ============ */
        .auth-brand-panel {
            flex: 0 0 44%;
            background: var(--bg-main);
            border-right: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 48px;
            position: relative;
            overflow: hidden;
        }

        .auth-brand-panel::before {
            content: '';
            position: absolute;
            top: -120px; right: -120px;
            width: 400px; height: 400px;
            background: radial-gradient(circle, rgba(45,212,160,0.08), transparent 70%);
            pointer-events: none;
        }

        .auth-brand-panel::after {
            content: '';
            position: absolute;
            bottom: -80px; left: -80px;
            width: 300px; height: 300px;
            background: radial-gradient(circle, rgba(56,189,248,0.06), transparent 70%);
            pointer-events: none;
        }

        .brand-top { position: relative; z-index: 1; }

        .brand-logo-row {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 60px;
        }

        .brand-logo {
            width: 48px; height: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--accent-emerald), var(--accent-sky));
            display: flex; align-items: center; justify-content: center;
            font-weight: 800; font-size: 16px; color: #fff;
            box-shadow: 0 8px 24px rgba(45,212,160,0.2);
        }

        .brand-title-lg {
            font-size: 20px; font-weight: 700;
            color: var(--text-primary); line-height: 1.3;
        }

        .brand-subtitle {
            font-size: 11px; font-weight: 500;
            color: var(--accent-emerald);
            letter-spacing: 2px; text-transform: uppercase;
            margin-top: 2px;
        }

        .brand-headline {
            font-size: 32px; font-weight: 800;
            color: var(--text-primary);
            line-height: 1.2;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }

        .brand-headline span {
            background: linear-gradient(135deg, var(--accent-emerald), var(--accent-sky));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .brand-desc {
            font-size: 14.5px; color: var(--text-secondary);
            line-height: 1.7; margin-bottom: 40px;
        }

        /* Feature list */
        .brand-features { list-style: none; padding: 0; margin: 0; }

        .brand-features li {
            display: flex; align-items: flex-start; gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
        }

        .brand-features li:last-child { border-bottom: none; }

        .bf-icon {
            width: 36px; height: 36px; border-radius: 9px;
            display: flex; align-items: center; justify-content: center;
            font-size: 14px; flex-shrink: 0; margin-top: 1px;
        }

        .bf-icon.i-1 { background: var(--accent-emerald-bg); color: var(--accent-emerald); }
        .bf-icon.i-2 { background: var(--accent-sky-bg); color: var(--accent-sky); }
        .bf-icon.i-3 { background: rgba(167,139,250,0.1); color: var(--accent-violet); }

        .bf-text h6 {
            font-size: 13.5px; font-weight: 600;
            color: var(--text-primary); margin-bottom: 2px;
        }

        .bf-text p {
            font-size: 12px; color: var(--text-muted);
            margin-bottom: 0; line-height: 1.5;
        }

        .brand-bottom {
            position: relative; z-index: 1;
            padding-top: 30px;
            border-top: 1px solid var(--border);
        }

        .brand-bottom p {
            font-size: 12px; color: var(--text-muted);
            line-height: 1.6; margin-bottom: 0;
        }

        .brand-bottom a {
            color: var(--accent-emerald); text-decoration: none;
            font-weight: 500; transition: opacity 0.2s;
        }

        .brand-bottom a:hover { opacity: 0.8; }

        /* ============ RIGHT FORM PANEL ============ */
        .auth-form-panel {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
            position: relative;
            background: var(--bg-deep);
        }

        .auth-form-panel::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background:
                radial-gradient(ellipse at 20% 0%, rgba(45,212,160,0.03), transparent 50%),
                radial-gradient(ellipse at 80% 100%, rgba(56,189,248,0.03), transparent 50%);
            pointer-events: none;
        }

        .auth-form-container {
            width: 100%;
            max-width: 420px;
            position: relative;
            z-index: 1;
        }

        /* Form Views */
        .auth-view {
            display: none;
            animation: authFadeIn 0.4s ease forwards;
        }

        .auth-view.active { display: block; }

        @keyframes authFadeIn {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .form-header { margin-bottom: 32px; }

        .form-header h2 {
            font-size: 24px; font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 6px;
            letter-spacing: -0.3px;
        }

        .form-header p {
            font-size: 13.5px; color: var(--text-secondary);
            margin-bottom: 0;
        }

        /* Form Controls */
        .form-group { margin-bottom: 20px; }

        .form-label-custom {
            display: block;
            font-size: 12.5px; font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 7px;
        }

        .input-wrap {
            position: relative;
        }

        .input-wrap i.input-icon {
            position: absolute; left: 14px; top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted); font-size: 14px;
            transition: color 0.2s;
            pointer-events: none;
        }

        .input-wrap .input-icon-end {
            position: absolute; right: 14px; top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted); font-size: 14px;
            cursor: pointer; transition: color 0.2s;
        }

        .input-wrap .input-icon-end:hover { color: var(--text-secondary); }

        .form-input {
            width: 100%;
            background: var(--bg-input);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 12px 14px 12px 42px;
            font-size: 13.5px;
            color: var(--text-primary);
            transition: all 0.2s;
            font-family: 'Inter', sans-serif;
        }

        .form-input::placeholder { color: var(--text-muted); }

        .form-input:focus {
            outline: none;
            border-color: var(--border-focus);
            box-shadow: 0 0 0 3px rgba(45,212,160,0.08);
            background: var(--bg-hover);
        }

        .form-input:focus + i.input-icon,
        .form-input:focus ~ i.input-icon {
            color: var(--accent-emerald);
        }

        .form-input.no-icon { padding-left: 14px; }

        /* Password strength */
        .pwd-strength { margin-top: 10px; }
        .pwd-bars { display: flex; gap: 4px; margin-bottom: 6px; }
        .pwd-bar {
            flex: 1; height: 3px;
            background: rgba(255,255,255,0.06);
            border-radius: 2px;
            transition: background 0.3s;
        }
        .pwd-bar.active-1 { background: var(--accent-rose); }
        .pwd-bar.active-2 { background: var(--accent-rose); }
        .pwd-bar.active-3 { background: #fbbf24; }
        .pwd-bar.active-4 { background: #fbbf24; }
        .pwd-bar.active-5 { background: var(--accent-emerald); }
        .pwd-label { font-size: 11px; color: var(--text-muted); }

        /* Checkbox */
        .custom-check {
            display: flex; align-items: center; gap: 10px;
            cursor: pointer; user-select: none;
        }

        .custom-check input { display: none; }

        .check-box {
            width: 18px; height: 18px;
            border-radius: 5px;
            border: 1.5px solid var(--border);
            background: var(--bg-input);
            display: flex; align-items: center; justify-content: center;
            transition: all 0.2s; flex-shrink: 0;
        }

        .check-box i {
            font-size: 10px; color: #0c0e14;
            opacity: 0; transform: scale(0.5);
            transition: all 0.15s;
        }

        .custom-check input:checked ~ .check-box {
            background: var(--accent-emerald);
            border-color: var(--accent-emerald);
        }

        .custom-check input:checked ~ .check-box i {
            opacity: 1; transform: scale(1);
        }

        .check-label {
            font-size: 13px; color: var(--text-secondary);
        }

        .check-label a {
            color: var(--accent-emerald); text-decoration: none;
            font-weight: 500;
        }

        .check-label a:hover { text-decoration: underline; }

        /* Form Row */
        .form-row {
            display: flex; gap: 14px;
        }

        .form-row .form-group { flex: 1; }

        /* Select */
        .form-select-custom {
            width: 100%;
            background: var(--bg-input);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 12px 36px 12px 42px;
            font-size: 13.5px;
            color: var(--text-secondary);
            appearance: none; -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234e5368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
            transition: all 0.2s;
            font-family: 'Inter', sans-serif;
            cursor: pointer;
        }

        .form-select-custom:focus {
            outline: none;
            border-color: var(--border-focus);
            box-shadow: 0 0 0 3px rgba(45,212,160,0.08);
            background-color: var(--bg-hover);
        }

        .form-select-custom option {
            background: var(--bg-main);
            color: var(--text-primary);
        }

        /* Buttons */
        .btn-auth-primary {
            width: 100%;
            background: var(--accent-emerald);
            border: none;
            color: #0c0e14;
            font-size: 14px; font-weight: 600;
            padding: 13px 24px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Inter', sans-serif;
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        }

        .btn-auth-primary:hover {
            filter: brightness(1.1);
            transform: translateY(-1px);
            box-shadow: 0 8px 24px rgba(45,212,160,0.25);
        }

        .btn-auth-primary:active {
            transform: translateY(0);
        }

        /* Divider */
        .auth-divider {
            display: flex; align-items: center; gap: 16px;
            margin: 24px 0;
        }

        .auth-divider::before,
        .auth-divider::after {
            content: ''; flex: 1; height: 1px;
            background: var(--border);
        }

        .auth-divider span {
            font-size: 12px; color: var(--text-muted);
            white-space: nowrap;
        }

        /* Social Buttons */
        .social-btns { display: flex; gap: 10px; }

        .btn-social {
            flex: 1;
            background: var(--bg-input);
            border: 1px solid var(--border);
            color: var(--text-secondary);
            font-size: 13px; font-weight: 500;
            padding: 11px 16px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Inter', sans-serif;
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        }

        .btn-social:hover {
            background: var(--bg-hover);
            color: var(--text-primary);
            border-color: rgba(255,255,255,0.1);
        }

        .btn-social i { font-size: 16px; }

        /* Switch link */
        .auth-switch {
            text-align: center;
            margin-top: 28px;
            font-size: 13.5px;
            color: var(--text-secondary);
        }

        .auth-switch a {
            color: var(--accent-emerald);
            text-decoration: none;
            font-weight: 600;
            transition: opacity 0.2s;
        }

        .auth-switch a:hover { opacity: 0.8; }

        /* Forgot */
        .forgot-link {
            font-size: 12.5px;
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
        }

        .forgot-link:hover { color: var(--accent-emerald); }

        /* Mobile brand */
        .mobile-brand {
            display: none;
            text-align: center;
            margin-bottom: 32px;
        }

        .mobile-brand .brand-logo {
            width: 48px; height: 48px;
            margin: 0 auto 12px;
        }

        .mobile-brand h5 {
            font-size: 18px; font-weight: 700;
            color: var(--text-primary); margin-bottom: 2px;
        }

        .mobile-brand span {
            font-size: 10.5px; color: var(--accent-emerald);
            letter-spacing: 1.5px; text-transform: uppercase;
            font-weight: 500;
        }

        /* Toast */
        .auth-toast {
            position: fixed; top: 24px; right: 24px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 14px 20px;
            display: flex; align-items: center; gap: 10px;
            z-index: 9999;
            box-shadow: 0 12px 40px rgba(0,0,0,0.4);
            transform: translateX(120%);
            transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
        }

        .auth-toast.show { transform: translateX(0); }

        .auth-toast .toast-icon {
            width: 32px; height: 32px; border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            font-size: 14px; flex-shrink: 0;
        }

        .auth-toast .toast-icon.success {
            background: var(--accent-emerald-bg); color: var(--accent-emerald);
        }

        .auth-toast .toast-text {
            font-size: 13px; color: var(--text-primary); font-weight: 500;
        }

        .auth-toast .toast-sub {
            font-size: 11.5px; color: var(--text-muted); margin-top: 1px;
        }

        /* ============ RESPONSIVE ============ */
        @media (max-width: 991.98px) {
            .auth-brand-panel { display: none; }
            .mobile-brand { display: block; }
            .auth-form-panel { padding: 32px 24px; }
        }

        @media (max-width: 575.98px) {
            .auth-form-panel { padding: 24px 16px; }
            .form-row { flex-direction: column; gap: 0; }
            .social-btns { flex-direction: column; }
            .form-header h2 { font-size: 22px; }
            .brand-headline { font-size: 26px; }
        }
