.auth-shell,
.error-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card,
.error-card {
    width: 100%;
    max-width: 520px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px 28px;
}

.auth-card-header {
    margin-bottom: 20px;
}

.auth-card-header h1,
.error-card h1 {
    margin-bottom: 8px;
}

.auth-card-header p,
.error-card p {
    color: var(--text-secondary);
}

.alert-box {
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 18px;
    font-weight: 600;
}

.alert-error {
    background: rgba(176, 32, 32, 0.08);
    border: 1px solid rgba(176, 32, 32, 0.18);
    color: #8b1e1e;
}

body.dark-mode .alert-error {
    color: #ffb3b3;
}

.error-card {
    text-align: center;
}

.error-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 72px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-submit {
    width: 100%;
}
