/* ══════════════════════════════════════════════════════════
   Auth Tiger v3.7.8 — Unified Auth CSS
   Design: Full-width mobile, Split-card desktop
   Themes: default, kick, blur-r7, glass-r7, r8-dev, dark-r7, dai999, glassxpt-via
   Responsive: mobile 360px full-screen → tablet 768px → desktop 1024px+
   ══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Root tokens (default / light) ── */
:root {
    --atg-primary: #1dbf73;
    /* Fiverr green-like clean accent */
    --atg-primary-hover: #19a463;
    --atg-secondary: #0f172a;
    --atg-secondary-hover: #334155;
    --atg-card-bg: #ffffff;
    --atg-card-border: rgba(0, 0, 0, 0.07);
    --atg-card-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.12);
    --atg-text: #1a1a2e;
    --atg-text-muted: #6b7280;
    --atg-radius: 16px;
    --atg-radius-sm: 10px;
    --atg-input-bg: #f3f4f6;
    --atg-input-border: transparent;
    --atg-input-focus-border: #3b82f6;
    --atg-input-text: #111827;
    --atg-placeholder: #9ca3af;
    --atg-label-color: #374151;
    --atg-btn-weight: 600;
    --atg-social-bg: #ffffff;
    --atg-social-border: rgba(0, 0, 0, 0.1);
    --atg-social-text: #1a1a2e;
    --atg-divider: #e5e7eb;
    --atg-bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ── Theme: Kick (Sky blue / light) ── */
