/* ─── Auth Layout ────────────────────────────────────────────── */
.auth-body {
    min-height: 100vh;
    background: var(--bg-base);
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Left brand panel */
.auth-brand {
    position: relative;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid var(--border);
}

.auth-brand-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(255,122,0,.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(255,176,0,.10) 0%, transparent 50%);
}

.auth-logo {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-decoration: none;
}

/* Right panel */
.auth-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) var(--space-7);
}

.auth-box {
    width: 100%;
    max-width: 420px;
}

.auth-header {
    margin-bottom: var(--space-6);
}

.auth-header h2 {
    font-size: 1.75rem;
    margin-bottom: var(--space-2);
}

.auth-note {
    margin-top: var(--space-5);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-note a { color: var(--orange); }
.auth-note a:hover { color: var(--orange-light); }

.auth-footer-link {
    margin-top: var(--space-5);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer-link a { color: var(--text-muted); }
.auth-footer-link a:hover { color: var(--orange); }

/* Password toggle */
.input-password-wrap {
    position: relative;
}

.input-password-wrap .form-control {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0;
    cursor: pointer;
    transition: color var(--transition);
}

.toggle-password:hover { color: var(--orange); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }
    .auth-brand {
        min-height: 120px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .auth-logo { font-size: 2.5rem; }
    .auth-panel { padding: var(--space-6) var(--space-4); }
}
