/* ── Giriş / Kayıt / Şifre sayfaları ─────────────────────────── */
:root {
  --a-ink: #0f1222; --a-text: #3b4256; --a-muted: #6b7288; --a-line: #e4e5ee;
  --a-p: #6C4DE6; --a-pd: #5536d4; --a-soft: #f2efff; --a-mint: #12b886;
  --a-field: #f7f7fb;
}
* { box-sizing: border-box; }
body.auth { margin: 0; min-height: 100vh; background: #fff; color: var(--a-text); font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.auth-shell { display: grid; grid-template-columns: minmax(380px, 46%) 1fr; min-height: 100vh; }

/* Sol görsel panel */
.auth-aside { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(28px, 4vw, 48px); color: #fff; background: radial-gradient(120% 90% at 0% 0%, #3a28a8 0%, #1d1650 45%, #110d2c 100%); }
.auth-aside::before { content: ''; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(139,108,255,.55), transparent); }
.auth-aside::after { content: ''; position: absolute; left: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18,184,134,.25), transparent); }
.auth-aside > * { position: relative; z-index: 1; }
.auth-logo { display: inline-flex; align-items: center; text-decoration: none; }
.auth-logo img { max-height: 40px; width: auto; filter: brightness(0) invert(1); }
.auth-aside h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; margin: 0 0 .9rem; max-width: 460px; }
.auth-aside h1 span { color: #b9a8ff; }
.auth-aside p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.6; max-width: 420px; }

.auth-card { margin-top: 2rem; max-width: 360px; padding: 16px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.auth-card-row { display: flex; align-items: center; gap: 12px; }
.auth-card-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #25D366; font-size: 1.15rem; flex-shrink: 0; }
.auth-card b { display: block; font-size: .9rem; }
.auth-card small { color: rgba(255,255,255,.65); font-size: .78rem; }
.auth-card-time { margin-left: auto; font-size: .72rem; color: rgba(255,255,255,.55); align-self: flex-start; }
.auth-card-code { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; color: var(--a-ink); }
.auth-card-code span { font-size: .7rem; font-weight: 800; letter-spacing: .06em; color: var(--a-muted); }
.auth-card-code code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.35rem; font-weight: 800; letter-spacing: .1em; color: var(--a-p); }

.auth-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.auth-trust li { display: flex; align-items: center; gap: .65rem; font-size: .9rem; color: rgba(255,255,255,.85); font-weight: 600; }
.auth-trust i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #c9bcff; font-size: .75rem; }
.auth-foot { font-size: .78rem; color: rgba(255,255,255,.5); }
.auth-foot a { color: rgba(255,255,255,.75); }

/* Sağ form paneli */
.auth-main { position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(72px, 8vw, 96px) clamp(20px, 5vw, 64px) 40px; }
.auth-lang { position: absolute; top: 20px; right: 20px; display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--a-field); border: 1px solid var(--a-line); }
.auth-lang a { padding: .3rem .6rem; border-radius: 7px; font-size: .75rem; font-weight: 800; color: var(--a-muted); text-decoration: none; }
.auth-lang a.on { background: #fff; color: var(--a-p); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.auth-back { position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; color: var(--a-muted); text-decoration: none; }
.auth-back:hover { color: var(--a-p); }
.auth-box { width: 100%; max-width: 420px; }
.auth-head { margin-bottom: 1.75rem; }
.auth-head h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.025em; color: var(--a-ink); margin: 0 0 .45rem; }
.auth-head p { margin: 0; color: var(--a-muted); line-height: 1.55; }