.theme-kick {
    --atg-primary: #0ea5e9;
    --atg-primary-hover: #0284c7;
    --atg-card-bg: #ffffff;
    --atg-card-border: rgba(14, 165, 233, 0.15);
    --atg-card-shadow: 0 8px 32px rgba(14, 165, 233, 0.15);
    --atg-text: #0c2340;
    --atg-text-muted: #4b6484;
    --atg-radius: 22px;
    --atg-input-bg: #f0f9ff;
    --atg-input-border: rgba(14, 165, 233, 0.18);
    --atg-input-focus-border: #0ea5e9;
    --atg-social-bg: #f0f9ff;
    --atg-social-border: rgba(14, 165, 233, 0.18);
    --atg-social-text: #0c2340;
    --atg-label-color: #4b6484;
    --atg-divider: rgba(14, 165, 233, 0.15);
    --atg-bg-gradient: linear-gradient(135deg, #e0f2fe, #bae6fd, #7dd3fc);
}

/* ── Theme: Blur R7 ── */
.theme-blur-r7 {
    --atg-primary: #3b82f6;
    --atg-primary-hover: #2563eb;
    --atg-card-bg: rgba(255, 255, 255, 0.42);
    --atg-card-border: rgba(255, 255, 255, 0.7);
    --atg-card-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    --atg-text: #1e293b;
    --atg-text-muted: #64748b;
    --atg-radius: 24px;
    --atg-input-bg: rgba(255, 255, 255, 0.7);
    --atg-input-border: rgba(255, 255, 255, 0.85);
    --atg-input-focus-border: #3b82f6;
    --atg-input-text: #1e293b;
    --atg-placeholder: #94a3b8;
    --atg-social-bg: rgba(255, 255, 255, 0.65);
    --atg-social-border: rgba(255, 255, 255, 0.75);
    --atg-social-text: #1e293b;
    --atg-label-color: #475569;
    --atg-divider: rgba(100, 116, 139, 0.2);
    --atg-bg-gradient: linear-gradient(135deg, #dbeafe, #ede9fe);
}

/* ── Theme: Glass R7 ── */
.theme-glass-r7 {
    --atg-primary: #10b981;
    --atg-primary-hover: #059669;
    --atg-card-bg: rgba(255, 255, 255, 0.1);
    --atg-card-border: rgba(255, 255, 255, 0.35);
    --atg-card-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    --atg-text: #ffffff;
    --atg-text-muted: rgba(255, 255, 255, 0.72);
    --atg-radius: 20px;
    --atg-input-bg: rgba(255, 255, 255, 0.15);
    --atg-input-border: rgba(255, 255, 255, 0.3);
    --atg-input-focus-border: #10b981;
    --atg-input-text: #ffffff;
    --atg-placeholder: rgba(255, 255, 255, 0.5);
    --atg-social-bg: rgba(255, 255, 255, 0.1);
    --atg-social-border: rgba(255, 255, 255, 0.25);
    --atg-social-text: #ffffff;
    --atg-label-color: rgba(255, 255, 255, 0.72);
    --atg-divider: rgba(255, 255, 255, 0.2);
    --atg-bg-gradient: linear-gradient(135deg, #134e5e, #71b280);
}

/* ── Theme: R8 Dev ── */
.theme-r8-dev {
    --atg-primary: #8b5cf6;
    --atg-primary-hover: #7c3aed;
    --atg-secondary: #06b6d4;
    --atg-secondary-hover: #0891b2;
    --atg-card-bg: rgba(20, 20, 40, 0.65);
    --atg-card-border: rgba(139, 92, 246, 0.2);
    --atg-card-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.1);
    --atg-text: #f1f5f9;
    --atg-text-muted: #a5b4fc;
    --atg-radius: 22px;
    --atg-input-bg: rgba(255, 255, 255, 0.07);
    --atg-input-border: rgba(139, 92, 246, 0.2);
    --atg-input-focus-border: #8b5cf6;
    --atg-input-text: #f1f5f9;
    --atg-placeholder: rgba(165, 180, 252, 0.55);
    --atg-social-bg: rgba(255, 255, 255, 0.06);
    --atg-social-border: rgba(139, 92, 246, 0.2);
    --atg-social-text: #f1f5f9;
    --atg-label-color: #a5b4fc;
    --atg-divider: rgba(139, 92, 246, 0.2);
    --atg-bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

/* ── Theme: Dark R7 ── */
.theme-dark-r7 {
    --atg-primary: #38bdf8;
    --atg-primary-hover: #0ea5e9;
    --atg-card-bg: rgba(15, 23, 42, 0.82);
    --atg-card-border: rgba(56, 189, 248, 0.12);
    --atg-card-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    --atg-text: #f1f5f9;
    --atg-text-muted: #94a3b8;
    --atg-radius: 20px;
    --atg-input-bg: rgba(255, 255, 255, 0.9);
    --atg-input-border: transparent;
    --atg-input-focus-border: #38bdf8;
    --atg-input-text: #0f172a;
    --atg-placeholder: #94a3b8;
    --atg-social-bg: rgba(255, 255, 255, 0.08);
    --atg-social-border: rgba(255, 255, 255, 0.1);
    --atg-social-text: #f1f5f9;
    --atg-label-color: #94a3b8;
    --atg-divider: rgba(255, 255, 255, 0.1);
    --atg-bg-gradient: linear-gradient(165deg, #0f2027, #203a43, #2c5364);
}

/* ── Theme: Dai999 ── */
.theme-dai999 {
    --atg-primary: #f43f5e;
    --atg-primary-hover: #e11d48;
    --atg-secondary: #8b5cf6;
    --atg-secondary-hover: #7c3aed;
    --atg-card-bg: rgba(9, 9, 11, 0.75);
    --atg-card-border: rgba(244, 63, 94, 0.2);
    --atg-card-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(244, 63, 94, 0.08);
    --atg-text: #fafafa;
    --atg-text-muted: #a1a1aa;
    --atg-radius: 26px;
    --atg-input-bg: rgba(255, 255, 255, 0.06);
    --atg-input-border: rgba(244, 63, 94, 0.18);
    --atg-input-focus-border: #f43f5e;
    --atg-input-text: #fafafa;
    --atg-placeholder: rgba(161, 161, 170, 0.7);
    --atg-social-bg: rgba(255, 255, 255, 0.05);
    --atg-social-border: rgba(244, 63, 94, 0.18);
    --atg-social-text: #fafafa;
    --atg-label-color: #a1a1aa;
    --atg-divider: rgba(244, 63, 94, 0.15);
    --atg-bg-gradient: radial-gradient(ellipse at top, #1a0010 0%, #09090b 65%);
}

/* ════════════════════════════════════════════
   ✦ Theme: GlassXpt Via (v3.7.7)
   AI-Powered Digital Glass · Neon Borders
   ════════════════════════════════════════════ */
.theme-glassxpt-via {
    --atg-primary: #00f5ff;
    --atg-primary-hover: #00d4e6;
    --atg-secondary: #bf00ff;
    --atg-secondary-hover: #9900cc;
    --atg-card-bg: rgba(4, 8, 20, 0.72);
    --atg-card-border: rgba(0, 245, 255, 0.25);
    --atg-card-shadow:
        0 0 0 1px rgba(0, 245, 255, 0.15),
        0 0 30px rgba(0, 245, 255, 0.1),
        0 0 80px rgba(191, 0, 255, 0.08),
        0 40px 80px rgba(0, 0, 0, 0.7);
    --atg-text: #e0f8ff;
    --atg-text-muted: rgba(160, 230, 255, 0.6);
    --atg-radius: 20px;
    --atg-input-bg: rgba(0, 245, 255, 0.04);
    --atg-input-border: rgba(0, 245, 255, 0.2);
    --atg-input-focus-border: #00f5ff;
    --atg-input-text: #e0f8ff;
    --atg-placeholder: rgba(0, 245, 255, 0.3);
    --atg-social-bg: rgba(0, 245, 255, 0.04);
    --atg-social-border: rgba(0, 245, 255, 0.18);
    --atg-social-text: #e0f8ff;
    --atg-label-color: rgba(160, 230, 255, 0.7);
    --atg-divider: rgba(0, 245, 255, 0.12);
    --atg-bg-gradient: radial-gradient(ellipse at 20% 50%, rgba(0, 50, 80, 0.8) 0%, rgba(2, 4, 16, 1) 60%),
        radial-gradient(ellipse at 80% 20%, rgba(60, 0, 100, 0.5) 0%, transparent 50%);
}

/* Neon border animation for GlassXpt Via */
.theme-glassxpt-via .split-auth-layout {
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(0, 245, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: gxv-border-glow 4s ease-in-out infinite alternate;
}

@keyframes gxv-border-glow {
    0% {
        box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.15), 0 0 30px rgba(0, 245, 255, 0.08), 0 0 80px rgba(191, 0, 255, 0.05), 0 40px 80px rgba(0, 0, 0, 0.7);
    }

    50% {
        box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.35), 0 0 50px rgba(0, 245, 255, 0.18), 0 0 100px rgba(191, 0, 255, 0.12), 0 40px 80px rgba(0, 0, 0, 0.7);
    }

    100% {
        box-shadow: 0 0 0 1px rgba(191, 0, 255, 0.3), 0 0 40px rgba(191, 0, 255, 0.14), 0 0 90px rgba(0, 245, 255, 0.1), 0 40px 80px rgba(0, 0, 0, 0.7);
    }
}

/* Scanline overlay */
.theme-glassxpt-via .split-auth-layout::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 245, 255, 0.015) 2px,
            rgba(0, 245, 255, 0.015) 4px);
    pointer-events: none;
    z-index: 0;
}

/* Digital grid noise overlay */
.theme-glassxpt-via .split-auth-layout::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.theme-glassxpt-via .split-right-panel,
.theme-glassxpt-via .unified-auth-card,
.theme-glassxpt-via .authtiger-form {
    position: relative;
    z-index: 1;
}

/* Neon input focus glow */
.theme-glassxpt-via .input-group input:focus {
    box-shadow: 0 0 0 2px rgba(0, 245, 255, 0.2), 0 0 20px rgba(0, 245, 255, 0.15);
    background: rgba(0, 245, 255, 0.06);
}

/* Neon button */
.theme-glassxpt-via .authtiger-btn {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.15), rgba(191, 0, 255, 0.15));
    border: 1px solid rgba(0, 245, 255, 0.5);
    color: #00f5ff;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2), inset 0 1px 0 rgba(0, 245, 255, 0.2);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.3s ease;
}

