/* ═══════════════════════════════════════════
   ACADEMETIA — AUTH PAGE OVERRIDES
   ═══════════════════════════════════════════ */

.auth-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg-primary);
    position: relative;
}

.auth-logo {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10;
}

.auth-main {
    width: 100%;
    max-width: 480px;
}

.auth-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-xl);
}

.auth-card-wide {
    max-width: 560px;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-card-header h1 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.auth-card-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.auth-form {
    margin-bottom: 20px;
}

.auth-footer-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--text-link);
    font-weight: 500;
}

.auth-link:hover {
    color: var(--accent-hover);
}

/* ── Role Selector ── */
.role-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.role-option {
    cursor: pointer;
}

.role-option input {
    display: none;
}

.role-option-inner {
    padding: 14px 10px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    background: var(--bg-input);
    text-align: center;
    transition: all var(--transition-fast);
}

.role-option-inner:hover {
    border-color: var(--border-strong);
}

.role-option-selected .role-option-inner {
    border-color: var(--accent);
    background: var(--accent-muted);
}

.role-option-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.role-option-desc {
    display: block;
    font-size: 11px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

@media (max-width: 480px) {
    .role-selector {
        grid-template-columns: 1fr;
    }
    .auth-card {
        padding: 24px;
        border-radius: var(--radius-lg);
    }
    .auth-card-wide {
        max-width: 100%;
    }
}

/* ── Auth background decoration ── */
.auth-body::before {
    content: '';
    position: fixed;
    top: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.04;
    filter: blur(100px);
    pointer-events: none;
}

.auth-body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--indigo);
    opacity: 0.04;
    filter: blur(100px);
    pointer-events: none;
}