/* =============================================================
   Auth Tiger v3.7.0 — Core Auth UI
   Design system: Fiverr/Stripe-style split card, stacked socials
   14 Themes: default, kick, blur-r7, glass-r7, r8-dev, dark-r7,
              dai999, stripe, apple, github, notion, midnight,
              neon-cyber, ocean-wave
   ============================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Base tokens (Default / light) ── */
:root {
    --atg-pri: #1dbf73;
    --atg-prih: #19a463;
    --atg-sec: #0f172a;
    --atg-sech: #334155;
    --atg-card: #ffffff;
    --atg-card-border: rgba(0, 0, 0, 0.08);
    --atg-card-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.12);
    --atg-text: #111827;
    --atg-muted: #6b7280;
    --atg-r: 16px;
    --atg-rsm: 10px;
    --atg-inp: #f3f4f6;
    --atg-inpb: transparent;
    --atg-focus: #3b82f6;
    --atg-inpt: #111827;
    --atg-ph: #9ca3af;
    --atg-lbl: #374151;
    --atg-sbg: #ffffff;
    --atg-sbd: rgba(0, 0, 0, 0.1);
    --atg-stxt: #111827;
    --atg-div: #e5e7eb;
    --atg-bg: linear-gradient(135deg, #a8edea, #fed6e3);
    --atg-bw: 700;
    /* Legacy compat */
    --atkg-primary: var(--atg-pri);
    --atkg-text: var(--atg-text);
    --atkg-text-mut: var(--atg-muted);
    --atkg-bg: var(--atg-card);
    --atkg-border: var(--atg-card-border);
    --atkg-danger: #ef4444;
    --atkg-success: #10b981;
    --atkg-primary: var(--atg-pri);
    --atkg-radius: var(--atg-r);
    --atg-radius: var(--atg-r);
}

/* ══════════════ THEME DEFINITIONS ══════════════ */