.theme-glassxpt-via .authtiger-btn:hover {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.3), rgba(191, 0, 255, 0.25));
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.4), 0 0 60px rgba(191, 0, 255, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Neon signup button */
.theme-glassxpt-via .authtiger-btn.signup-btn {
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.15), rgba(0, 245, 255, 0.15));
    border-color: rgba(191, 0, 255, 0.5);
    color: #bf00ff;
    box-shadow: 0 0 20px rgba(191, 0, 255, 0.2);
}

.theme-glassxpt-via .authtiger-btn.signup-btn:hover {
    color: #ffffff;
    box-shadow: 0 0 30px rgba(191, 0, 255, 0.5), 0 0 60px rgba(0, 245, 255, 0.2);
}

/* Neon social buttons */
.theme-glassxpt-via .social-full-btn {
    border-color: rgba(0, 245, 255, 0.2);
    transition: all 0.25s ease;
}

.theme-glassxpt-via .social-full-btn:hover {
    border-color: rgba(0, 245, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.15);
    background: rgba(0, 245, 255, 0.06);
}

/* Toggle tab active */
.theme-glassxpt-via .auth-toggle-buttons {
    background: rgba(0, 245, 255, 0.04);
    border: 1px solid rgba(0, 245, 255, 0.12);
}

.theme-glassxpt-via .auth-toggle-btn.active {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(191, 0, 255, 0.15));
    color: #00f5ff;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

