/* ═══════════════════════════════════════════════════════════════
   pages/auth.css — Auth Wrapper & Role Select Cards
   ═══════════════════════════════════════════════════════════════ */

   .auth-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-family: 'Segoe UI', sans-serif;
}

.auth-left-panel {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 60%, #1e1b6e 100%);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 3rem; position: relative; overflow: hidden;
}

.auth-right-panel {
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 3rem; background: #f8f9fc; min-height: 100vh;
}

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

.auth-role-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: white; border: 1.5px solid #eee;
    border-radius: var(--radius-lg);
    text-decoration: none; margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.15s ease; min-height: 64px;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .auth-wrapper     { display: flex; flex-direction: column; min-height: 100vh; background: var(--bg); }
    .auth-left-panel  { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 40vh; padding: 2.5rem 1.5rem 2rem; position: relative; }
    .auth-desktop-only { display: none; }
    .auth-right-panel { flex: 1; background: var(--bg); padding: 1.75rem 1.25rem 2rem; display: flex; flex-direction: column; align-items: center; width: 100%; min-height: unset; }
    .auth-cards-wrapper { width: 100%; max-width: 100%; }

    .auth-role-card {
        background: white; border-color: #eee;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    }
    .auth-role-card:hover  { background: var(--brand-light); border-color: var(--brand); transform: translateY(-1px); }
    .auth-role-card:active { background: #e4e0ff; border-color: var(--brand); transform: scale(0.98); }

    .auth-right-panel input, .auth-right-panel select { font-size: 16px; min-height: 44px; }
}

@media (max-width: 480px) {
    .auth-role-card { padding: 0.9rem 1rem; }
}