.theme-kick,
.authtiger-wrapper.theme-kick {
    --atg-pri: #0ea5e9;
    --atg-prih: #0284c7;
    --atg-card: #ffffff;
    --atg-card-border: rgba(14, 165, 233, 0.18);
    --atg-card-shadow: 0 8px 32px rgba(14, 165, 233, 0.15);
    --atg-text: #0c2340;
    --atg-muted: #4b6484;
    --atg-r: 22px;
    --atg-inp: #f0f9ff;
    --atg-inpb: rgba(14, 165, 233, 0.18);
    --atg-focus: #0ea5e9;
    --atg-inpt: #0c2340;
    --atg-ph: #7db8d4;
    --atg-lbl: #4b6484;
    --atg-sbg: #f0f9ff;
    --atg-sbd: rgba(14, 165, 233, 0.2);
    --atg-stxt: #0c2340;
    --atg-div: rgba(14, 165, 233, 0.18);
    --atg-bg: linear-gradient(135deg, #e0f2fe, #bae6fd, #7dd3fc);
}

.theme-blur-r7,
.authtiger-wrapper.theme-blur-r7 {
    --atg-pri: #3b82f6;
    --atg-prih: #2563eb;
    --atg-card: rgba(255, 255, 255, 0.45);
    --atg-card-border: rgba(255, 255, 255, 0.72);
    --atg-card-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
    --atg-text: #1e293b;
    --atg-muted: #64748b;
    --atg-r: 24px;
    --atg-inp: rgba(255, 255, 255, 0.72);
    --atg-inpb: rgba(255, 255, 255, 0.88);
    --atg-focus: #3b82f6;
    --atg-inpt: #1e293b;
    --atg-ph: #94a3b8;
    --atg-lbl: #475569;
    --atg-sbg: rgba(255, 255, 255, 0.68);
    --atg-sbd: rgba(255, 255, 255, 0.8);
    --atg-stxt: #1e293b;
    --atg-div: rgba(100, 116, 139, 0.2);
    --atg-bg: linear-gradient(135deg, #dbeafe, #ede9fe);
}

.theme-glass-r7,
.authtiger-wrapper.theme-glass-r7 {
    --atg-pri: #10b981;
    --atg-prih: #059669;
    --atg-card: rgba(255, 255, 255, 0.1);
    --atg-card-border: rgba(255, 255, 255, 0.3);
    --atg-card-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    --atg-text: #fff;
    --atg-muted: rgba(255, 255, 255, 0.7);
    --atg-r: 20px;
    --atg-inp: rgba(255, 255, 255, 0.15);
    --atg-inpb: rgba(255, 255, 255, 0.28);
    --atg-focus: #10b981;
    --atg-inpt: #fff;
    --atg-ph: rgba(255, 255, 255, 0.48);
    --atg-lbl: rgba(255, 255, 255, 0.68);
    --atg-sbg: rgba(255, 255, 255, 0.1);
    --atg-sbd: rgba(255, 255, 255, 0.22);
    --atg-stxt: #fff;
    --atg-div: rgba(255, 255, 255, 0.18);
    --atg-bg: linear-gradient(135deg, #134e5e, #71b280);
}

.theme-r8-dev,
.authtiger-wrapper.theme-r8-dev {
    --atg-pri: #8b5cf6;
    --atg-prih: #7c3aed;
    --atg-sec: #06b6d4;
    --atg-sech: #0891b2;
    --atg-card: rgba(20, 20, 40, 0.68);
    --atg-card-border: rgba(139, 92, 246, 0.22);
    --atg-card-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(139, 92, 246, 0.1);
    --atg-text: #f1f5f9;
    --atg-muted: #a5b4fc;
    --atg-r: 22px;
    --atg-inp: rgba(255, 255, 255, 0.07);
    --atg-inpb: rgba(139, 92, 246, 0.22);
    --atg-focus: #8b5cf6;
    --atg-inpt: #f1f5f9;
    --atg-ph: rgba(165, 180, 252, 0.5);
    --atg-lbl: #a5b4fc;
    --atg-sbg: rgba(255, 255, 255, 0.06);
    --atg-sbd: rgba(139, 92, 246, 0.22);
    --atg-stxt: #f1f5f9;
    --atg-div: rgba(139, 92, 246, 0.22);
    --atg-bg: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

.theme-dark-r7,
.authtiger-wrapper.theme-dark-r7 {
    --atg-pri: #f43f5e;
    --atg-prih: #e11d48;
    --atg-card: rgba(10, 15, 30, 0.85);
    --atg-card-border: rgba(244, 63, 94, 0.18);
    --atg-card-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    --atg-text: #f1f5f9;
    --atg-muted: #94a3b8;
    --atg-r: 20px;
    --atg-inp: rgba(255, 255, 255, 0.88);
    --atg-inpb: transparent;
    --atg-focus: #f43f5e;
    --atg-inpt: #0f172a;
    --atg-ph: #94a3b8;
    --atg-lbl: #94a3b8;
    --atg-sbg: rgba(255, 255, 255, 0.07);
    --atg-sbd: rgba(244, 63, 94, 0.18);
    --atg-stxt: #f1f5f9;
    --atg-div: rgba(244, 63, 94, 0.2);
    --atg-bg: linear-gradient(165deg, #0f2027, #203a43, #2c5364);
}

.theme-dai999,
.authtiger-wrapper.theme-dai999 {
    --atg-pri: #f43f5e;
    --atg-prih: #e11d48;
    --atg-sec: #8b5cf6;
    --atg-sech: #7c3aed;
    --atg-card: rgba(9, 9, 11, 0.78);
    --atg-card-border: rgba(244, 63, 94, 0.22);
    --atg-card-shadow: 0 30px 70px rgba(0, 0, 0, 0.72), 0 0 40px rgba(244, 63, 94, 0.1);
    --atg-text: #fafafa;
    --atg-muted: #a1a1aa;
    --atg-r: 26px;
    --atg-inp: rgba(255, 255, 255, 0.06);
    --atg-inpb: rgba(244, 63, 94, 0.2);
    --atg-focus: #f43f5e;
    --atg-inpt: #fafafa;
    --atg-ph: rgba(161, 161, 170, 0.65);
    --atg-lbl: #a1a1aa;
    --atg-sbg: rgba(255, 255, 255, 0.05);
    --atg-sbd: rgba(244, 63, 94, 0.2);
    --atg-stxt: #fafafa;
    --atg-div: rgba(244, 63, 94, 0.18);
    --atg-bg: radial-gradient(ellipse at top, #1a0010 0%, #09090b 65%);
}

.theme-stripe,
.authtiger-wrapper.theme-stripe {
    --atg-pri: #635bff;
    --atg-prih: #4f46e5;
    --atg-card: #fff;
    --atg-card-border: rgba(99, 91, 255, 0.12);
    --atg-card-shadow: 0 12px 40px rgba(99, 91, 255, 0.12);
    --atg-text: #0a2540;
    --atg-muted: #425466;
    --atg-r: 12px;
    --atg-rsm: 8px;
    --atg-inp: #f6f9fc;
    --atg-inpb: rgba(0, 0, 0, 0.12);
    --atg-focus: #635bff;
    --atg-inpt: #0a2540;
    --atg-ph: #8898aa;
    --atg-lbl: #425466;
    --atg-sbg: #f6f9fc;
    --atg-sbd: rgba(0, 0, 0, 0.12);
    --atg-stxt: #0a2540;
    --atg-div: #e0e6ed;
    --atg-bg: linear-gradient(135deg, #f8f6ff, #ede9fe, #ddd6fe);
}

.theme-apple,
.authtiger-wrapper.theme-apple {
    --atg-pri: #007aff;
    --atg-prih: #0062cc;
    --atg-card: rgba(255, 255, 255, 0.85);
    --atg-card-border: rgba(0, 0, 0, 0.08);
    --atg-card-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    --atg-text: #1d1d1f;
    --atg-muted: #6e6e73;
    --atg-r: 18px;
    --atg-rsm: 12px;
    --atg-inp: #f5f5f7;
    --atg-inpb: transparent;
    --atg-focus: #007aff;
    --atg-inpt: #1d1d1f;
    --atg-ph: #8e8e93;
    --atg-lbl: #6e6e73;
    --atg-sbg: rgba(255, 255, 255, 0.7);
    --atg-sbd: rgba(0, 0, 0, 0.1);
    --atg-stxt: #1d1d1f;
    --atg-div: rgba(0, 0, 0, 0.08);
    --atg-bw: 600;
    --atg-bg: linear-gradient(180deg, #f5f5f7, #e8e8ed);
}

.theme-github,
.authtiger-wrapper.theme-github {
    --atg-pri: #2da44e;
    --atg-prih: #218739;
    --atg-card: #161b22;
    --atg-card-border: #30363d;
    --atg-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    --atg-text: #e6edf3;
    --atg-muted: #7d8590;
    --atg-r: 6px;
    --atg-rsm: 6px;
    --atg-inp: #0d1117;
    --atg-inpb: #30363d;
    --atg-focus: #2da44e;
    --atg-inpt: #e6edf3;
    --atg-ph: #484f58;
    --atg-lbl: #7d8590;
    --atg-sbg: #21262d;
    --atg-sbd: #30363d;
    --atg-stxt: #e6edf3;
    --atg-div: #21262d;
    --atg-bw: 600;
    --atg-bg: linear-gradient(180deg, #0d1117, #161b22);
}

.theme-notion,
.authtiger-wrapper.theme-notion {
    --atg-pri: #000;
    --atg-prih: #1a1a1a;
    --atg-card: #fff;
    --atg-card-border: rgba(0, 0, 0, 0.08);
    --atg-card-shadow: rgba(15, 15, 15, 0.1) 0 0 0 1px, rgba(15, 15, 15, 0.1) 0 2px 4px;
    --atg-text: #37352f;
    --atg-muted: #787774;
    --atg-r: 4px;
    --atg-rsm: 4px;
    --atg-inp: #f7f6f3;
    --atg-inpb: rgba(0, 0, 0, 0.07);
    --atg-focus: #000;
    --atg-inpt: #37352f;
    --atg-ph: #9b9a97;
    --atg-lbl: #787774;
    --atg-sbg: #f7f6f3;
    --atg-sbd: rgba(0, 0, 0, 0.1);
    --atg-stxt: #37352f;
    --atg-div: #e3e2e0;
    --atg-bw: 600;
    --atg-bg: linear-gradient(135deg, #f7f6f3, #ede9e3);
}

.theme-midnight,
.authtiger-wrapper.theme-midnight {
    --atg-pri: #818cf8;
    --atg-prih: #6366f1;
    --atg-card: rgba(30, 27, 75, 0.7);
    --atg-card-border: rgba(129, 140, 248, 0.18);
    --atg-card-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(129, 140, 248, 0.08);
    --atg-text: #e0e7ff;
    --atg-muted: #818cf8;
    --atg-r: 18px;
    --atg-inp: rgba(255, 255, 255, 0.06);
    --atg-inpb: rgba(129, 140, 248, 0.2);
    --atg-focus: #818cf8;
    --atg-inpt: #e0e7ff;
    --atg-ph: rgba(129, 140, 248, 0.5);
    --atg-lbl: #818cf8;
    --atg-sbg: rgba(255, 255, 255, 0.05);
    --atg-sbd: rgba(129, 140, 248, 0.2);
    --atg-stxt: #e0e7ff;
    --atg-div: rgba(129, 140, 248, 0.18);
    --atg-bg: radial-gradient(ellipse at 60% 0%, #1e1b4b, #0f0a2e 55%, #030010);
}

.theme-neon-cyber,
.authtiger-wrapper.theme-neon-cyber {
    --atg-pri: #00ff87;
    --atg-prih: #00d474;
    --atg-sec: #00e0ff;
    --atg-sech: #00b8d4;
    --atg-card: rgba(0, 20, 0, 0.82);
    --atg-card-border: rgba(0, 255, 135, 0.18);
    --atg-card-shadow: 0 0 40px rgba(0, 255, 135, 0.08), 0 25px 60px rgba(0, 0, 0, 0.7);
    --atg-text: #d4ffe8;
    --atg-muted: #4cff8e;
    --atg-r: 4px;
    --atg-inp: rgba(0, 255, 135, 0.05);
    --atg-inpb: rgba(0, 255, 135, 0.18);
    --atg-focus: #00ff87;
    --atg-inpt: #d4ffe8;
    --atg-ph: rgba(76, 255, 142, 0.45);
    --atg-lbl: #4cff8e;
    --atg-sbg: rgba(0, 255, 135, 0.04);
    --atg-sbd: rgba(0, 255, 135, 0.15);
    --atg-stxt: #d4ffe8;
    --atg-div: rgba(0, 255, 135, 0.15);
    --atg-bg: radial-gradient(ellipse at center, #001a00, #000d00);
}

.theme-ocean-wave,
.authtiger-wrapper.theme-ocean-wave {
    --atg-pri: #06b6d4;
    --atg-prih: #0891b2;
    --atg-card: rgba(6, 182, 212, 0.1);
    --atg-card-border: rgba(6, 182, 212, 0.25);
    --atg-card-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    --atg-text: #ecfeff;
    --atg-muted: rgba(207, 250, 254, 0.72);
    --atg-r: 24px;
    --atg-inp: rgba(255, 255, 255, 0.12);
    --atg-inpb: rgba(6, 182, 212, 0.25);
    --atg-focus: #06b6d4;
    --atg-inpt: #ecfeff;
    --atg-ph: rgba(207, 250, 254, 0.48);
    --atg-lbl: rgba(207, 250, 254, 0.72);
    --atg-sbg: rgba(255, 255, 255, 0.08);
    --atg-sbd: rgba(6, 182, 212, 0.25);
    --atg-stxt: #ecfeff;
    --atg-div: rgba(6, 182, 212, 0.2);
    --atg-bg: linear-gradient(180deg, #0c4a6e, #0e7490 30%, #155e75);
}

/* ══════════════ WRAPPER ══════════════ */
.authtiger-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: var(--atg-bg) !important;
    box-sizing: border-box;
    position: relative;
    line-height: 1.5;
}

.authtiger-wrapper.shortcode-wrapper,
.unified-auth-wrapper.shortcode-wrapper {
    min-height: auto;
    background: transparent !important;
    padding: 0;
}

/* Background layer for page-wide bg images */
.split-bg-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--atg-bg);
    background-size: cover;
    background-position: center;
}

/* ══════════════ SPLIT CARD ══════════════ */
.split-auth-layout,
.authtiger-glass-card {
    display: flex;
    width: 100%;
    max-width: 460px;
    background: var(--atg-card);
    border: 1px solid var(--atg-card-border);
    border-radius: var(--atg-r);
    box-shadow: var(--atg-card-shadow);
    overflow: hidden;
    position: relative;
    z-index: 10;
    animation: authFadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass blur for dark/glass themes */
.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,
.theme-midnight .split-auth-layout,
.theme-neon-cyber .split-auth-layout,
.theme-ocean-wave .split-auth-layout,
.theme-apple .split-auth-layout,
.theme-blur-r7 .authtiger-glass-card,
.theme-glass-r7 .authtiger-glass-card,
.theme-r8-dev .authtiger-glass-card,
.theme-dark-r7 .authtiger-glass-card,
.theme-dai999 .authtiger-glass-card,
.theme-midnight .authtiger-glass-card,
.theme-neon-cyber .authtiger-glass-card,
.theme-ocean-wave .authtiger-glass-card,
.theme-apple .authtiger-glass-card {
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

/* Disable legacy glow pseudo-elements */
.authtiger-glass-card::after,
.authtiger-glass-card::before {
    display: none !important;
}

/* ── Left banner — hidden mobile, visible desktop ── */
.split-left-banner {
    display: none;
}

/* ── Right panel ── */
.split-right-panel {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 36px 32px 32px;
}

/* ══════════════ DESKTOP SPLIT (≥900px) ══════════════ */
@media (min-width: 900px) {

    .split-auth-layout,
    .authtiger-glass-card {
        max-width: 860px;
        flex-direction: row;
    }

    .split-left-banner {
        display: flex;
        flex: 0 0 38%;
        flex-direction: column;
        justify-content: flex-end;
        padding: 36px 30px;
        position: relative;
        overflow: hidden;
        background-size: cover !important;
        background-position: center !important;
        background-color: rgba(0, 0, 0, 0.3);
        min-height: 540px;
    }

    .split-left-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.75) 100%);
        z-index: 1;
    }

    .split-left-banner .banner-inner {
        position: relative;
        z-index: 2;
        color: #fff;
    }

    .banner-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 10.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        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: 13px;
        line-height: 1.65;
        opacity: 0.72;
        max-width: 240px;
    }

    /* 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-1557682250-33bd709cbe85?q=80&w=800&auto=format&fit=crop');
    }

    .theme-stripe .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1563986768494-4dee2763ff3f?q=80&w=800&auto=format&fit=crop');
    }

    .theme-apple .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1621768216002-5ac171661d5e?q=80&w=800&auto=format&fit=crop');
    }

    .theme-github .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1618609377864-68609b857e90?q=80&w=800&auto=format&fit=crop');
    }

    .theme-notion .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1586281380349-632531db7ed4?q=80&w=800&auto=format&fit=crop');
    }

    .theme-midnight .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1534796636912-3b95b3ab5986?q=80&w=800&auto=format&fit=crop');
    }

    .theme-neon-cyber .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?q=80&w=800&auto=format&fit=crop');
    }

    .theme-ocean-wave .split-left-banner {
        background-image: url('https://images.unsplash.com/photo-1505118380757-91f5f5632de0?q=80&w=800&auto=format&fit=crop');
    }

    .split-right-panel {
        flex: 0 0 62%;
        padding: 40px 44px;
    }
}

/* ══════════════ AUTH CARD INNER ══════════════ */
.unified-auth-card {
    width: 100%;
}

/* ══════════════ TOGGLE TABS ══════════════ */
.auth-toggle-buttons,
.authtiger-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 22px;
    width: 100%;
}

.theme-glass-r7 .auth-toggle-buttons,
.theme-r8-dev .auth-toggle-buttons,
.theme-dark-r7 .auth-toggle-buttons,
.theme-dai999 .auth-toggle-buttons,
.theme-midnight .auth-toggle-buttons,
.theme-neon-cyber .auth-toggle-buttons,
.theme-ocean-wave .auth-toggle-buttons,
.theme-github .auth-toggle-buttons {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-stripe .auth-toggle-buttons {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.theme-notion .auth-toggle-buttons {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 4px;
}

.theme-github .auth-toggle-buttons {
    border-radius: 6px;
}

.auth-toggle-btn,
.authtiger-tab-btn {
    flex: 1;
    padding: 9px 12px;
    border: none;
    background: transparent;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--atg-muted);
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    white-space: nowrap;
}

.auth-toggle-btn.active,
.authtiger-tab-btn.active {
    background: #fff;
    color: #111827;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.theme-r8-dev .auth-toggle-btn.active {
    background: var(--atg-pri);
    color: #fff;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.38);
}

.theme-dark-r7 .auth-toggle-btn.active {
    background: var(--atg-pri);
    color: #fff;
    box-shadow: 0 4px 18px rgba(244, 63, 94, 0.35);
}

.theme-dai999 .auth-toggle-btn.active {
    background: var(--atg-pri);
    color: #fff;
    box-shadow: 0 4px 22px rgba(244, 63, 94, 0.35);
}

.theme-glass-r7 .auth-toggle-btn.active {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.theme-kick .auth-toggle-btn.active {
    background: var(--atg-pri);
    color: #fff;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}

.theme-midnight .auth-toggle-btn.active {
    background: var(--atg-pri);
    color: #fff;
    box-shadow: 0 4px 20px rgba(129, 140, 248, 0.4);
}

.theme-neon-cyber .auth-toggle-btn.active {
    background: var(--atg-pri);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.35);
}

.theme-ocean-wave .auth-toggle-btn.active {
    background: var(--atg-pri);
    color: #fff;
}

.theme-github .auth-toggle-btn.active {
    background: #21262d;
    color: #e6edf3;
    border-radius: 6px;
    border: 1px solid #30363d;
}

.theme-notion .auth-toggle-btn.active {
    background: #fff;
    color: #37352f;
    border-radius: 3px;
    box-shadow: rgba(15, 15, 15, 0.1) 0 0 0 1px;
}

.theme-stripe .auth-toggle-btn.active {
    background: var(--atg-pri);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(99, 91, 255, 0.3);
}

.theme-apple .auth-toggle-btn.active {
    background: var(--atg-pri);
    color: #fff;
    border-radius: 12px;
}

.theme-blur-r7 .auth-toggle-btn.active {
    background: rgba(255, 255, 255, 0.88);
    color: #1e293b;
}

/* ══════════════ FORMS ══════════════ */
.authtiger-form {
    display: none;
}

.authtiger-form.active-form {
    display: block;
    animation: authFade 0.34s 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: 20px;
}

.form-header h2 {
    color: var(--atg-text);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.4px;
    margin: 0 0 4px;
}

.form-header p {
    color: var(--atg-muted);
    font-size: 13.5px;
    margin: 0;
}

/* ══════════════ SOCIAL BUTTONS (full-width stacked) ══════════════ */
.top-social-actions,
.social-login-stack {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 16px;
}

/* Legacy row layout override → stack */
.social-circle-btn,
.social-btn,
.social-full-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    height: 44px !important;
    padding: 0 16px !important;
    background: var(--atg-sbg) !important;
    border: 1.5px solid var(--atg-sbd) !important;
    border-radius: var(--atg-rsm) !important;
    color: var(--atg-stxt) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex: unset !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box;
}

.social-circle-btn:hover,
.social-btn:hover,
.social-full-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--atg-pri) !important;
}

.theme-r8-dev .social-circle-btn:hover,
.theme-r8-dev .social-btn:hover {
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.22);
}

.theme-dai999 .social-circle-btn:hover,
.theme-dai999 .social-btn:hover {
    box-shadow: 0 5px 20px rgba(244, 63, 94, 0.2);
}

.theme-neon-cyber .social-btn:hover {
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.18);
}

/* ── Divider ── */
.auth-divider,
.social-login-divider {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--atg-muted);
    font-size: 12.5px;
    font-weight: 500;
    text-align: left !important;
    position: static !important;
}

.auth-divider::before,
.auth-divider::after,
.social-login-divider::before,
.social-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--atg-div);
    position: static !important;
    top: auto !important;
    width: auto !important;
}

.social-login-divider span {
    padding: 0 !important;
    background: transparent !important;
}

/* ══════════════ INPUT FIELDS ══════════════ */
.input-group {
    margin-bottom: 13px;
    position: relative;
    width: 100%;
}

/* Label always above */
.input-group label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--atg-lbl);
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.theme-notion .input-group label,
.theme-github .input-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.input-group .icon {
    display: none !important;
}

.input-group input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: var(--atg-inp) !important;
    border: 1.5px solid var(--atg-inpb, transparent) !important;
    border-radius: var(--atg-rsm);
    color: var(--atg-inpt) !important;
    font-size: 14.5px;
    font-weight: 500;
    font-family: 'Outfit', 'Inter', sans-serif;
    transition: all 0.25s ease;
    box-sizing: border-box;
    outline: none;
    box-shadow: none !important;
}

