* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #0f172a;
    overflow: hidden;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Arka plan — sade, tek katman, animasyonsuz */
.login-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top left, rgba(249,115,22,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(15,23,42,0.6) 0%, transparent 50%),
        linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
    z-index: -1;
}

/* Login card — premium, sade */
.login-card {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
    border-radius: 14px;
}

/* Input — design system ile uyumlu */
.input-field {
    transition: border-color 0.15s, box-shadow 0.15s;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #f8fafc;
}
.input-field:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.20);
    background: rgba(15, 23, 42, 0.8);
}
.input-field::placeholder { color: rgba(148, 163, 184, 0.55); }

/* CTA buton */
.btn-cta {
    background: #f97316;
    transition: background 0.15s, box-shadow 0.15s;
}
.btn-cta:hover { background: #ea580c; box-shadow: 0 6px 16px -4px rgba(249, 115, 22, 0.5); }
.btn-cta:active { background: #c2410c; }
.btn-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* CapsLock uyarısı */
.capslock-warning {
    display: none;
    margin-top: 6px;
    font-size: 11px;
    color: #fbbf24;
}
.capslock-warning.on { display: flex; align-items: center; gap: 6px; }

/* ─── Animasyon utility'leri ─── */
@keyframes fadeIn    { from{opacity:0} to{opacity:1} }
@keyframes slideUp   { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideDown { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
@keyframes scaleIn   { from{opacity:0;transform:scale(0.96)} to{opacity:1;transform:scale(1)} }
.animate-fade-in    { animation: fadeIn    200ms ease-out both; }
.animate-slide-up   { animation: slideUp   250ms ease-out both; }
.animate-slide-down { animation: slideDown 200ms ease-out both; }
.animate-scale-in   { animation: scaleIn   180ms ease-out both; }

/* Responsive */
@media (max-width: 1024px) {
    .left-panel { display: none !important; }
    .right-panel { width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* ⭐ MOBİL GİRİŞ FIX (2026-09-18, mobil denetim P0-2)
   login.php standalone sayfa → mobile.css YÜKLENMEZ, dolayısıyla oradaki "mobilde input
   ≥16px" kuralı buraya ulaşmıyordu. iOS Safari, font-size < 16px olan bir input'a
   odaklanınca SAYFAYI ZOOMLAR → kullanıcı giriş ekranında aniden yakınlaşma yaşıyor ve
   geri çıkamıyor. Tailwind `text-sm` (14px) tam bu tuzağa düşüyordu.
   Ayrıca dokunma hedefi ≥44px (Apple HIG) güvenceye alındı. MASAÜSTÜ DEĞİŞMEZ. */
@media (max-width: 767px) {
    .input-field {
        font-size: 16px !important;
        min-height: 48px;
    }
    /* Giriş/şifre göster butonu ve birincil buton rahat dokunulsun */
    button[type="submit"] { min-height: 48px; }
}
