/**
 * MYS - Giriş / Kayıt / Şifre sayfaları yeni tema  - 28.10.2026
 * login.php, register.php, forgot-password.php, reset-password.php
 * Sayfaların içeriğine dokunmaz; sadece görünümü yeni temaya (lacivert / mavi) uyarlar.
 * Sayfadaki eski <style> bloğundan SONRA yüklenir ve body.mys-auth ile onu ezer.
 */

body.mys-auth {
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    color: #0f1e33;
    background:
        radial-gradient(900px 600px at 10% 0%, rgba(47, 124, 246, 0.28) 0%, rgba(47, 124, 246, 0) 60%),
        radial-gradient(800px 600px at 100% 100%, rgba(34, 166, 232, 0.18) 0%, rgba(34, 166, 232, 0) 60%),
        linear-gradient(160deg, #0e2a52 0%, #0a2041 45%, #061428 100%);
    background-attachment: fixed;
}
body.mys-auth::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    z-index: 0;
}

/* ---------- Ana kartlar ---------- */
body.mys-auth .login-container,
body.mys-auth .register-container,
body.mys-auth .recovery-container,
body.mys-auth .reset-container {
    position: relative;
    z-index: 10;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 70px rgba(2, 10, 25, 0.45), 0 2px 0 rgba(255, 255, 255, 0.4) inset;
}

/* ---------- Sol lacivert paneller (giriş, kayıt) ---------- */
body.mys-auth .login-left,
body.mys-auth .register-left {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(80, 140, 255, 0.30) 0%, rgba(80, 140, 255, 0) 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(0, 0, 0, 0.20) 100%),
        linear-gradient(160deg, #11305c 0%, #0b2141 55%, #081831 100%);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
body.mys-auth .login-left::after,
body.mys-auth .register-left::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(120, 170, 255, 0.18);
    box-shadow: 0 0 0 40px rgba(120, 170, 255, 0.04), 0 0 0 80px rgba(120, 170, 255, 0.03);
    pointer-events: none;
}
body.mys-auth .login-left > div,
body.mys-auth .register-left > div { position: relative; z-index: 1; }