/* Banner for GlassXpt Via */
@media (min-width: 900px) {
    .theme-glassxpt-via .split-left-banner {
        background-image: radial-gradient(ellipse at center, rgba(0, 80, 100, 0.8) 0%, rgba(2, 4, 16, 0.95) 70%);
        border-right: 1px solid rgba(0, 245, 255, 0.15);
    }

    .theme-glassxpt-via .split-left-banner .banner-title {
        background: linear-gradient(135deg, #00f5ff, #bf00ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Floating particle animations for GlassXpt Via */
.theme-glassxpt-via .unified-auth-wrapper::before {
    content: '';
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: gxv-float 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.theme-glassxpt-via .unified-auth-wrapper::after {
    content: '';
    position: fixed;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191, 0, 255, 0.06) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    animation: gxv-float 10s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: -1;
}

@keyframes gxv-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -40px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* ════════════════════════════════════════════
   WRAPPER
   ════════════════════════════════════════════ */
.unified-auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px 16px;
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    background: transparent !important;
    box-sizing: border-box;
    position: relative;
    line-height: 1.5;
}

.split-bg-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--atg-bg-gradient);
    background-size: cover;
    background-position: center;
}

/* Glassmorphism for certain themes */
.theme-blur-r7 .unified-auth-wrapper,
.theme-glass-r7 .unified-auth-wrapper,
.theme-r8-dev .unified-auth-wrapper,
.theme-dark-r7 .unified-auth-wrapper,
.theme-dai999 .unified-auth-wrapper {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* ════════════════════════════════════════════
   SPLIT LAYOUT (Card container)
   ════════════════════════════════════════════ */
.split-auth-layout {
    display: flex;
    width: 100%;
    max-width: 460px;
    /* compact single-column on mobile */
    margin: 0 auto;
    background: var(--atg-card-bg);
    border: 1px solid var(--atg-card-border);
    border-radius: var(--atg-radius);
    box-shadow: var(--atg-card-shadow);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* Glass blur on card itself */
.theme-blur-r7 .split-auth-layout,
.theme-glass-r7 .split-auth-layout,
.theme-r8-dev .split-auth-layout,
.theme-dark-r7 .split-auth-layout,
.theme-dai999 .split-auth-layout {
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

/* Dai999 subtle glow ring */
.theme-dai999 .split-auth-layout {
    box-shadow: var(--atg-card-shadow), inset 0 0 0 1px rgba(244, 63, 94, 0.08);
}

/* Left banner — hidden by default, shown on desktop in side layout */
.split-left-banner {
    display: none;
}

/* Right panel takes full width */
.split-right-panel {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 36px 32px 32px;
}

/* ── Desktop side-by-side (≥ 900px) ── */
@media (min-width: 900px) {
    .split-auth-layout {
        max-width: 860px;
        flex-direction: row;
    }

    .split-left-banner {
        display: flex;
        flex: 0 0 38%;
        flex-direction: column;
        justify-content: flex-end;
        padding: 36px 32px;
        position: relative;
        overflow: hidden;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: rgba(0, 0, 0, 0.3);
        min-height: 520px;
    }

    /* Gradient overlay on banner */
    .split-left-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%);
        z-index: 1;
    }

    /* Per-theme banner images */
    .theme-dark-r7 .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1531297484001-80022131f5a1?q=80&w=800&auto=format&fit=crop');
    }

    .theme-glass-r7 .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1550684848-fac1c5b4e853?q=80&w=800&auto=format&fit=crop');
    }

    .theme-r8-dev .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1620641788421-7a1c342ea42e?q=80&w=800&auto=format&fit=crop');
    }

    .theme-dai999 .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=800&auto=format&fit=crop');
    }

    .theme-kick .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1544716278-ca5e3f4abd8c?q=80&w=800&auto=format&fit=crop');
    }

    .theme-blur-r7 .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1557683316-973673baf926?q=80&w=800&auto=format&fit=crop');
    }

    /* Default keeps color from bg-gradient  */

    .split-left-banner .banner-inner {
        position: relative;
        z-index: 2;
        color: #fff;
    }

    .banner-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        padding: 5px 12px;
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.25);
        margin-bottom: 14px;
        backdrop-filter: blur(8px);
    }

    .banner-title {
        font-size: 28px;
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -0.8px;
        margin-bottom: 10px;
    }

    .banner-desc {
        font-size: 13.5px;
        line-height: 1.65;
        opacity: 0.72;
        max-width: 240px;
    }

    .split-right-panel {
        flex: 0 0 62%;
        padding: 40px 44px;
    }
}