.auth-alert { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; font-weight: 600; margin-bottom: 1.25rem; line-height: 1.45; }
.auth-alert.err { background: #fff1f2; color: #be123c; border: 1px solid #ffe0e4; }
.auth-alert.ok { background: #ecfdf5; color: #047857; border: 1px solid #c9f3e0; }

.auth-field { margin-bottom: 1.05rem; }
.auth-field label { display: flex; justify-content: space-between; align-items: baseline; font-size: .86rem; font-weight: 700; color: var(--a-ink); margin-bottom: .45rem; }
.auth-field label a, .auth-field label small { font-weight: 700; font-size: .8rem; }
.auth-field label small { color: var(--a-muted); font-weight: 600; }
.auth-input { position: relative; }
.auth-input > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #9aa0b4; font-size: .95rem; pointer-events: none; }
.auth-input input { width: 100%; height: 50px; padding: 0 46px 0 44px; border: 1.5px solid var(--a-line); border-radius: 13px; background: var(--a-field); font: inherit; font-size: .95rem; color: var(--a-ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.auth-input input::placeholder { color: #a6abbd; }
.auth-input input:focus { outline: none; border-color: var(--a-p); background: #fff; box-shadow: 0 0 0 4px rgba(108,77,230,.12); }
.auth-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; border-radius: 10px; color: #9aa0b4; cursor: pointer; }
.auth-eye:hover { color: var(--a-p); background: var(--a-soft); }
.auth-meter { display: flex; gap: 4px; margin-top: .5rem; }
.auth-meter i { flex: 1; height: 4px; border-radius: 4px; background: var(--a-line); transition: background .2s; }
.auth-meter-text { font-size: .76rem; font-weight: 700; color: var(--a-muted); margin-top: .35rem; min-height: 1em; }
.auth-captcha { display: flex; justify-content: center; margin: 1rem 0; }

.auth-btn { width: 100%; height: 52px; border: 0; border-radius: 13px; background: var(--a-p); color: #fff; font: inherit; font-weight: 800; font-size: 1rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; cursor: pointer; box-shadow: 0 10px 24px rgba(108,77,230,.28); transition: background .15s, transform .15s; margin-top: .5rem; }
.auth-btn:hover { background: var(--a-pd); transform: translateY(-1px); }
.auth-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.auth-alt { text-align: center; margin-top: 1.5rem; font-size: .92rem; color: var(--a-muted); }
.auth-box a { color: var(--a-p); font-weight: 800; text-decoration: none; }
.auth-box a:hover { text-decoration: underline; }
.auth-legal { text-align: center; font-size: .78rem; color: var(--a-muted); margin-top: 1.25rem; line-height: 1.5; }
.auth-legal a { color: var(--a-text) !important; font-weight: 700 !important; }
.auth-tg { margin-top: 1.5rem; display: flex; align-items: center; gap: .75rem; padding: .8rem .9rem; border-radius: 14px; background: #eef8fe; border: 1px solid #d3ecfb; }
.auth-tg > i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #2AABEE; color: #fff; flex-shrink: 0; }
.auth-tg div { flex: 1; min-width: 0; font-size: .85rem; font-weight: 700; color: var(--a-ink); line-height: 1.3; }
.auth-tg div small { display: block; color: var(--a-muted); font-weight: 600; }
.auth-tg a { background: #2AABEE; color: #fff !important; padding: .45rem .8rem; border-radius: 9px; font-size: .8rem; white-space: nowrap; }
.auth-btn:focus-visible, .auth-eye:focus-visible, .auth-box a:focus-visible { outline: 3px solid rgba(108,77,230,.35); outline-offset: 2px; }

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { padding: 18px 20px; flex-direction: row; align-items: center; gap: 1rem; }
  .auth-aside .auth-pitch, .auth-aside .auth-trust, .auth-aside .auth-foot { display: none; }
  .auth-aside::before, .auth-aside::after { display: none; }
  .auth-main { padding-top: 32px; align-items: flex-start; }
  .auth-lang { top: -52px; right: 16px; background: rgba(255,255,255,.12); border-color: transparent; }
  .auth-lang a { color: rgba(255,255,255,.75); }
  .auth-lang a.on { color: var(--a-p); }
  .auth-back { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Yazı logosu (logo.png yoksa) */
.auth-logo .site-logo-text { color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