/* Sol üstteki büyük simge: logo kutusu görünümü */
body.mys-auth .login-left > div > i:first-child,
body.mys-auth .register-left > div > i:first-child {
    width: 84px;
    height: 84px;
    line-height: 84px;
    font-size: 2.6rem !important;
    border-radius: 22px;
    margin: 0 auto 22px !important;
    display: block;
    color: #fff;
    background: linear-gradient(135deg, #7b8cff 0%, #5a63e8 55%, #4a4fd1 100%);
    box-shadow: 0 12px 28px rgba(10, 20, 60, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
body.mys-auth .login-left h1,
body.mys-auth .register-left h1 { font-weight: 800; letter-spacing: 1px; color: #fff; margin-bottom: 8px; }
body.mys-auth .login-left p,
body.mys-auth .register-left p { color: #a9bfdd; opacity: 1; }
body.mys-auth .features div {
    color: #dbe6f6;
    padding: 9px 12px;
    margin: 8px 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
}
body.mys-auth .features i { color: #4cc38a; }

/* ---------- Sağ taraf / başlıklar ---------- */
body.mys-auth .login-right h2,
body.mys-auth .register-right h2,
body.mys-auth .recovery-container h2,
body.mys-auth .reset-container h2 { color: #0f1e33; font-weight: 700; }
body.mys-auth .login-right > p,
body.mys-auth .register-right > p,
body.mys-auth .recovery-container > p,
body.mys-auth .reset-container > p { color: #5b6b80; }

/* ---------- Form alanları ---------- */
body.mys-auth .form-group label { color: #334155; font-weight: 600; font-size: 0.88rem; }
body.mys-auth .form-group input,
body.mys-auth .form-group textarea,
body.mys-auth .form-group select {
    border: 1.5px solid #dbe2ec;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f1e33;
}
body.mys-auth .form-group input:focus,
body.mys-auth .form-group textarea:focus,
body.mys-auth .form-group select:focus {
    border-color: #2f7cf6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 124, 246, 0.12);
}
body.mys-auth .input-icon { color: #8a9bb3; }

/* ---------- Düğmeler ---------- */
body.mys-auth .btn-login,
body.mys-auth .btn-register,
body.mys-auth .btn-submit {
    background: linear-gradient(135deg, #2f7cf6 0%, #1a5fd6 100%);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(26, 95, 214, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #fff;
}
body.mys-auth .btn-login:hover,
body.mys-auth .btn-register:hover,
body.mys-auth .btn-submit:hover { box-shadow: 0 12px 26px rgba(26, 95, 214, 0.38); }

/* ---------- Bağlantılar ---------- */
body.mys-auth .extra-links a,
body.mys-auth .back-link a,
body.mys-auth .login-link a,
body.mys-auth .kvkk-check a { color: #1659c7; }
body.mys-auth .extra-links a:hover,
body.mys-auth .back-link a:hover,
body.mys-auth .login-link a:hover,
body.mys-auth .kvkk-check a:hover { color: #0f3f91; }
body.mys-auth .kvkk-check input[type="checkbox"] { accent-color: #2f7cf6; }
body.mys-auth .kvkk-modal h6 { color: #1659c7; }

/* ---------- Duyurular ---------- */
body.mys-auth .news-section { border-top-color: #eef2f7; }
body.mys-auth .news-section > h6 { color: #334155; font-weight: 700; }
body.mys-auth .news-item {
    border: 1px solid #e6edf6;
    border-left: 3px solid #2f7cf6;
    border-radius: 8px;
    background: #f8fbff;
    padding: 10px 12px;
    margin-bottom: 8px;
}
body.mys-auth .news-item:last-child { border-bottom: 1px solid #e6edf6; }
body.mys-auth .news-item h6 { color: #1659c7; }

/* ---------- Uyarılar ---------- */
body.mys-auth .alert-danger { background: #fdeeee; color: #b42318; border: 1px solid #f4c4c4; }
body.mys-auth .alert-success { background: #edf8f0; color: #18794e; border: 1px solid #c4e6cd; }

/* ---------- Şifremi unuttum / sıfırlama ---------- */
body.mys-auth .icon-header i { color: #2f7cf6; }
body.mys-auth .reset-container .icon-header i { color: #22a35a; }
body.mys-auth .icon-header.success i { color: #22a35a; }
body.mys-auth .icon-header.error i { color: #dc4646; }
body.mys-auth .info-box { background: #eef5ff; border-color: #cfe0fb; color: #1d3f72; }
body.mys-auth .option-card { border-color: #dbe2ec; border-radius: 12px; }
body.mys-auth .option-card:hover { border-color: #2f7cf6; background: #f3f8ff; }
body.mys-auth .option-card.selected { border-color: #2f7cf6; background: #eaf2ff; box-shadow: 0 5px 18px rgba(47, 124, 246, 0.18); }
body.mys-auth .option-card i { color: #2f7cf6; }
body.mys-auth .step-circle.active { background: linear-gradient(135deg, #2f7cf6 0%, #1a5fd6 100%); color: #fff; }
body.mys-auth .step-circle.done,
body.mys-auth .step-line.done { background: #22a35a; }
body.mys-auth .user-info-box,
body.mys-auth .user-info { background: #f8fafc; border-color: #e2e8f0; }

/* ---------- Sıkı yerleşim: dizüstü ekranlarda tek ekrana sığsın ---------- */
body.mys-auth { padding: 16px; }
body.mys-auth .login-container,
body.mys-auth .register-container { min-height: 0; }
body.mys-auth .login-left,
body.mys-auth .register-left { padding: 32px 34px; }
body.mys-auth .login-left > div > i:first-child,
body.mys-auth .register-left > div > i:first-child {
    width: 64px; height: 64px; line-height: 64px; font-size: 2rem !important; border-radius: 17px; margin-bottom: 14px !important;
}
body.mys-auth .login-left h1 { font-size: 2rem; margin-bottom: 4px; }
body.mys-auth .login-left p { font-size: 0.95rem; margin-bottom: 18px; }
body.mys-auth .features div { margin: 5px 0; padding: 6px 12px; font-size: 0.9rem; }
body.mys-auth .login-right { padding: 32px 44px; }
body.mys-auth .login-right h2 { font-size: 1.65rem; margin-bottom: 4px; }
body.mys-auth .login-right > p { margin-bottom: 22px; }
body.mys-auth .login-right .form-group { margin-bottom: 16px; }
body.mys-auth .login-right .form-group label { margin-bottom: 6px; }
body.mys-auth .login-right .form-group input { padding-top: 11px; padding-bottom: 11px; font-size: 0.95rem; }
body.mys-auth .btn-login { padding: 12px; font-size: 1rem; }
body.mys-auth .extra-links { margin-top: 14px; }
body.mys-auth .news-section { margin-top: 18px; padding-top: 14px; }
body.mys-auth .news-section > h6 { margin-bottom: 8px; }
body.mys-auth .news-item { padding: 8px 12px; }
body.mys-auth .news-item h6 { font-size: 0.92rem; margin-bottom: 3px; }
body.mys-auth .news-item p { font-size: 0.8rem; line-height: 1.4; }
body.mys-auth .login-right > div:last-child { margin-top: 14px !important; }
/* Kısa ekranlar (ör. 1366x768 tarayıcı): özellik listesi iki sütun */
@media (max-height: 760px) and (min-width: 769px) {
    body.mys-auth .features { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
    body.mys-auth .features div { font-size: 0.82rem; padding: 6px 9px; }
    body.mys-auth .login-left > div > i:first-child { width: 54px; height: 54px; line-height: 54px; font-size: 1.7rem !important; }
}