.input-group input::placeholder {
    color: var(--atg-ph) !important;
    font-weight: 400;
}

.input-group input:focus {
    border-color: var(--atg-focus) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.theme-r8-dev .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.theme-dai999 .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15) !important;
    background: rgba(255, 255, 255, 0.09) !important;
}

.theme-dark-r7 .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15) !important;
}

.theme-glass-r7 .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
    background: rgba(255, 255, 255, 0.22) !important;
}

.theme-neon-cyber .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(0, 255, 135, 0.15) !important;
}

.theme-midnight .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.18) !important;
}

.theme-stripe .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15) !important;
}

.theme-apple .input-group input:focus {
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2) !important;
}

.theme-github .input-group input {
    background: #0d1117 !important;
    border: 1px solid #30363d !important;
    border-radius: 6px;
}

.theme-github .input-group input:focus {
    border-color: #1f6feb !important;
    box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.15) !important;
}

.theme-notion .input-group input {
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 3px;
    background: #fff !important;
}

.theme-notion .input-group input:focus {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15) !important;
}

/* Eye toggle */
.toggle-password {
    position: absolute;
    right: 12px;
    bottom: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--atg-ph);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    font-size: 1rem;
}

.toggle-password:hover {
    color: var(--atg-muted);
    opacity: 1;
}