/* ════════════════════════════════════════════
   AUTH CARD (inner form container)
   ════════════════════════════════════════════ */
.unified-auth-card {
    width: 100%;
}

/* ════════════════════════════════════════════
   TOGGLE TABS (Sign In / Sign Up)
   ════════════════════════════════════════════ */
.auth-toggle-buttons {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 4px;
    margin: 0 auto 24px;
    width: 100%;
    position: relative;
}

.theme-glass-r7 .auth-toggle-buttons,
.theme-r8-dev .auth-toggle-buttons,
.theme-dark-r7 .auth-toggle-buttons,
.theme-dai999 .auth-toggle-buttons {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-kick .auth-toggle-buttons {
    background: rgba(14, 165, 233, 0.08);
}

.theme-blur-r7 .auth-toggle-buttons {
    background: rgba(59, 130, 246, 0.07);
}

.auth-toggle-btn {
    flex: 1;
    padding: 9px 12px;
    border: none;
    background: transparent;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--atg-text-muted);
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    white-space: nowrap;
}

.auth-toggle-btn.active {
    background: #fff;
    color: #111827;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* Dark theme active states */
.theme-glass-r7 .auth-toggle-btn.active {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.theme-r8-dev .auth-toggle-btn.active {
    background: var(--atg-primary);
    color: #fff;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.38);
}

.theme-dark-r7 .auth-toggle-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.theme-dai999 .auth-toggle-btn.active {
    background: var(--atg-primary);
    color: #fff;
    box-shadow: 0 4px 22px rgba(244, 63, 94, 0.35);
}

.theme-kick .auth-toggle-btn.active {
    background: var(--atg-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}

.theme-blur-r7 .auth-toggle-btn.active {
    background: rgba(255, 255, 255, 0.88);
    color: #1e293b;
}

/* ════════════════════════════════════════════
   FORM ANIMATIONS
   ════════════════════════════════════════════ */
.authtiger-form {
    display: none;
}

.authtiger-form.active-form {
    display: block;
    animation: authFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

/* ── Form header ── */
.form-header {
    text-align: center;
    margin-bottom: 22px;
}

.form-header h2 {
    color: var(--atg-text);
    margin: 0 0 5px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.form-header p {
    color: var(--atg-text-muted);
    font-size: 13.5px;
    margin: 0;
}

/* ════════════════════════════════════════════
   SOCIAL LOGIN BUTTONS (full-width stack)
   ════════════════════════════════════════════ */
.social-login-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

/* Each social button is full-width */
.social-full-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0 18px;
    height: 44px;
    background: var(--atg-social-bg);
    border: 1px solid var(--atg-social-border);
    border-radius: var(--atg-radius-sm);
    color: var(--atg-social-text);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.1px;
    white-space: nowrap;
}

/* Hover lift */
.social-full-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--atg-primary);
}

.theme-r8-dev .social-full-btn:hover {
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.2);
}

.theme-dai999 .social-full-btn:hover {
    box-shadow: 0 5px 20px rgba(244, 63, 94, 0.18);
}

.theme-dark-r7 .social-full-btn:hover {
    box-shadow: 0 5px 18px rgba(56, 189, 248, 0.18);
}

/* Social icons */
.social-full-btn svg {
    flex-shrink: 0;
}

.social-full-btn .s-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LinkedIn brand color on hover */
.social-full-btn.linkedin-btn:hover {
    border-color: #0077b5;
}

/* Google specific */
.social-full-btn.google-btn {
    border-color: rgba(66, 133, 244, 0.25);
}

.social-full-btn.google-btn:hover {
    border-color: #4285F4;
}

/* Facebook */
.social-full-btn.facebook-btn {
    border-color: rgba(24, 119, 242, 0.22);
}

.social-full-btn.facebook-btn:hover {
    border-color: #1877F2;
}

/* ── Or divider ── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--atg-text-muted);
    font-size: 12.5px;
    font-weight: 500;
}

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

/* ════════════════════════════════════════════
   INPUT FIELDS
   ════════════════════════════════════════════ */
.input-group {
    margin-bottom: 14px;
    position: relative;
    width: 100%;
}

.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--atg-label-color);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.input-group input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: var(--atg-input-bg);
    border: 1.5px solid var(--atg-input-border);
    border-radius: var(--atg-radius-sm);
    color: var(--atg-input-text);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.22s ease;
    box-sizing: border-box;
    outline: none;
}

