/* ═══════════════════════════════════════════════════════════════
   AUTH SAYFALARI - Login, 2FA, Şifre Sıfırlama
   ═══════════════════════════════════════════════════════════════ */

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 50%, #4F46E5 100%);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Dekoratif daireler */
.auth-body::before,
.auth-body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}
.auth-body::before { width: 500px; height: 500px; top: -200px; right: -150px; }
.auth-body::after  { width: 400px; height: 400px; bottom: -180px; left: -120px; background: rgba(255,255,255,.06); }

.auth-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 24px;
    padding: 40px 36px;
    box-shadow: 0 30px 60px rgba(0,0,0,.25), 0 10px 20px rgba(0,0,0,.15);
    z-index: 1;
    animation: authCardIn .5s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] .auth-card { background: #1E293B; color: #F1F5F9; }

@keyframes authCardIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-logo {
    width: 68px; height: 68px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 12px 24px rgba(79,70,229,.4);
    animation: logoBounce .6s cubic-bezier(.4,0,.2,1);
}

@keyframes logoBounce {
    0%   { transform: scale(.7); opacity: 0; }
    60%  { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

.auth-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -.02em;
}

.auth-subtitle {
    text-align: center;
    color: #64748B;
    font-size: .875rem;
    margin-bottom: 28px;
}
[data-theme="dark"] .auth-subtitle { color: #94A3B8; }

/* Auth içi form elemanları */
.auth-card .form-label { color: #334155; }
[data-theme="dark"] .auth-card .form-label { color: #CBD5E1; }

.auth-card .form-control {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    padding: 12px 14px;
    font-size: .9rem;
}
.auth-card .form-control:focus {
    background: #fff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}

[data-theme="dark"] .auth-card .form-control {
    background: #0F172A;
    border-color: #334155;
    color: #F1F5F9;
}
[data-theme="dark"] .auth-card .form-control:focus {
    background: #0F172A;
    border-color: #6366F1;
}

.auth-input-wrap { position: relative; }
.auth-input-wrap .toggle-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    cursor: pointer;
    color: #94A3B8;
    font-size: 18px;
    padding: 4px;
    border-radius: 6px;
    transition: all .15s ease;
}
.auth-input-wrap .toggle-pass:hover { color: #4F46E5; background: rgba(79,70,229,.08); }

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    font-size: .85rem;
}

.auth-link { color: #4F46E5; font-weight: 500; }
.auth-link:hover { color: #4338CA; text-decoration: underline; }

.btn-auth {
    width: 100%;
    padding: 13px;
    font-size: .95rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #4F46E5, #4338CA);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 6px 16px rgba(79,70,229,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-auth:hover  { box-shadow: 0 10px 24px rgba(79,70,229,.5); transform: translateY(-1px); }
.btn-auth:active { transform: translateY(0); }
.btn-auth:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: .8rem;
    color: #64748B;
}
[data-theme="dark"] .auth-footer { color: #94A3B8; }

/* 2FA kutuları */
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0 26px;
}
.otp-inputs input {
    width: 52px; height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 12px;
    color: #0F172A;
    transition: all .15s ease;
}
.otp-inputs input:focus {
    outline: none;
    border-color: #4F46E5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.otp-inputs input.filled { border-color: #4F46E5; background: #EEF2FF; }

[data-theme="dark"] .otp-inputs input {
    background: #0F172A;
    border-color: #334155;
    color: #F1F5F9;
}
[data-theme="dark"] .otp-inputs input:focus { background: #0F172A; }

@media (max-width: 480px) {
    .auth-card { padding: 32px 22px; border-radius: 20px; }
    .otp-inputs input { width: 42px; height: 50px; font-size: 1.2rem; }
}

/* Güvenli giriş bilgisi */
.auth-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .75rem;
    color: #64748B;
    margin-top: 18px;
}
.auth-security::before { content: '🔒'; }