/* Name row */
.name-split-group {
    display: flex;
    gap: 10px;
}

.name-split-group .input-group {
    flex: 1;
}

/* Forgot password */
.forgot-password-link {
    text-align: right;
    margin: -4px 0 14px;
}

.forgot-password-link a,
.forgot-link {
    font-size: 12.5px;
    color: var(--atg-muted);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.forgot-password-link a:hover,
.forgot-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ══════════════ SUBMIT BUTTON ══════════════ */
.authtiger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 50px;
    padding: 0 20px !important;
    background: var(--atg-pri) !important;
    color: #fff !important;
    border: none;
    border-radius: var(--atg-rsm) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: 'Outfit', 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 16px -2px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.3px;
    text-transform: none !important;
    position: relative;
    overflow: hidden;
}

.authtiger-btn.signup-btn {
    background: var(--atg-sec, var(--atg-pri)) !important;
}

.authtiger-btn:hover {
    filter: brightness(1.07);
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.3);
}

.authtiger-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.authtiger-btn:hover::after {
    transform: translateX(100%);
}

/* Neon — dark text on bright button */
.theme-neon-cyber .authtiger-btn {
    color: #000 !important;
    font-weight: 800 !important;
}

.theme-notion .authtiger-btn {
    background: #000 !important;
    border-radius: 3px !important;
    box-shadow: rgba(15, 15, 15, 0.1) 0 0 0 1px;
}

