/* ============================================
   Auth Pages — Login / Register
   ============================================ */

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-brand {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px;
}

.auth-brand-content {
    position: relative;
    z-index: 1;
}

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: var(--bg-primary);
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-chart {
    opacity: 0.5;
}

/* 2FA UI */
.two-fa-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 24px 0;
}

.two-fa-inputs input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-fast);
}

.two-fa-inputs input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

/* Terms checkbox */
.terms-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.terms-text a {
    color: var(--accent);
}

@media (max-width: 968px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-brand {
        display: none;
    }

    .auth-form-panel {
        padding: 40px 24px;
        min-height: 100vh;
    }
}