/* =====================================================================
   ÜYELİK EKRANLARI: giriş, kayıt, şifre sıfırlama, hesabım
   Arka plan: lacivert degrade, ağ ve kesikli yörünge halkaları.
   Hareket yalnızca fx katmanı varsa ve açıksa eklenir (.is-live).
   ===================================================================== */
.f-h { font-size: .78rem; color: var(--muted); margin: 0; }

.auth { position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 85% 10%, #2B2090 0%, transparent 55%), radial-gradient(90% 80% at 0% 100%, #0B3A66 0%, transparent 60%), linear-gradient(160deg, #1E146C 0%, #191262 45%, #10204F 100%); }
.auth-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.auth-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(127, 240, 228, .32); aspect-ratio: 1; }
.auth-ring.r1 { width: min(78vw, 980px); right: -22%; top: 8%; }
.auth-ring.r2 { width: min(56vw, 700px); right: -8%; top: 30%; border-style: solid; border-color: rgba(143, 168, 255, .22); border-width: 1px; }
.auth-ring.r3 { width: min(110vw, 1400px); right: -42%; top: -18%; border-color: rgba(255, 255, 255, .12); }
.auth-ring::after { content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: #7FF0E4; box-shadow: 0 0 14px #00D3C0; }
.auth-ring.r2::after { left: auto; right: 14%; top: 12%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .8); }
.auth-ring.r3::after { display: none; }
.auth-glow { position: absolute; width: 520px; aspect-ratio: 1; left: 30%; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 211, 192, .25), transparent 65%); filter: blur(20px); }
.auth.is-live .auth-ring.r1 { animation: auth-spin 60s linear infinite; }
.auth.is-live .auth-ring.r2 { animation: auth-spin 42s linear infinite reverse; }
.auth.is-live .auth-glow { animation: auth-breathe 9s ease-in-out infinite alternate; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@keyframes auth-breathe { to { transform: translate(-12%, -8%) scale(1.15); opacity: .7; } }

.auth-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(24px, 6vw, 96px); align-items: center; padding-top: clamp(32px, 7vw, 88px); padding-bottom: clamp(40px, 8vw, 104px); min-height: min(78vh, 760px); }
.auth-wide .auth-in { grid-template-columns: minmax(0, .8fr) minmax(0, 560px); align-items: start; }
.auth-wide .auth-copy { position: sticky; top: 120px; }
.auth-copy { min-width: 0; }
.auth-kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #7FF0E4; margin: 0 0 14px; }
.auth-kicker i { width: 22px; height: 2px; background: linear-gradient(90deg, #00D3C0, transparent); }
.auth h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; margin: 0 0 14px; text-wrap: balance; }
.auth-sub { color: rgba(255, 255, 255, .78); font-size: clamp(.98rem, 1.4vw, 1.1rem); line-height: 1.55; max-width: 46ch; margin: 0; }
.auth-perks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.auth-perks li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.auth-perks svg { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: rgba(0, 211, 192, .16); fill: none; stroke: #7FF0E4; stroke-width: 2.2; }

.auth-card { position: relative; min-width: 0; color: var(--ink); background: rgba(255, 255, 255, .97); border-radius: 22px; padding: clamp(22px, 3.2vw, 36px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 30px 80px -24px rgba(5, 3, 30, .65), 0 0 0 1px rgba(255, 255, 255, .25); }
.auth-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(127, 240, 228, .9), rgba(143, 168, 255, .2) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .auth-card { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
}
.auth-t { font-size: 1.45rem; letter-spacing: -.01em; margin: 0 0 18px; }
.auth-f { display: grid; gap: 14px; }
.auth-f .form-err:empty { display: none; }
.auth-forgot { justify-self: end; margin-top: -6px; }
.auth-link, .auth-alt a, .auth-done a, .auth-bad a, .acc-note a { color: var(--navy); font-weight: 600; }
.auth-alt { margin: 18px 0 0; text-align: center; font-size: .92rem; color: var(--ink-2); }
.auth-guest { margin: 10px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }
.auth-pv { margin: -6px 0 16px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--warn-bg); color: var(--warn); font-size: .8rem; line-height: 1.45; }
.auth-pv .tag { margin-right: 4px; }
.auth-ok { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: var(--r); background: var(--ok-bg); color: var(--ok); margin: 0 0 10px; font-size: .92rem; line-height: 1.5; }
.auth-ok svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; }
.auth-dev { font-size: .85rem; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg-2); }
.auth-bad { padding: 14px; border-radius: var(--r); background: var(--err-bg); color: var(--err); }
.auth-done:focus { outline: none; }

/* şifre göster */
.pw { position: relative; }
.pw input { padding-right: 48px; }
.pw-t { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 38px; display: grid; place-items: center; border: 0; background: none; border-radius: var(--r-sm); cursor: pointer; color: var(--muted); }
.pw-t:hover { color: var(--navy); background: var(--bg-2); }
.pw-t svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pw-t[aria-pressed="true"] { color: var(--teal-ink); }