/* Per-theme button glows */
.theme-kick .authtiger-btn {
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.32);
}

.theme-r8-dev .authtiger-btn {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.32);
}

.theme-glass-r7 .authtiger-btn {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.32);
}

.theme-dai999 .authtiger-btn {
    box-shadow: 0 8px 26px rgba(244, 63, 94, 0.35);
}

.theme-dark-r7 .authtiger-btn {
    box-shadow: 0 8px 26px rgba(244, 63, 94, 0.35);
}

.theme-stripe .authtiger-btn {
    box-shadow: 0 6px 20px rgba(99, 91, 255, 0.32);
}

.theme-midnight .authtiger-btn {
    box-shadow: 0 6px 22px rgba(129, 140, 248, 0.32);
}

.theme-neon-cyber .authtiger-btn {
    box-shadow: 0 0 30px rgba(0, 255, 135, 0.3);
}

.theme-ocean-wave .authtiger-btn {
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.32);
}

.theme-github .authtiger-btn {
    border-radius: 6px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Switch text */
.switch-auth-text {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: var(--atg-muted);
}

.switch-auth-text a {
    color: var(--atg-pri);
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.switch-auth-text a:hover {
    text-decoration: underline;
}

/* ══════════════ ALERTS ══════════════ */
.authtiger-alert {
    padding: 12px 16px;
    border-radius: var(--atg-rsm);
    margin-bottom: 16px;
    font-size: 13.5px;
    text-align: center;
    border: 1px solid transparent;
}

.authtiger-alert.error {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.2);
}

.authtiger-alert.success {
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.2);
}

