
        :root {
            --bg: #f8fafc;
            --surface: #ffffff;
            --text: #0f172a;
            --muted: #64748b;
            --primary: #4f46e5;
            --primary-dark: #3730a3;
            --primary-light: #eef2ff;
            --border: #e2e8f0;
            --dark: #0b1020;
            --green: #16a34a;
            --radius: 16px;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
            --shadow: 0 12px 32px rgba(15, 23, 42, .06);
        }

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

        html,
        body {
            height: 100%;
        }

        body {
            font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background:
                radial-gradient(ellipse at 15% 20%, rgba(129, 140, 248, .12), transparent 45%),
                radial-gradient(ellipse at 85% 75%, rgba(56, 189, 248, .1), transparent 40%),
                linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
            color: var(--text);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

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

        button,
        input {
            font: inherit;
        }

        button,
        a {
            -webkit-tap-highlight-color: transparent;
        }

        /* SPLIT-SCREEN: 1fr on Left (Hero), 480px on Right (Form) */
        .page-wrapper {
            min-height: 100vh;
            display: grid;
            grid-template-columns: 1fr 480px;
            position: relative;
        }

        /* LEFT HERO SHOWCASE SECTION */
        .hero-pane {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 60px;
            position: relative;
            overflow: hidden;
            border-right: 1px solid var(--border);
        }

        .hero-pane-glow {
            position: absolute;
            inset: 20%;
            background: #818cf8;
            filter: blur(120px);
            opacity: .18;
            pointer-events: none;
        }

        .showcase-container {
            max-width: 580px;
            width: 100%;
            position: relative;
            z-index: 2;
        }

        .showcase-header {
            margin-bottom: 32px;
        }

        .showcase-header h2 {
            font-size: clamp(28px, 3.2vw, 40px);
            line-height: 1.15;
            letter-spacing: -1.2px;
            color: #0f172a;
            margin-bottom: 12px;
        }

        .gradient-text {
            background: linear-gradient(100deg, #4f46e5, #7c3aed 60%, #0284c7);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .showcase-header p {
            color: var(--muted);
            font-size: 16px;
            line-height: 1.6;
        }

        /* DASHBOARD PREVIEW */
        .preview {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .preview-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 18px;
            border-bottom: 1px solid var(--border);
            background: #fafbfc;
        }

        .window-dots {
            display: flex;
            gap: 6px;
        }

        .window-dots i {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            display: block;
        }

        .window-dots i:nth-child(1) { background: #fb7185; }
        .window-dots i:nth-child(2) { background: #fbbf24; }
        .window-dots i:nth-child(3) { background: #4ade80; }

        .preview-label {
            color: #64748b;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .4px;
        }

        .preview-content {
            padding: 20px;
        }

        .preview-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 16px;
        }

        .preview-stat {
            padding: 12px 10px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: #f8fafc;
            text-align: center;
        }

        .preview-stat small {
            display: block;
            font-size: 10.5px;
            color: #64748b;
            margin-bottom: 3px;
        }

        .preview-stat strong {
            display: block;
            font-size: 20px;
            line-height: 1.2;
        }

        .stat-purple { color: #6366f1; }
        .stat-red { color: #e11d48; }
        .stat-green { color: #16a34a; }

        .issue-row {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 11px 14px;
            border: 1px solid var(--border);
            border-radius: 9px;
            margin-bottom: 8px;
            background: #ffffff;
        }

        .issue-symbol {
            width: 28px;
            height: 28px;
            display: grid;
            place-items: center;
            border-radius: 6px;
            background: #fff1f2;
            color: #e11d48;
            font-weight: 800;
            font-size: 12px;
            flex-shrink: 0;
        }

        .issue-symbol.info-icon {
            background: #eef2ff;
            color: #4f46e5;
        }

        .issue-text {
            flex: 1;
            min-width: 0;
        }

        .issue-text strong {
            display: block;
            font-size: 12px;
            color: #1e293b;
        }

        .issue-text small {
            display: block;
            font-size: 11px;
            color: #64748b;
        }

        .preview-footer {
            margin-top: 14px;
            padding: 10px 14px;
            border-radius: 8px;
            background: #f5f3ff;
            color: #5b21b6;
            font-size: 11.5px;
            font-weight: 600;
        }

        /* RIGHT SIDEBAR (FORM PANEL) */
        .form-pane {
            background: #ffffff;
            border-left: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 40px 48px;
            box-shadow: -4px 0 24px rgba(15, 23, 42, .03);
            position: relative;
            z-index: 10;
        }

        .brand-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 800;
            letter-spacing: -.6px;
            color: #0f172a;
            margin-bottom: 24px;
        }

        .brand-icon {
            width: 36px;
            height: 36px;
            display: grid;
            place-items: center;
            border-radius: 10px;
            color: #fff;
            background: linear-gradient(135deg, #6366f1, #4338ca);
            box-shadow: 0 4px 12px rgba(79, 70, 229, .25);
            font-size: 16px;
        }

        .brand-name span {
            color: var(--primary);
        }

        .auth-content {
            max-width: 380px;
            width: 100%;
            margin: auto 0;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 5px 12px;
            border: 1px solid #e0e7ff;
            background: var(--primary-light);
            color: var(--primary-dark);
            border-radius: 20px;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .6px;
            text-transform: uppercase;
            margin-bottom: 14px;
        }

        .eyebrow-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #22c55e;
            box-shadow: 0 0 0 3px #dcfce7;
        }

        h1 {
            font-size: 28px;
            letter-spacing: -.8px;
            color: #0f172a;
            line-height: 1.25;
            margin-bottom: 8px;
        }

        .subtitle {
            font-size: 14.5px;
            color: var(--muted);
            margin-bottom: 24px;
            line-height: 1.5;
        }

        .form-group {
            margin-bottom: 16px;
        }

        label {
            display: block;
            font-size: 13px;
            font-weight: 700;
            color: #334155;
            margin-bottom: 7px;
        }

        .input-wrap {
            position: relative;
            display: flex;
            align-items: center;
        }

        input[type="email"],
        input[type="password"] {
            width: 100%;
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 12px 14px;
            background: #ffffff;
            color: #0f172a;
            font-size: 14px;
            transition: border-color .15s ease, box-shadow .15s ease;
            outline: 0;
        }

        input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
        }

        .password-input {
            padding-right: 44px !important;
        }

        .toggle-password {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border: 0;
            background: transparent;
            color: #94a3b8;
            cursor: pointer;
            border-radius: 6px;
            padding: 4px;
            transition: color .15s ease;
        }

        .toggle-password:hover {
            color: var(--primary);
        }

        .toggle-password:focus-visible {
            outline: 2px solid var(--primary);
        }

        .toggle-password svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .toggle-password .eye-off {
            display: none;
        }

        .toggle-password[aria-pressed="true"] .eye {
            display: none;
        }

        .toggle-password[aria-pressed="true"] .eye-off {
            display: block;
        }

        .btn-submit {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            margin-top: 20px;
            padding: 13px;
            border: 0;
            border-radius: 10px;
            background: var(--primary);
            color: #ffffff;
            font-size: 14.5px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(79, 70, 229, .28);
            transition: background-color .15s ease, transform .15s ease;
        }

        .btn-submit:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .btn-submit:disabled {
            opacity: .65;
            cursor: wait;
            transform: none;
        }

        .message {
            margin-top: 16px;
            font-size: 13.5px;
            padding: 10px 12px;
            border-radius: 8px;
            display: none;
            line-height: 1.5;
        }

        .message.error {
            display: block;
            background: #fff1f2;
            border: 1px solid #fecdd3;
            color: #be123c;
        }

        .message.success {
            display: block;
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            color: #166534;
        }

        .signup-prompt {
            margin-top: 24px;
            text-align: center;
            font-size: 13.5px;
            color: var(--muted);
        }

        .signup-prompt a {
            color: var(--primary);
            font-weight: 700;
        }

        .signup-prompt a:hover {
            text-decoration: underline;
        }

        .pane-footer {
            font-size: 12px;
            color: #94a3b8;
            padding-top: 24px;
            border-top: 1px solid #f1f5f9;
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 1024px) {
            .page-wrapper {
                grid-template-columns: 1fr 420px;
            }

            .form-pane {
                padding: 32px 36px;
            }

            .hero-pane {
                padding: 40px;
            }
        }

        @media (max-width: 860px) {
            .page-wrapper {
                grid-template-columns: 1fr;
            }

            .hero-pane {
                display: none;
            }

            .form-pane {
                max-width: 520px;
                margin: 0 auto;
                min-height: 100vh;
                border-left: 0;
                box-shadow: none;
                padding: 40px 24px;
            }

            .auth-content {
                max-width: 100%;
                margin: 40px 0;
            }
        }
    
        /* EMAIL OTP VERIFICATION */
        .otp-input {
            width: 100%;
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 14px;
            background: #ffffff;
            color: #0f172a;
            font-size: 24px;
            font-weight: 800;
            letter-spacing: 12px;
            text-align: center;
            outline: 0;
        }

        .otp-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
        }

        .otp-help {
            color: var(--muted);
            font-size: 13px;
            margin-top: 8px;
            line-height: 1.5;
        }

        .otp-actions {
            display: flex;
            justify-content: center;
            gap: 6px;
            margin-top: 16px;
            font-size: 13px;
            color: var(--muted);
        }

        .otp-actions button {
            border: 0;
            background: transparent;
            color: var(--primary);
            font-weight: 700;
            cursor: pointer;
        }

        .otp-actions button:disabled {
            color: #94a3b8;
            cursor: not-allowed;
        }

        [hidden] {
            display: none !important;
        }