.input-group input::placeholder {
    color: var(--atg-placeholder);
}

.input-group input:focus {
    border-color: var(--atg-input-focus-border);
    background: var(--atg-input-bg);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Per-theme focus shadows */
.theme-kick .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.theme-r8-dev .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

.theme-glass-r7 .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    background: rgba(255, 255, 255, 0.22);
}

.theme-dark-r7 .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.theme-dai999 .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.18);
    background: rgba(255, 255, 255, 0.1);
}

/* Eye toggle */
.toggle-password {
    position: absolute;
    right: 12px;
    bottom: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--atg-placeholder);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: var(--atg-text-muted);
}

/* Name row */
.name-split-group {
    display: flex;
    gap: 12px;
}

.name-split-group .input-group {
    flex: 1;
}

/* Forgot password */
.forgot-password-link {
    text-align: right;
    margin: -6px 0 16px;
}

.forgot-password-link a,
.text-link {
    font-size: 13px;
    color: var(--atg-primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.forgot-password-link a:hover,
.text-link:hover {
    opacity: 0.78;
}

/* Dark themes — mute the forgot link color */
.theme-glass-r7 .forgot-password-link a,
.theme-r8-dev .forgot-password-link a,
.theme-dark-r7 .forgot-password-link a,
.theme-dai999 .forgot-password-link a {
    color: var(--atg-text-muted);
}

/* ════════════════════════════════════════════
   SUBMIT BUTTON
   ════════════════════════════════════════════ */
.authtiger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    padding: 0 20px;
    background: var(--atg-primary);
    color: #fff;
    border: none;
    border-radius: var(--atg-radius-sm);
    font-size: 14.5px;
    font-weight: var(--atg-btn-weight);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.15px;
    position: relative;
    overflow: hidden;
}

.authtiger-btn.signup-btn {
    background: var(--atg-secondary, var(--atg-primary));
}

.authtiger-btn:hover {
    filter: brightness(1.07);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.3);
}

/* Button shimmer effect */
.authtiger-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.authtiger-btn:hover::after {
    transform: translateX(100%);
}

/* Per-theme button tweaks */
.theme-kick .authtiger-btn {
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}

.theme-r8-dev .authtiger-btn {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.theme-glass-r7 .authtiger-btn {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.theme-dai999 .authtiger-btn {
    box-shadow: 0 8px 26px rgba(244, 63, 94, 0.3);
}

.theme-dark-r7 .authtiger-btn {
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.28);
}

/* Switch text */
.switch-auth-text {
    text-align: center;
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--atg-text-muted);
}

