/**
 * MİRARUS KAYIT SİSTEMİ - TASARIM ÇEKİRDEĞİ
 */

:root {
    --bg: #f5f5f7;
    --card: #ffffff;
    --text: #1d1d1f;
    --sub: #86868b;
    --border: #d2d2d7;
    --mavi: #0071e3;
    --yesil: #34c759;
    --hata: #ff3b30;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, sans-serif; }

body { background: var(--bg); display: flex; justify-content: center; align-items: center; min-height: 100vh; overflow-x: hidden; }

/* BİLDİRİM SİSTEMİ */
#bildirim-kapsayici { position: fixed; top: 20px; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; z-index: 10000; }
#bildirim { 
    background: #fff; padding: 12px 24px; border-radius: 50px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 12px; 
    transform: translateY(-100px); transition: 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28); 
}
#bildirim.aktif { transform: translateY(0); }

.ana-kapsayici {
    background: var(--card); width: 440px; padding: 45px 35px; 
    border-radius: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

header { text-align: center; margin-bottom: 25px; }
.logo { width: 64px; height: 64px; background: #000; color: #fff; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 28px; font-weight: 900; }
h1 { font-size: 26px; letter-spacing: -0.8px; margin-bottom: 8px; }
.bilgi-metni { font-size: 13px; color: var(--sub); line-height: 1.5; padding: 0 10px; }

/* GİRDİ ALANLARI */
.girdi-grubu { position: relative; margin-bottom: 20px; flex: 1; }
.girdi-grubu input { width: 100%; height: 48px; padding: 0 16px; border: 1.5px solid var(--border); border-radius: 14px; font-size: 15px; outline: none; transition: 0.25s; }
.girdi-grubu input:focus { border-color: var(--mavi); }
.girdi-grubu label { position: absolute; left: 12px; top: -9px; background: white; padding: 0 6px; font-size: 11px; font-weight: 600; color: var(--sub); }

.sifre-row { display: flex; gap: 12px; }
.sifre-gorunurluk { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--sub); font-size: 20px; }

/* ŞİFRE GÜCÜ BARI */
.guc-bar-kapsayici { display: flex; gap: 6px; margin: -8px 0 22px 4px; }
.guc-bar { height: 4px; flex: 1; background: #e5e5ea; border-radius: 10px; transition: 0.3s; }

/* GÜVENLİK KARTI VE ANLIK RENKLER */
.dogrulama-karti {
    border: 1.5px solid var(--border); border-radius: 18px; padding: 15px;
    display: flex; align-items: center; justify-content: space-between;
    position: relative; background: #fbfbfd; margin-bottom: 15px;
}
.dogrulama-etiket { position: absolute; left: 15px; top: -11px; background: white; padding: 2px 10px; font-size: 10px; font-weight: 800; color: var(--sub); border: 1.5px solid var(--border); border-radius: 7px; }
.soru-metni { font-size: 18px; font-weight: 700; }

.cevap-alani { width: 95px; position: relative; }
.cevap-alani input { width: 100%; height: 40px; border-radius: 12px; border: 1.5px solid var(--border); text-align: center; font-weight: 800; font-size: 16px; outline: none; }
.cevap-alani label { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-size: 9px; font-weight: 900; background: white; padding: 0 5px; border: 1px solid var(--border); border-radius: 4px; color: var(--sub); }

/* Anlık Doğrulama CSS Sınıfları */
.cevap-onayli input { border-color: var(--yesil) !important; color: var(--yesil); background: #fafffa; }
.cevap-hatali input { border-color: var(--hata) !important; color: var(--hata); background: #fffafa; }

/* ONAY KUTUSU VE BUTONLAR */
.onay-konteynir { border: 1.5px solid var(--border); border-radius: 15px; padding: 12px 15px; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; background: #fff; overflow: hidden; }
.onay-konteynir input { width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; accent-color: var(--mavi); }
.onay-konteynir label { font-size: 11px; color: var(--sub); cursor: pointer; font-weight: 600; white-space: normal; }
.link-mavi { color: var(--mavi); font-weight: 700; cursor: pointer; }

.buton-ana { width: 100%; height: 52px; background: #000; color: #fff; border: none; border-radius: 16px; font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.buton-ana:disabled { opacity: 0.15; cursor: not-allowed; }

.alt-bilgi { text-align: center; margin-top: 25px; font-size: 14px; color: var(--sub); }
.link { color: var(--mavi); font-weight: 700; text-decoration: none; }

/* MODAL SİSTEMİ */
.modal-maske { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(12px); display: none; align-items: center; justify-content: center; z-index: 9999; }
.modal-kutu { background: white; width: 85%; max-width: 800px; border-radius: 35px; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,0.2); animation: pop 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes pop { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal-ust { padding: 30px 40px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1.5px solid #f2f2f7; }
.modal-ust h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: var(--text); }
.modal-metin { padding: 40px; max-height: 60vh; overflow-y: auto; font-size: 15px; line-height: 1.8; color: #424245; text-align: left; }
.modal-metin h3 { margin: 25px 0 12px 0; color: #000; font-size: 18px; display: flex; align-items: center; }
.modal-metin h3::before { content: ""; width: 4px; height: 18px; background: var(--mavi); border-radius: 10px; margin-right: 12px; }
.modal-metin ul { margin-bottom: 15px; padding-left: 20px; }
.modal-metin li { margin-bottom: 8px; }
.modal-alt { padding: 25px 40px; text-align: right; background: #fbfbfd; border-top: 1.5px solid #f2f2f7; }
.kapat-btn { cursor: pointer; padding: 8px; border-radius: 50%; background: #f2f2f7; color: #86868b; transition: 0.2s; }
.kapat-btn:hover { background: #e5e5ea; color: #1d1d1f; }