/* =====================================================================
   NetaCRM — Giriş, Şifremi unuttum, Yeni şifre sayfaları (2026)
   Yalnız auth/ sayfalarında yüklenir.
   ===================================================================== */
:root {
    --na-navy: #13254d;
    --na-ink: #0f1d3a;
    --na-text: #24324f;
    --na-dim: #5b6a86;
    --na-mute: #8a97ae;
    --na-line: #dfe6f0;
    --na-soft: #fafbfe;
    --na-blue: #1f64e0;
    --na-blue-dark: #1747b8;
    --na-green: #0e7c55;
    --na-red: #c4303d;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.na-body {
    min-height: 100vh;
    background: #ffffff;
    color: var(--na-ink);
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.na-body a { color: var(--na-blue); }
.na-body a:hover { color: var(--na-blue-dark); }
.na-body :focus-visible { outline: 3px solid rgba(31,100,224,.45); outline-offset: 2px; }

.na-page { min-height: 100vh; display: flex; }

/* ---------- Sol lacivert panel ---------- */
.na-brand {
    flex: 5 1 0;
    min-width: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 48px 56px;
    background: var(--na-navy);
    color: #ffffff;
}
.na-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.na-ring-1 { left: -200px; top: -240px; width: 640px; height: 640px; border: 1px solid rgba(255,255,255,.07); }
.na-ring-2 { left: -110px; top: -150px; width: 460px; height: 460px; border: 1px solid rgba(255,255,255,.06); }
.na-ring-3 { right: -240px; bottom: -280px; width: 720px; height: 720px; border: 1px solid rgba(22,178,102,.18); }
.na-brand-logo { position: relative; align-self: flex-start; display: inline-flex; }
.na-brand-logo img { display: block; height: 44px; width: auto; filter: brightness(0) invert(1); }
.na-brand-copy { position: relative; margin-top: auto; max-width: 540px; display: flex; flex-direction: column; gap: 18px; }
.na-brand-pill {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 8px;
    height: 30px; padding: 0 14px; border-radius: 15px;
    background: rgba(255,255,255,.10); color: #cfe0ff;
    font-size: 13px; font-weight: 500;
}
.na-dot { width: 8px; height: 8px; border-radius: 50%; background: #16b266; }
.na-brand h1 { margin: 0; font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -.6px; color: #ffffff; }
.na-brand-copy > p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #c3d0ea; }
.na-features { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.na-features li { display: flex; align-items: center; gap: 14px; }
.na-features li > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.na-features b { font-size: 15px; font-weight: 600; }
.na-features small { font-size: 13px; color: #9fb2d6; }
.na-feat-ico { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; }
.na-feat-ico.is-green { background: rgba(22,178,102,.16); color: #8ef0bd; }
.na-feat-ico.is-amber { background: rgba(245,165,36,.16); color: #ffd28a; }
.na-feat-ico.is-blue { background: rgba(120,160,255,.16); color: #b9ccff; }
.na-brand-foot { position: relative; margin: auto 0 0; font-size: 13px; color: #8ea2c8; }

/* ---------- Sağ form alanı ---------- */
.na-main {
    flex: 4 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: #ffffff;
}
.na-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 26px; }
.na-head { display: flex; flex-direction: column; gap: 8px; }
.na-head h2 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.4px; color: var(--na-ink); }
.na-head p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--na-dim); }
.na-head-ico { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; font-size: 26px; margin-bottom: 6px; }
.na-head-ico.is-blue { background: #eaf1ff; color: var(--na-blue); }
.na-head-ico.is-green { background: #e7f8ef; color: var(--na-green); }
.na-head-ico.is-red { background: #fdecee; color: var(--na-red); }
.na-chip {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
    height: 28px; padding: 0 12px; border-radius: 14px; margin-bottom: 4px;
    background: #fff3dc; color: #8a4b00; font-size: 12.5px; font-weight: 600;
}

.na-back {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px;
    font-size: 14px; font-weight: 600; text-decoration: none;
}
.na-back i { font-size: 18px; }
.na-back-center { align-self: center; }

/* Uyarılar */
.na-alert {
    display: flex; align-items: flex-start; gap: 12px;
    margin: -6px 0;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
}
.na-alert > i { flex: none; font-size: 20px; line-height: 1.2; }
.na-alert > span { display: flex; flex-direction: column; gap: 2px; }
.na-alert b { font-weight: 600; font-size: 14.5px; }
.na-alert small { font-size: 13px; line-height: 1.5; }
.na-alert.is-error { border: 1px solid #f6c9ce; background: #fff4f5; color: #8f1d27; }
.na-alert.is-error > i { color: var(--na-red); }
.na-alert.is-error small { color: #a13c45; }
.na-alert.is-success { border: 1px solid #bfe8d3; background: #effaf4; color: #0b6646; }
.na-alert.is-success > i { color: var(--na-green); }

/* Form */
.na-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.na-field { display: flex; flex-direction: column; gap: 7px; }
.na-field > label { font-size: 13px; font-weight: 500; color: #3b4a66; }
.na-input { position: relative; display: flex; align-items: center; }
.na-input > i { position: absolute; left: 15px; font-size: 20px; color: var(--na-mute); pointer-events: none; line-height: 1; }
.na-input input {
    width: 100%; height: 52px;
    padding: 0 16px 0 46px;
    border: 1px solid var(--na-line);
    border-radius: 12px;
    background: var(--na-soft);
    color: var(--na-ink);
    font-family: inherit; font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    -webkit-appearance: none; appearance: none;
}
.na-input input::placeholder { color: #9aa6ba; opacity: 1; }
.na-input input:focus { outline: none; border-color: var(--na-blue); background: #ffffff; box-shadow: 0 0 0 4px rgba(31,100,224,.14); }
.na-input:focus-within > i { color: var(--na-blue); }
.na-input:has(.na-eye) input { padding-right: 56px; }
.na-input.is-invalid input { border: 1.5px solid #e04a57; background: #ffffff; }
.na-input.is-invalid input:focus { box-shadow: 0 0 0 4px rgba(224,74,87,.14); }
.na-input input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #f5f8ff inset; -webkit-text-fill-color: var(--na-ink); }
.na-eye {
    position: absolute; right: 4px;
    width: 44px; height: 44px;
    border: 0; border-radius: 10px;
    background: transparent; color: var(--na-dim);
    display: grid; place-items: center;
    font-size: 20px; cursor: pointer;
}
.na-eye:hover { background: #eef2f8; color: var(--na-ink); }

.na-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.na-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--na-text); cursor: pointer; user-select: none; }
.na-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--na-blue); cursor: pointer; }
.na-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }

.na-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; height: 54px; margin-top: 4px;
    border: 0; border-radius: 14px;
    background: var(--na-blue); color: #ffffff !important;
    font-family: inherit; font-size: 16px; font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 16px 30px -16px rgba(31,100,224,.9);
    transition: background .15s ease, transform .15s ease;
}
.na-btn i { font-size: 20px; }
.na-btn:hover { background: var(--na-blue-dark); }
.na-btn:active { transform: translateY(1px); }
.na-btn.is-busy { opacity: .75; cursor: wait; }
.na-btn.is-busy i { animation: na-spin .8s linear infinite; }
@keyframes na-spin { to { transform: rotate(360deg); } }

.na-note { margin: 0; padding-top: 22px; border-top: 1px solid #eef2f8; font-size: 13.5px; line-height: 1.6; color: var(--na-dim); }

/* Şifre gücü ve kurallar */
.na-meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
.na-meter span { height: 5px; border-radius: 3px; background: #e7ecf4; transition: background .2s ease; }
.na-meter[data-level="1"] span:nth-child(-n+1) { background: #ef4d5a; }
.na-meter[data-level="2"] span:nth-child(-n+2) { background: #f5a524; }
.na-meter[data-level="3"] span:nth-child(-n+3) { background: #f5a524; }
.na-meter[data-level="4"] span { background: #16b266; }
.na-meter-text, .na-match { min-height: 18px; font-size: 12.5px; font-weight: 600; }
.na-meter-text.is-weak { color: #b4232f; }
.na-meter-text.is-mid { color: #8a4b00; }
.na-meter-text.is-ok { color: #0b6646; }
.na-match.is-ok { color: #0b6646; }
.na-match.is-bad { color: #b4232f; }
.na-rules {
    list-style: none; margin: -6px 0 0; padding: 14px 16px;
    border-radius: 14px; background: #f3f6fb;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px;
}
.na-rules li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6a7891; }
.na-rules li i { font-size: 16px; }
.na-rules li.is-ok { color: #0b6646; }

/* ---------- Tablet ve telefon ---------- */
@media (max-width: 1100px) {
    .na-brand { padding: 40px; }
    .na-brand h1 { font-size: 32px; }
}
@media (max-width: 860px) {
    .na-page { flex-direction: column; background: #f3f6fb; }
    .na-brand { flex: none; gap: 20px; padding: 30px 24px 70px; }
    .na-ring-1 { left: auto; right: -150px; top: -170px; width: 360px; height: 360px; }
    .na-ring-2 { display: none; }
    .na-ring-3 { right: auto; left: -120px; bottom: -200px; width: 340px; height: 340px; }
    .na-brand-logo img { height: 36px; }
    .na-brand-copy { margin-top: 0; gap: 8px; }
    .na-brand-pill, .na-brand-copy > p, .na-features, .na-brand-foot { display: none; }
    .na-brand h1 { font-size: 24px; line-height: 1.25; letter-spacing: -.3px; max-width: 420px; }
    .na-main { flex: 1 0 auto; align-items: flex-start; padding: 0 14px 28px; background: transparent; }
    .na-card {
        margin-top: -46px;
        max-width: 480px;
        padding: 24px 20px;
        border-radius: 22px;
        background: #ffffff;
        box-shadow: 0 24px 50px -30px rgba(15,29,58,.45);
        gap: 20px;
        position: relative;
    }
    .na-head h2 { font-size: 23px; }
    .na-head p { font-size: 13.5px; }
    .na-head-ico { width: 48px; height: 48px; font-size: 22px; border-radius: 15px; }
    .na-input input { font-size: 16px; height: 50px; } /* iOS büyütme yapmasın */
    .na-note { padding-top: 16px; font-size: 12.5px; }
}
@media (max-width: 380px) {
    .na-rules { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .na-btn, .na-input input, .na-meter span { transition: none; }
}