.switch-auth-text a {
    color: var(--atg-primary);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.switch-auth-text a:hover {
    text-decoration: underline;
}

/* ════════════════════════════════════════════
   POPUP CONTEXT OVERRIDES
   ════════════════════════════════════════════ */
.authtiger-popup-content .unified-auth-wrapper {
    min-height: auto !important;
    padding: 0 !important;
    background: transparent !important;
}

.authtiger-popup-content .split-auth-layout {
    max-width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    border-radius: 0;
}

.authtiger-popup-content .split-left-banner {
    display: none !important;
}

.authtiger-popup-content .split-right-panel {
    padding: 0;
    width: 100%;
}

.authtiger-popup-content .unified-auth-card {
    max-width: 100%;
}

/* ════════════════════════════════════════════
   TABLET (601px – 899px)
   ════════════════════════════════════════════ */
@media (min-width: 601px) and (max-width: 899px) {
    .split-auth-layout {
        max-width: 520px;
    }

    .split-right-panel {
        padding: 38px 40px;
    }
}

/* ════════════════════════════════════════════
   MOBILE (≤ 600px) — TRUE FULL WIDTH
   ════════════════════════════════════════════ */
@media (max-width: 600px) {
    .unified-auth-wrapper {
        padding: 0;
        align-items: flex-start;
    }

    .split-auth-layout {
        max-width: 100%;
        width: 100%;
        min-height: 100vh;
        border-radius: 0 !important;
        box-shadow: none;
        border: none;
    }

    /* GlassXpt Via: Keep neon glow on mobile */
    .theme-glassxpt-via .split-auth-layout {
        border: none !important;
        box-shadow: none !important;
        animation: none;
    }

    .split-right-panel {
        padding: 40px 22px 32px;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: max(44px, 7vh);
    }

    .unified-auth-card {
        width: 100%;
    }

    .form-header {
        margin-bottom: 28px;
    }

    .form-header h2 {
        font-size: 26px;
        font-weight: 800;
    }

    .form-header p {
        font-size: 14.5px;
    }

    .auth-toggle-buttons {
        height: 48px;
        margin-bottom: 26px;
    }

    .auth-toggle-btn {
        font-size: 14px;
        font-weight: 700;
        padding: 9px 12px;
    }

    /* Full-width social buttons still stack — no changes needed */
    .name-split-group {
        flex-direction: column;
        gap: 0;
    }

    .name-split-group .input-group {
        flex: unset;
    }

    .input-group {
        margin-bottom: 14px;
    }

    .input-group label {
        font-size: 11px;
        letter-spacing: 0.8px;
    }

    .input-group input {
        height: 50px;
        font-size: 15px;
        padding: 0 18px;
    }

    .authtiger-btn {
        height: 52px;
        font-size: 15px;
        font-weight: 800;
        border-radius: 14px !important;
        margin-top: 6px;
    }

    .form-header h2 {
        font-size: 26px;
    }

    .social-full-btn {
        height: 48px;
        font-size: 14px;
        border-radius: 12px !important;
    }

    .auth-toggle-btn {
        font-size: 14px;
        padding: 9px 12px;
    }

    .switch-auth-text {
        font-size: 14px;
        margin-top: 20px;
        padding-bottom: 20px;
    }
}

/* Tiny mobile (≤ 374px) */
@media (max-width: 374px) {
    .split-right-panel {
        padding: 32px 16px 24px;
        padding-top: max(32px, 5vh);
    }

    .form-header h2 {
        font-size: 23px;
    }

    .social-full-btn {
        height: 44px;
        font-size: 13px;
    }

    .authtiger-btn {
        height: 50px !important;
    }
}

/* ════════════════════════════════════════════
   PROFESSIONAL OTP BOX STYLES
   ════════════════════════════════════════════ */
.otp-box-container {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
}

.otp-box-container input.otp-digit {
    width: 45px;
    height: 52px;
    font-size: 24px;
    text-align: center;
    border-radius: var(--atg-radius-sm);
    border: 2px solid var(--atg-input-border);
    background: var(--atg-input-bg);
    color: var(--atg-input-text);
    font-weight: 700;
    transition: all 0.2s ease;
    padding: 0;
}

.otp-box-container input.otp-digit:focus {
    border-color: var(--atg-primary);
    box-shadow: 0 0 0 3px rgba(var(--atg-primary-rgb, 59, 130, 246), 0.2);
    outline: none;
    transform: translateY(-2px);
}

.theme-r8-dev .otp-box-container input.otp-digit:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.theme-glass-r7 .otp-box-container input.otp-digit:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.theme-dai999 .otp-box-container input.otp-digit:focus {
    border-color: #f43f5e;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.2);
}