/* ============================================================
   ÜÇÜNCÜ BİNYIL — Hesap (Account) sayfaları
   Ortalı auth kartı düzeni. site.css + components.css üstüne katman.
   ============================================================ */

/* ---------- Ortalı auth kabuğu ---------- */
.auth-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 260px);
    padding: 40px 16px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 36px 32px;
}

/* ---------- Metin logo ---------- */
.auth-logo {
    display: block;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--primary);
    margin-bottom: 24px;
}

.auth-logo:hover {
    color: var(--primary-hover);
}

/* ---------- Başlıklar ---------- */
.auth-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    margin-bottom: 6px;
}

.auth-sub {
    font-size: 14px;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* ---------- Doğrulama özeti ---------- */
.auth-validation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-validation.validation-summary-valid {
    display: none;
}

.auth-validation.validation-summary-errors {
    display: block;
    background: #fdecea;
    color: #b02a1c;
    border: 1px solid #f5c6c0;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 20px;
}

.auth-validation.validation-summary-errors li {
    margin: 2px 0;
}

/* ---------- Şifremi unuttum satırı ---------- */
.auth-forgot {
    display: block;
    text-align: right;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    margin: -6px 0 18px;
}

.auth-forgot:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* ---------- Alt link satırı ---------- */
.auth-alt {
    text-align: center;
    font-size: 14px;
    color: var(--ink-soft);
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.auth-alt a {
    color: var(--primary);
    font-weight: 600;
}

.auth-alt a:hover {
    color: var(--primary-hover);
}

/* ---------- Geri dön linki (tek satır, çizgisiz) ---------- */
.auth-back {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--ink-soft);
    margin-top: 22px;
}

.auth-back:hover {
    color: var(--primary);
}

/* ---------- Erişim reddedildi ---------- */
.auth-denied {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px 80px;
}

.auth-denied-icon {
    width: 84px;
    height: 84px;
    color: var(--danger);
    margin: 0 auto 20px;
}

.auth-denied h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 10px;
}

.auth-denied p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 26px;
}

.auth-denied-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 28px 22px;
    }
}