/* ══════════════ TOAST ══════════════ */
#authtiger-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.authtiger-toast {
    background: var(--atg-card);
    border: 1px solid var(--atg-card-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 14px 20px;
    color: var(--atg-text);
    font-weight: 500;
    min-width: 250px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    pointer-events: auto;
}

.authtiger-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.authtiger-toast.success {
    border-left: 4px solid #10b981;
}

.authtiger-toast.error {
    border-left: 4px solid #ef4444;
}

.authtiger-toast.info {
    border-left: 4px solid #3b82f6;
}

/* Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: #fff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

/* ══════════════ PASSWORD STRENGTH ══════════════ */
.password-strength-container {
    margin-top: -4px;
    margin-bottom: 12px;
}

.strength-bar-bg {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar-fill {
    height: 100%;
    width: 0;
    transition: all 0.3s;
}

.strength-text {
    font-size: 11px;
    margin-top: 4px;
    text-align: right;
    color: var(--atg-muted);
}

/* ══════════════ RESPONSIVE — MOBILE FULL WIDTH ══════════════ */
@media (min-width: 601px) and (max-width: 899px) {

    .split-auth-layout,
    .authtiger-glass-card {
        max-width: 520px;
    }

    .split-right-panel {
        padding: 38px 40px;
    }
}

/* === Mobile: True Full-Width Form === */
@media (max-width: 600px) {

    .authtiger-wrapper,
    .unified-auth-wrapper {
        padding: 0;
        align-items: flex-start;
    }

    .split-auth-layout,
    .authtiger-glass-card {
        max-width: 100%;
        width: 100%;
        min-height: 100vh;
        border-radius: 0 !important;
        box-shadow: none;
        border: none;
    }

    .split-right-panel {
        padding: 40px 22px 32px;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: max(40px, 6vh);
    }

    .unified-auth-card {
        width: 100%;
    }

    .form-header {
        margin-bottom: 28px;
    }

    .form-header h2 {
        font-size: 26px;
        font-weight: 800;
    }

    .form-header p {
        font-size: 14px;
    }

    .auth-toggle-buttons,
    .authtiger-tabs {
        height: 46px;
        margin-bottom: 24px;
    }

    .auth-toggle-btn,
    .authtiger-tab-btn {
        font-size: 14px;
        font-weight: 700;
    }

    .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 !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        border-radius: 14px !important;
        margin-top: 6px;
    }

    .social-circle-btn,
    .social-btn,
    .social-full-btn {
        height: 48px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }

    .auth-divider,
    .social-login-divider {
        margin-bottom: 18px;
    }

    .switch-auth-text {
        font-size: 14px;
        margin-top: 20px;
        margin-bottom: 24px;
    }
}

@media (max-width: 374px) {
    .split-right-panel {
        padding: 32px 16px 24px;
    }

    .form-header h2 {
        font-size: 23px;
    }

    .social-circle-btn,
    .social-btn,
    .social-full-btn {
        height: 44px !important;
        font-size: 13px !important;
    }
}

/* ══════════════ POPUP CONTEXT OVERRIDES ══════════════ */
.authtiger-popup-content .unified-auth-wrapper,
.authtiger-popup-content .authtiger-wrapper {
    min-height: auto !important;
    padding: 0 !important;
    background: transparent !important;
}

.authtiger-popup-content .split-auth-layout,
.authtiger-popup-content .authtiger-glass-card {
    max-width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    border-radius: 0;
    animation: none;
}

.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%;
}