/* auth.css — giriş / kayıt / şifre sıfırlama / demo kayıt sayfalarının ortak stili.
 *
 * Bu beş sayfa aynı kartı beş ayrı <style> bloğunda kopyalıyordu. Yerleşim
 * yoğunluğu ve kart genişliği modifier sınıfla korunuyor:
 *
 *   .auth-card              varsayılan — 400px, geniş yerleşim (şifremi-unuttum, şifre-sıfırla)
 *   .auth-card--dar         360px genişlik (giriş)
 *   .auth-card--sik         sıkı yerleşim — uzun formlar (kayıt, demo kayıt)
 *   body.auth-scroll        dikey taşan formlar için üst/alt boşluk
 *
 * Yalnızca bu sayfalarda yüklenir ($groupCss), global katmanlara sızmaz.
 */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #343232;
    color: #3e4a58;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
body.auth-scroll { padding: 24px 0; }

.auth-card {
    background: #fff;
    border-radius: 12px;
    padding: 34px 30px;
    width: 400px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.auth-card--dar { width: 360px; }
.auth-card--sik { padding: 32px 30px; }

.brand { text-align: center; margin-bottom: 22px; }
.auth-card--sik .brand { margin-bottom: 20px; }
.brand h1 { font-size: 22px; color: #343232; }
.brand h1 span { color: var(--ifs-accent); }
.brand img { height: 38px; width: auto; margin-bottom: 6px; }
.brand p { font-size: 13px; color: #9aa4b0; margin-top: 4px; }
.auth-card--sik .brand p { margin-top: 2px; }

.field { margin-bottom: 14px; }
.auth-card--sik .field { margin-bottom: 13px; }
.field input,
.field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d4d9df;
    border-radius: 6px;
    font-size: 14px;
}
.field input:focus,
.field select:focus { outline: none; border-color: var(--ifs-accent); }

.btn {
    width: 100%;
    background: var(--ifs-accent);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
}
.auth-card--sik .btn { margin-top: 4px; }
.btn:hover { background: var(--ifs-accent-dark); }

.err {
    background: #fdecea;
    color: #c0392b;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 14px;
    text-align: center;
}
.success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 14px;
    text-align: center;
    line-height: 1.5;
}

.alt { text-align: center; font-size: 13px; color: #6b7684; margin-top: 16px; }
/* kayıt ve demo-kayıt sayfalarında text-decoration hiç tanımlı değildi, yani
   tarayıcı varsayılanı (underline) geçerliydi. Burada şifremi-unuttum/şifre-sıfırla
   davranışı tekleştirildi: o iki sayfada link alt çizgisi artık yok. Beş sayfada
   ölçülen TEK görünüm değişikliği budur. */
.alt a { color: #b9710f; font-weight: 600; text-decoration: none; }
.alt a:hover { text-decoration: underline; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.kvkk {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #6b7684;
    margin: 4px 0 14px;
}
.kvkk input { width: 16px; height: 16px; margin-top: 1px; flex: 0 0 auto; }
.kvkk a { color: #b9710f; }

/* Bilgi kutusu — şu an yalnız demo kayıt sayfasında kullanılıyor. */
.note {
    background: #fff8ee;
    border: 1px solid #f2cf9b;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 12.5px;
    color: #7a5b28;
    margin-bottom: 14px;
}