/* bireysel / kurumsal seçici */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 0 0 4px; border: 0; border-radius: 14px; background: var(--bg-3); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.seg svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.seg input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(22, 20, 43, .08), 0 6px 16px -6px rgba(30, 20, 108, .35); }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.auth-f [data-k][hidden] { display: none !important; }
.auth-more { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 10px 14px; }
.auth-more[open] { display: grid; gap: 12px; padding-bottom: 14px; }
.auth-more summary { cursor: pointer; font-size: .9rem; font-weight: 600; }
.auth-more .f textarea { min-height: 70px; }

/* başlıkta hesap bağlantısı */
.hdr-acc svg { width: 22px; height: 22px; }
.hdr-acc.is-in { color: var(--navy); }
.hdr-acc.is-in svg { stroke: var(--teal-ink); }

/* ödeme ve teklif formunda hesap notu */
.acc-note { display: flex; gap: 10px; align-items: center; margin: 0; padding: 10px 14px; border-radius: var(--r-sm); background: var(--bg-2); font-size: .88rem; color: var(--ink-2); }
.acc-note svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--teal-ink); stroke-width: 2; }

/* hesabım */
.auth-band .auth-ring.r1 { top: -60%; right: -10%; width: min(70vw, 760px); }
.auth-band .auth-ring.r2 { top: -30%; right: 6%; width: min(40vw, 420px); }
.acc-hd { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(28px, 5vw, 56px); }
.acc-hd > div:nth-child(2) { flex: 1; min-width: 220px; }
.acc-hd h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 6px; }
.acc-av { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); }
.acc-av svg { width: 30px; height: 30px; fill: none; stroke: #7FF0E4; stroke-width: 1.8; }
.acc-out { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); }
.acc-out:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .5); }
.acc-out svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.acc { padding-top: 24px; padding-bottom: 56px; }
.acc .notice-sample { margin: 0 0 18px; }
.acc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.acc-tabs a { padding: 12px 16px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.acc-tabs a:hover { color: var(--ink); }
.acc-tabs a[aria-current] { color: var(--navy); border-bottom-color: var(--navy); }
.acc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); }
.acc-row > div { display: grid; gap: 2px; min-width: 0; }
.acc-row a.mono { font-weight: 600; color: var(--navy); }
.acc-row small, .acc-q small { color: var(--muted); font-size: .82rem; }
.acc-st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--bg-3); color: var(--ink-2); white-space: nowrap; }
.acc-st.st-paid, .acc-st.st-delivered, .acc-st.st-answered { background: var(--ok-bg); color: var(--ok); }
.acc-st.st-shipped, .acc-st.st-preparing, .acc-st.st-in_progress { background: #E8E6FB; color: var(--navy); }
.acc-st.st-new, .acc-st.st-pending_payment { background: var(--warn-bg); color: var(--warn); }
.acc-st.st-payment_failed, .acc-st.st-cancelled { background: var(--err-bg); color: var(--err); }
.acc-q { border: 1px solid var(--line); border-radius: var(--r); }
.acc-q summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; }
.acc-q summary::-webkit-details-marker { display: none; }
.acc-q summary .mono { font-weight: 600; color: var(--navy); }
.acc-q[open] summary, .acc-q details[open] summary { border-bottom: 1px solid var(--line); }
.acc-qi { list-style: none; margin: 0; padding: 12px 18px; display: grid; gap: 6px; font-size: .9rem; }
.acc-qi .mono { font-size: .78rem; }
.acc-msg { margin: 0; padding: 0 18px 16px; color: var(--ink-2); font-size: .9rem; white-space: pre-line; }
.acc-empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.acc-empty h2 { font-size: 1.2rem; margin: 0 0 6px; }
.acc-empty p { color: var(--muted); margin: 0 0 18px; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.acc-side { display: grid; gap: 20px; }
.acc-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.acc-card h2 { font-size: 1.1rem; margin: 0; }
.acc-card .f textarea { min-height: 70px; }
.acc-saved { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--ok); font-weight: 600; font-size: .9rem; }
.acc-saved svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.acc-danger { border-color: #F1D4D2; }
.acc-danger .btn { color: var(--err); border-color: #F1D4D2; }

@media (max-width: 900px) {
  .auth-in, .auth-wide .auth-in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 24px; }
  .auth-wide .auth-copy { position: static; }
  .auth-perks { display: none; }
  .auth h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .acc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .auth-card { border-radius: 18px; }
  .acc-row { grid-template-columns: minmax(0, 1fr) auto; }
  .acc-row .btn { grid-column: 1 / -1; }
  .acc-q summary { grid-template-columns: minmax(0, 1fr) auto; }
  .acc-q summary small { grid-column: 1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .auth.is-live .auth-ring, .auth.is-live .auth-glow { animation: none; } }
@media (min-width: 901px) { .cn-acc { display: none !important; } }
.acc-row > div { justify-items: start; }
