/*
 * GİRİŞ EKRANI STİLLERİ
 *
 * Ayrı dosya: sayfa kaynağında satır içi <style> bırakmamak için
 * (harici CSS/JS ayrımı kararı). app.css'ten SONRA yükleniyor, bu yüzden
 * buradaki kurallar onu ezebiliyor — sıra bozulmamalı.
 *
 * Yalnızca login.php kullanıyor; panel ekranlarına yüklenmiyor. Bu yüzden
 * `body` gibi genel seçiciler burada güvenli.
 */
* { box-sizing: border-box; }
body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e2a3a 0%, #2d4059 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-wrap {
    width: 100%;
    max-width: 420px;
}
.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,.3);
    overflow: hidden;
}
.login-header {
    background: linear-gradient(135deg, #1e2a3a, #2d4059);
    padding: 32px 40px 28px;
    text-align: center;
}
.login-logo {
    max-height: 64px;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 12px;
}
.login-logo-text {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .02em;
}
.login-subtitle {
    color: rgba(255,255,255,.55);
    font-size: 13px;
    margin-top: 4px;
}
.login-body {
    padding: 32px 40px 36px;
}
.form-label { font-weight: 600; font-size: 13px; color: #374151; }
.form-control {
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.btn-login {
    background: linear-gradient(135deg, #1e2a3a, #2d4059);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    transition: opacity .15s, transform .1s;
    cursor: pointer;
}
.btn-login:hover { opacity: .92; transform: translateY(-1px); }
.btn-login:active { transform: translateY(0); }
.btn-login:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.alert {
    border-radius: 8px;
    font-size: 13px;
    padding: 10px 14px;
}
.input-group-text {
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-right: none;
    color: #9ca3af;
}
.input-group .form-control { border-left: none; }
.input-group .form-control:focus { border-left: none; box-shadow: none; }
.input-group:focus-within .input-group-text {
    border-color: #3b82f6;
}
.input-group:focus-within .form-control {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
    border-left: none;
}
.lockout-box {
    text-align: center;
    padding: 8px 0;
}
.lockout-timer {
    font-size: 36px;
    font-weight: 700;
    color: #dc2626;
    font-variant-numeric: tabular-nums;
}
.attempts-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}
.attempts-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: #ef4444;
    transition: width .3s;
}
.login-footer {
    text-align: center;
    padding: 0 40px 24px;
    font-size: 11px;
    color: #9ca3af;
}
/* İkinci satır bilinçli olarak daha silik: asıl sahip firma, geliştirici
   yalnızca gerektiğinde bakılacak bir bilgi. */
.login-gelistirici {
    margin-top: 5px;
    font-size: 10.5px;
    color: #c3c8d0;
}
.login-gelistirici a {
    color: #9aa3af;
    text-decoration: none;
    font-weight: 600;
}
.login-gelistirici a:hover { color: #2563eb; text-decoration: underline; }
