
        /* ── Page shell ─────────────────────────────────────── */
        html, body { height: 100%; overflow: hidden; }

        body {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

        /* ── Left panel — branding ──────────────────────────── */
        .panel-left {
            position: relative;
            background: var(--dark-card);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 48px;
            overflow: hidden;
        }

        /* Diagonal red slash accent */
        .panel-left::before {
            content: '';
            position: absolute;
            top: -80px; right: -120px;
            width: 420px; height: 420px;
            background: var(--red);
            border-radius: 50%;
            opacity: 0.07;
            pointer-events: none;
        }

        /* Noise/grain overlay */
        .panel-left::after {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
            pointer-events: none;
        }

        .left-top { position: relative; z-index: 1; }
        .left-mid  { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
        .left-bot  { position: relative; z-index: 1; }

        /* Headline */
        .left-headline {
            font-family: 'Syne', sans-serif;
            font-size: clamp(36px, 4vw, 54px);
            font-weight: 800;
            line-height: 1.05;
            letter-spacing: -2px;
            color: #fff;
            margin-bottom: 20px;
        }

        .left-headline em {
            font-style: normal;
            color: var(--red);
        }

        .left-sub {
            font-size: 15px;
            font-weight: 300;
            color: var(--text-muted);
            line-height: 1.75;
            max-width: 340px;
        }

        /* Stats row */
        .left-stats {
            display: flex;
            gap: 32px;
            margin-top: 48px;
        }

        .lstat { border-left: 2px solid var(--red); padding-left: 14px; }
        .lstat-num {
            font-family: 'Syne', sans-serif;
            font-size: 28px;
            font-weight: 800;
            color: #fff;
            line-height: 1;
        }
        .lstat-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

        /* Testimonial-style footer */
        .trust-strip {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px 20px;
            background: rgba(255,255,255,0.03);
            border: 1px solid var(--border);
            border-radius: 12px;
        }

        .trust-icon {
            width: 40px; height: 40px;
            border-radius: 50%;
            background: var(--red);
            display: grid; place-items: center;
            font-size: 18px;
            flex-shrink: 0;
        }

        .trust-text { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
        .trust-text strong { color: var(--text-light); }

        /* Vertical tag */
        .vert-tag {
            position: absolute;
            top: 50%; right: -16px;
            transform: translateY(-50%) rotate(90deg);
            font-family: 'Syne', sans-serif;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: var(--red);
            white-space: nowrap;
            z-index: 2;
        }

        /* ── Right panel — form ─────────────────────────────── */
        .panel-right {
            background: var(--dark);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 48px;
            overflow-y: auto;
        }

        .form-shell {
            width: 100%;
            max-width: 400px;
        }

        /* Form header */
        .form-eyebrow {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--red);
            margin-bottom: 10px;
        }

        .form-title {
            font-family: 'Syne', sans-serif;
            font-size: 32px;
            font-weight: 800;
            letter-spacing: -1px;
            color: #fff;
            margin-bottom: 6px;
        }

        .form-sub {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 40px;
        }

        .form-sub a {
            color: var(--red);
            text-decoration: none;
            font-weight: 500;
        }

        .form-sub a:hover { text-decoration: underline; }

        /* Field groups */
        .field-group { margin-bottom: 20px; }

        .field-label {
            display: block;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.5px;
            color: var(--text-muted);
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .field-wrap {
            position: relative;
        }

        .field-icon {
            position: absolute;
            left: 14px; top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
            pointer-events: none;
            opacity: 0.45;
        }

        .field-input {
            width: 100%;
            padding: 13px 14px 13px 42px;
            background: var(--dark-card);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: #fff;
            font-family: 'DM Sans', sans-serif;
            font-size: 14px;
            transition: border-color 0.2s, box-shadow 0.2s;
            outline: none;
        }

        .field-input::placeholder { color: #444; }

        .field-input:focus {
            border-color: var(--red);
            box-shadow: 0 0 0 3px rgba(232, 39, 42, 0.12);
        }

        .field-input.error {
            border-color: var(--red);
            box-shadow: 0 0 0 3px rgba(232, 39, 42, 0.12);
        }

        /* Password toggle */
        .pw-toggle {
            position: absolute;
            right: 14px; top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            font-size: 16px;
            opacity: 0.4;
            transition: opacity 0.2s;
            color: #fff;
        }
        .pw-toggle:hover { opacity: 0.85; }

        /* Field error hint */
        .field-hint {
            font-size: 12px;
            color: #ef4444;
            margin-top: 6px;
            display: none;
        }

        .field-hint.visible { display: block; }

        /* Forgot password row */
        .field-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .field-meta a {
            font-size: 12px;
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
        }

        .field-meta a:hover { color: var(--red); }

        /* Error banner */
        .login-error {
            background: rgba(239, 68, 68, 0.08);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #fca5a5;
            padding: 12px 16px;
            border-radius: 10px;
            font-size: 13px;
            line-height: 1.5;
            margin-bottom: 20px;
            display: none;
        }

        .login-error.visible { display: block; }

        /* Submit button */
        .btn-login {
            width: 100%;
            padding: 14px;
            background: var(--red);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-family: 'Syne', sans-serif;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 4px 24px rgba(232, 39, 42, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 8px;
            letter-spacing: 0.3px;
        }

        .btn-login:hover:not(:disabled) {
            background: var(--red-light);
            transform: translateY(-1px);
            box-shadow: 0 6px 28px rgba(232, 39, 42, 0.45);
        }

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

        /* Spinner inside button */
        .spinner {
            width: 16px; height: 16px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
            display: none;
        }

        .btn-login.loading .spinner { display: block; }
        .btn-login.loading .btn-label { display: none; }

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

        /* Divider */
        .divider {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 28px 0;
            color: var(--border);
        }

        .divider::before, .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border);
        }

        .divider span {
            font-size: 11px;
            color: var(--text-muted);
            letter-spacing: 1px;
            text-transform: uppercase;
            white-space: nowrap;
        }

        /* Emergency shortcut */
        .emergency-shortcut {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 18px;
            background: rgba(232, 39, 42, 0.06);
            border: 1px solid rgba(232, 39, 42, 0.2);
            border-radius: 10px;
            text-decoration: none;
            transition: all 0.2s;
        }

        .emergency-shortcut:hover {
            background: rgba(232, 39, 42, 0.1);
            border-color: rgba(232, 39, 42, 0.4);
        }

        .es-icon {
            font-size: 22px;
            flex-shrink: 0;
        }

        .es-text { flex: 1; }
        .es-title {
            font-family: 'Syne', sans-serif;
            font-size: 13px;
            font-weight: 700;
            color: #fff;
        }
        .es-sub { font-size: 11px; color: var(--text-muted); }
        .es-arrow { font-size: 18px; color: var(--red); }

        /* Register link */
        .register-row {
            text-align: center;
            margin-top: 28px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .register-row a {
            color: var(--red);
            text-decoration: none;
            font-weight: 600;
        }

        .register-row a:hover { text-decoration: underline; }

        /* ── Entrance animation ──────────────────────────────── */
        .panel-left  { animation: slideInLeft  0.6s cubic-bezier(0.22,1,0.36,1) both; }
        .panel-right { animation: slideInRight 0.6s cubic-bezier(0.22,1,0.36,1) both 0.1s; }

        @keyframes slideInLeft  { from { opacity:0; transform: translateX(-32px); } to { opacity:1; transform: none; } }
        @keyframes slideInRight { from { opacity:0; transform: translateX( 32px); } to { opacity:1; transform: none; } }

        .form-shell > * { animation: fadeUp 0.5s ease both; }
        .form-shell > *:nth-child(1) { animation-delay: 0.25s; }
        .form-shell > *:nth-child(2) { animation-delay: 0.30s; }
        .form-shell > *:nth-child(3) { animation-delay: 0.35s; }
        .form-shell > *:nth-child(4) { animation-delay: 0.40s; }
        .form-shell > *:nth-child(5) { animation-delay: 0.45s; }
        .form-shell > *:nth-child(6) { animation-delay: 0.50s; }
        .form-shell > *:nth-child(7) { animation-delay: 0.55s; }

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

        /* ── Responsive ──────────────────────────────────────── */
        @media (max-width: 800px) {
            html, body { overflow: auto; }

            body {
                grid-template-columns: 1fr;
                grid-template-rows: auto 1fr;
                min-height: 100vh;
            }

            .panel-left {
                padding: 32px 24px;
                min-height: auto;
            }

            .left-mid { padding: 24px 0; }

            .left-headline { font-size: 32px; }

            .left-stats { gap: 20px; }

            .vert-tag { display: none; }

            .panel-right {
                padding: 40px 24px;
                overflow-y: visible;
            }
        }