/* ===== RESET & BASE ===== */
        *, *::before, *::after { box-sizing: border-box !important; }

        html, body {
            height: 100%;
            margin: 0 !important;
            padding: 0 !important;
            overflow: hidden;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif !important;
            background: #f8f7f4 !important;
        }

        /* ===== SPLIT WRAPPER ===== */
        .auth-wrapper {
            display: flex;
            height: 100vh;
            width: 100vw;
            overflow: hidden;
        }

        /* ===== LEFT PANEL (desktop) ===== */
        .auth-left {
            flex: 0 0 44%;
            width: 44%;
            background: #c084fc;
            border-right: 4px solid #0f172a;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 3rem 2.5rem;
        }

        .auth-left::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: radial-gradient(rgba(15,23,42,0.14) 1.5px, transparent 1.5px);
            background-size: 22px 22px;
            pointer-events: none;
        }

        .auth-shape {
            position: absolute;
            border: 3px solid #0f172a;
            box-shadow: 4px 4px 0 #0f172a;
            border-radius: 50%;
            animation: authFloat 6s ease-in-out infinite;
        }
        .auth-shape:nth-child(1) { width: 90px; height: 90px; top: 8%; left: 6%; background: #22d3ee; animation-delay: 0s; }
        .auth-shape:nth-child(2) { width: 60px; height: 60px; bottom: 15%; right: 10%; background: #FAF33E; animation-delay: 2.5s; }
        .auth-shape:nth-child(3) { width: 120px; height: 120px; bottom: 10%; left: -30px; background: #4ade80; animation-delay: 1.5s; border-radius: 20px; }
        .auth-shape:nth-child(4) { width: 40px; height: 40px; top: 20%; right: 15%; background: #f43f5e; animation-delay: 3.5s; border-radius: 8px; }

        @keyframes authFloat {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-18px) rotate(8deg); }
        }

        .auth-left-content {
            position: relative;
            z-index: 2;
            text-align: center;
            width: 100%;
            max-width: 360px;
        }

        .auth-brand-badge {
            display: inline-block;
            background: #FAF33E;
            border: 3px solid #0f172a;
            box-shadow: 4px 4px 0 #0f172a;
            border-radius: 12px;
            padding: 8px 20px;
            font-family: 'Space Grotesk', sans-serif !important;
            font-weight: 900 !important;
            font-size: 1.4rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #0f172a !important;
            text-decoration: none !important;
            margin-bottom: 1.75rem;
            display: block;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .auth-brand-badge:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #0f172a; }

        .auth-left-heading {
            font-family: 'Space Grotesk', sans-serif !important;
            font-weight: 900 !important;
            font-size: 2.1rem;
            line-height: 1.15;
            color: #0f172a !important;
            margin-bottom: 0.85rem;
            letter-spacing: -0.02em;
        }

        .auth-left-sub {
            font-size: 0.87rem;
            font-weight: 600;
            color: #0f172a !important;
            opacity: 0.78;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .auth-highlight-box {
            background: #4ade80;
            border: 2.5px solid #0f172a;
            box-shadow: 3px 3px 0 #0f172a;
            border-radius: 14px;
            padding: 13px 18px;
            font-weight: 700;
            font-size: 0.85rem;
            color: #0f172a !important;
            margin-bottom: 1.25rem;
            text-align: left;
        }

        .auth-features {
            list-style: none;
            padding: 0;
            margin: 0 0 1.5rem;
            text-align: left;
        }
        .auth-features li {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #fff;
            border: 2px solid #0f172a;
            border-radius: 10px;
            padding: 9px 14px;
            margin-bottom: 7px;
            font-weight: 700;
            font-size: 0.83rem;
            color: #0f172a !important;
            box-shadow: 2px 2px 0 #0f172a;
        }
        .auth-features li i { color: #4ade80; flex-shrink: 0; }

        .auth-left-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            border: 2.5px solid #0f172a;
            box-shadow: 3px 3px 0 #0f172a;
            border-radius: 10px;
            padding: 10px 20px;
            font-family: 'Space Grotesk', sans-serif !important;
            font-weight: 800;
            font-size: 0.82rem;
            color: #0f172a !important;
            text-decoration: none !important;
            transition: all 0.15s;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }
        .auth-left-cta:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 #0f172a; color: #0f172a !important; }

        /* ===== RIGHT PANEL ===== */
        .auth-right {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            background: #ffffff;
        }

        .auth-right-inner {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 3rem 3.5rem;
            min-height: 100%;
            max-width: 520px;
            width: 100%;
            margin: 0 auto;
        }

        .auth-form-card {
            margin-top: auto;
            margin-bottom: auto;
            width: 100%;
        }

        /* ===== MOBILE HERO (hidden on desktop) ===== */
        .auth-mobile-hero {
            display: none;
        }

        /* ===== FORM ELEMENTS ===== */
        .auth-title {
            font-family: 'Space Grotesk', sans-serif !important;
            font-weight: 900 !important;
            font-size: 1.95rem;
            color: #0f172a !important;
            letter-spacing: -0.02em;
            line-height: 1.2;
            margin-bottom: 0.3rem;
            text-transform: uppercase;
        }

        .auth-subtitle {
            font-size: 0.88rem;
            font-weight: 600;
            color: #64748b !important;
            margin-bottom: 1.75rem;
            line-height: 1.5;
        }

        .auth-form-group {
            margin-bottom: 1.25rem;
            overflow: visible;
        }

        .auth-label {
            display: inline-flex !important;
            align-items: center !important;
            gap: 7px !important;
            font-size: 0.74rem !important;
            font-weight: 800 !important;
            color: #0f172a !important;
            background: #FAF33E !important;
            border: 2px solid #0f172a !important;
            border-radius: 8px !important;
            padding: 3px 12px !important;
            margin-bottom: 8px !important;
            box-shadow: 2px 2px 0 #0f172a !important;
            text-transform: uppercase !important;
            letter-spacing: 0.04em !important;
            line-height: 1.5 !important;
            overflow: visible !important;
        }

        /* Input — aggressive overrides to beat theme.css */
        .auth-input,
        .auth-input.form-control,
        input.auth-input {
            width: 100% !important;
            padding: 13px 18px !important;
            border: 2.5px solid #0f172a !important;
            border-radius: 12px !important;
            font-size: 0.95rem !important;
            font-weight: 600 !important;
            background: #ffffff !important;
            background-color: #ffffff !important;
            color: #0f172a !important;
            box-shadow: 3px 3px 0 #0f172a !important;
            transition: all 0.18s ease !important;
            outline: none !important;
            font-family: 'Plus Jakarta Sans', sans-serif !important;
            -webkit-appearance: none;
        }
        .auth-input:focus,
        .auth-input.form-control:focus,
        input.auth-input:focus {
            transform: translate(-1px, -1px) !important;
            box-shadow: 4px 4px 0 #0f172a !important;
            background: #ffffff !important;
            background-color: #ffffff !important;
            color: #0f172a !important;
            border-color: #0f172a !important;
        }
        .auth-input::placeholder { color: #64748b !important; font-weight: 500 !important; opacity: 0.85; }

        .auth-input-wrap {
            position: relative;
            width: 100%;
        }
        .auth-input-wrap .auth-input { padding-right: 50px !important; }
        .auth-toggle-btn {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: transparent !important;
            border: none !important;
            cursor: pointer;
            padding: 6px 8px;
            color: #64748b;
            display: flex;
            align-items: center;
            z-index: 5;
            border-radius: 6px;
            transition: background 0.15s, color 0.15s;
            box-shadow: none !important;
        }
        .auth-toggle-btn:hover { background: rgba(15,23,42,0.08) !important; color: #0f172a; transform: translateY(-50%) !important; }
        .auth-toggle-btn:active { transform: translateY(-50%) !important; }

        .auth-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 0.75rem 0 1.25rem;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .auth-checkbox-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            font-size: 0.88rem;
            color: #0f172a !important;
            cursor: pointer;
            user-select: none;
        }
        .auth-checkbox-label input[type="checkbox"] {
            width: 18px !important;
            height: 18px !important;
            accent-color: #6366f1 !important;
            cursor: pointer;
            margin: 0 !important;
            border: 2px solid #0f172a !important;
            border-radius: 5px !important;
            box-shadow: 1.5px 1.5px 0 #0f172a !important;
        }

        .auth-forgot-link {
            font-size: 0.88rem;
            font-weight: 800;
            color: #6366f1 !important;
            text-decoration: none !important;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            border-bottom: 2px solid transparent !important;
            transition: all 0.15s ease;
        }
        .auth-forgot-link:hover {
            color: #4338ca !important;
            border-bottom: 2px solid #4338ca !important;
            transform: translateY(-1px);
        }

        /* Turnstile container in Neobrutalist frame */
        .auth-turnstile-wrapper {
            background: #f8fafc;
            border: 2px solid #0f172a;
            border-radius: 14px;
            box-shadow: 3px 3px 0 #0f172a;
            padding: 10px 14px;
            margin: 1.25rem 0;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: visible;
            min-height: 85px;
        }
        .auth-turnstile-wrapper .cf-turnstile {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        .auth-submit-btn,
        button.auth-submit-btn {
            width: 100%;
            padding: 14px 20px !important;
            background: #22d3ee !important;
            background-color: #22d3ee !important;
            color: #0f172a !important;
            border: 2.5px solid #0f172a !important;
            border-radius: 12px !important;
            box-shadow: 4px 4px 0 #0f172a !important;
            font-family: 'Space Grotesk', sans-serif !important;
            font-weight: 900 !important;
            font-size: 1.05rem !important;
            text-transform: uppercase !important;
            letter-spacing: 0.05em !important;
            cursor: pointer;
            transition: all 0.15s ease !important;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            overflow: visible !important;
        }
        .auth-submit-btn:hover, button.auth-submit-btn:hover {
            transform: translate(-2px, -2px) !important;
            box-shadow: 6px 6px 0 #0f172a !important;
            background: #FAF33E !important;
            background-color: #FAF33E !important;
            color: #0f172a !important;
        }
        .auth-submit-btn:active, button.auth-submit-btn:active {
            transform: translate(2px, 2px) !important;
            box-shadow: 1px 1px 0 #0f172a !important;
        }
        .auth-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

        .auth-small-note {
            font-size: 0.78rem;
            color: #475569 !important;
            font-weight: 600;
            margin-top: 6px;
            display: flex;
            align-items: center;
            gap: 6px;
            padding-left: 2px;
        }
        .auth-small-note i {
            color: #6366f1;
        }

        .auth-divider {
            border: 0 !important;
            border-top: 2px dashed #cbd5e1 !important;
            margin: 1.5rem 0 !important;
            background: none !important;
            box-shadow: none !important;
        }

        .auth-bottom-link {
            text-align: center;
            font-size: 0.9rem;
            font-weight: 600;
            color: #475569 !important;
            margin-top: 0.25rem;
        }
        .auth-bottom-link a {
            color: #6366f1 !important;
            font-weight: 800 !important;
            text-decoration: none !important;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-left: 4px;
            border-bottom: 2px solid transparent !important;
            transition: all 0.15s ease;
        }
        .auth-bottom-link a:hover {
            color: #4338ca !important;
            border-bottom: 2px solid #4338ca !important;
            transform: translateY(-1px);
        }

        /* Floating language switcher styling */
        .auth-lang-floating {
            position: absolute;
            top: 1.25rem;
            right: 1.25rem;
            z-index: 100;
        }

        /* ===== MOBILE RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .auth-left { flex: 0 0 40%; width: 40%; padding: 2.5rem 2rem; }
            .auth-right-inner { padding: 2.5rem 2.5rem; }
        }

        @media (max-width: 768px) {
            html, body { overflow: auto !important; height: auto !important; }

            .auth-wrapper {
                flex-direction: column;
                height: auto !important;
                min-height: 100dvh;
                overflow: visible !important;
            }

            /* Hide desktop left panel */
            .auth-left { display: none !important; }

            .auth-right {
                flex: 1;
                overflow: visible;
                background: #f8f7f4 !important;
            }

            .auth-right-inner {
                padding: 0 !important;
                max-width: 100% !important;
                justify-content: flex-start;
                min-height: unset;
                background: transparent !important;
            }

            /* ===== MOBILE HERO SECTION ===== */
            .auth-mobile-hero {
                display: block !important;
                background: #c084fc;
                border-bottom: 4px solid #0f172a;
                position: relative;
                overflow: hidden;
                padding: 2rem 1.75rem 1.75rem;
                text-align: center;
            }

            .auth-mobile-hero::before {
                content: '';
                position: absolute;
                inset: 0;
                background-image: radial-gradient(rgba(15,23,42,0.12) 1.5px, transparent 1.5px);
                background-size: 20px 20px;
                pointer-events: none;
            }

            /* decorative shapes in mobile hero */
            .auth-mobile-hero::after {
                content: '';
                position: absolute;
                width: 80px; height: 80px;
                background: #22d3ee;
                border: 2.5px solid #0f172a;
                box-shadow: 3px 3px 0 #0f172a;
                border-radius: 50%;
                top: -20px; right: -15px;
                animation: authFloat 5s ease-in-out infinite;
            }

            .auth-mobile-hero-inner {
                position: relative;
                z-index: 2;
                display: flex;
                align-items: center;
                gap: 1rem;
                padding-right: 75px;
            }

            .auth-mobile-logo-link {
                display: inline-block;
                text-decoration: none;
                flex-shrink: 0;
            }
            .auth-mobile-logo-img {
                width: 58px;
                height: 58px;
                object-fit: contain;
                border: 2.5px solid #0f172a;
                border-radius: 14px;
                background: #fff;
                padding: 4px;
                box-shadow: 3px 3px 0 #0f172a;
                flex-shrink: 0;
                display: block;
            }
            .auth-mobile-logo-banner {
                height: auto;
                max-height: 48px;
                object-fit: contain;
                border: 2.5px solid #0f172a;
                border-radius: 14px;
                background: #fff;
                padding: 6px 12px;
                box-shadow: 3px 3px 0 #0f172a;
                display: block;
            }

            .auth-mobile-hero-text { text-align: left; flex: 1; }

            .auth-mobile-appname {
                font-family: 'Space Grotesk', sans-serif !important;
                font-weight: 900 !important;
                font-size: 0.75rem;
                text-transform: uppercase;
                letter-spacing: 0.08em;
                color: rgba(15,23,42,0.65) !important;
                margin-bottom: 2px;
            }

            .auth-mobile-tagline {
                font-family: 'Space Grotesk', sans-serif !important;
                font-weight: 900 !important;
                font-size: 1.35rem;
                line-height: 1.2;
                color: #0f172a !important;
                letter-spacing: -0.01em;
            }

            .auth-mobile-hero-bonus {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                background: #4ade80;
                border: 2px solid #0f172a;
                box-shadow: 2px 2px 0 #0f172a;
                border-radius: 20px;
                padding: 5px 14px;
                font-size: 0.76rem;
                font-weight: 800;
                color: #0f172a !important;
                margin-top: 12px;
                max-width: 100%;
                text-align: left;
                line-height: 1.35;
            }

            /* Form card on mobile */
            .auth-form-card {
                background: #fff;
                border-top: 0;
                border-radius: 20px 20px 0 0;
                margin-top: -16px;
                position: relative;
                z-index: 3;
                padding: 1.75rem 1.5rem 2rem;
                border: 3px solid #0f172a;
                border-bottom: 0;
                box-shadow: 0 -4px 0 0 #0f172a;
            }

            .auth-title { font-size: 1.55rem !important; }

            /* Fix inputs on mobile */
            .auth-input,
            .auth-input.form-control,
            input.auth-input {
                padding: 12px 16px !important;
                font-size: 0.95rem !important;
                background: #ffffff !important;
                background-color: #ffffff !important;
                border-color: #0f172a !important;
                color: #0f172a !important;
                -webkit-appearance: none;
                -moz-appearance: none;
            }
            .auth-input:focus,
            .auth-input.form-control:focus {
                background: #ffffff !important;
                background-color: #ffffff !important;
            }
        }

        @media (max-width: 480px) {
            .auth-mobile-hero { padding: 1.5rem 1.25rem 1.5rem; }
            .auth-form-card { padding: 1.5rem 1.25rem 1.75rem; }
            .auth-mobile-tagline { font-size: 1.2rem; }
        }

        @keyframes authFloat {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-14px) rotate(8deg); }
        }
