/* SMS0X Auth Portal - Split Panel Layout */

:root {
    --primary: #0F172A;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.1);
    --bg-body: #09090b;
    --bg-secondary: #F8FAFC;
    --text-main: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    --radius-xl: 20px;
    --radius-lg: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg-body);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-x: hidden;
}

/* ── Split Shell ── */
.auth-container {
    width: 100%;
    max-width: 880px;
    position: relative;
    z-index: 10;
}

.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    animation: fadeInScale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Left Brand Panel ── */
.auth-brand {
    background: #09090b;
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-brand::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.brand-top {
    position: relative;
    z-index: 1;
}

.brand-top .logo-img {
    height: 26px;
    width: auto;
    margin-bottom: 40px;
    display: block;
}

.brand-top h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.brand-top h2 span {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-top p {
    font-size: 14px;
    color: #71717a;
    line-height: 1.6;
}

.brand-bottom {
    position: relative;
    z-index: 1;
}

.brand-stats {
    display: flex;
    gap: 28px;
    margin-bottom: 24px;
}

.brand-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    display: block;
}

.brand-stat-label {
    font-size: 11px;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.brand-trust {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #52525b;
    font-weight: 600;
}

.brand-trust svg {
    width: 14px;
    height: 14px;
    color: #10b981;
}

/* ── Right Form Panel ── */
.auth-card {
    background: #ffffff;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.auth-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    background: var(--bg-secondary);
    transition: all 0.25s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-wrap input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-wrap span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: var(--primary);
}

.btn-primary {
    width: 100%;
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
    background: #1e293b;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: var(--primary);
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary);
}

.btn-primary i {
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 720px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-brand {
        padding: 32px 28px 24px;
    }

    .brand-top h2 {
        font-size: 20px;
    }

    .brand-top .logo-img {
        margin-bottom: 20px;
    }

    .brand-stats {
        margin-top: 16px;
    }

    .auth-card {
        padding: 32px 28px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .auth-shell {
        border-radius: 0;
        min-height: 100vh;
    }

    .auth-brand {
        padding: 24px 20px 20px;
    }

    .brand-top h2 {
        font-size: 18px;
    }

    .brand-bottom {
        display: none;
    }

    .auth-card {
        padding: 28px 20px;
    }
}
