/* =============================================================================
   Repertuar Pro — Giriş / kayıt / hesap silme (v2: kompakt tek kart)
   console.css'ten SONRA yüklenir. Yalnızca --c-* token'ları (açık/koyu tema).
   Sayfalar: pages/auth/v2/login.html, signup.html, remove-account.html
   ============================================================================= */
html.ax-page, html.ax-page body { height: auto; min-height: 100%; overflow: auto; }
.ax { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: 20px 16px 28px;
  background:
    radial-gradient(60% 45% at 15% 0%, var(--c-magenta-tonal) 0%, transparent 70%),
    radial-gradient(55% 40% at 100% 100%, var(--c-blue-tonal) 0%, transparent 70%),
    var(--c-bg); }
.ax-top { width: 100%; max-width: 440px; display: flex; align-items: center; gap: 8px; }
.ax-top .grow { flex: 1; }
.ax-logo img { height: 28px; width: auto; display: block; }
.ax-logo .logo-dark { display: none; }
:root[data-theme="dark"] .ax-logo .logo-light { display: none; } :root[data-theme="dark"] .ax-logo .logo-dark { display: block; }

/* ---------- Kart ---------- */
.ax-card { width: 100%; max-width: 440px; margin: auto 0; background: var(--c-surface); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .14); }
:root[data-theme="dark"] .ax-card { box-shadow: 0 0 0 1px var(--c-line), 0 16px 40px -16px rgba(0, 0, 0, .7); }
.ax-card h1 { margin: 0; font-family: var(--c-display); font-weight: 500; font-size: 24px; line-height: 1.2; }
.ax-card .lead { margin: -8px 0 0; color: var(--c-ink-2); font-size: 14px; line-height: 1.5; }
.ax-card form { display: flex; flex-direction: column; gap: 14px; }

/* Giriş / kayıt sekmesi */
.ax-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--c-tile); border-radius: 999px; padding: 4px; }
.ax-tabs a { height: 36px; border-radius: 999px; display: grid; place-items: center; font-weight: 500; font-size: 13.5px; color: var(--c-ink-2); }
.ax-tabs a:hover { color: var(--c-ink); }
.ax-tabs a[aria-current="page"] { background: var(--c-surface); color: var(--c-ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* Sosyal giriş */
.ax-social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ax-social button { height: 44px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--c-line); display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 500; transition: background .15s; }
.ax-social button:hover { background: var(--c-tile); }
.ax-social button:disabled { opacity: .55; pointer-events: none; }
.ax-social svg { width: 18px; height: 18px; }
.ax-or { display: flex; align-items: center; gap: 12px; color: var(--c-mut); font-size: 12px; }
.ax-or::before, .ax-or::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }

/* Alanlar (c-field'ın kompakt hali) */
.ax-card .c-field input { height: 46px; font-size: 15px; }
.ax-card .c-field .lbl-row { display: flex; justify-content: space-between; align-items: baseline; }
.ax-card .c-field .lbl-row button { font-size: 12.5px; font-weight: 500; color: var(--c-blue); }
.ax-card .c-field .lbl-row button:hover { text-decoration: underline; }
.ax-card .c-field.pw input { padding-right: 48px; }
.ax-card .c-field .eye { position: absolute; right: 4px; top: 3px; width: 40px; height: 40px; }
.ax-card .c-field.ok .hint { color: var(--c-green); }
.ax-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 2px; }
.ax-meter i { height: 3px; border-radius: 3px; background: var(--c-tile-2); transition: background .2s; }
.ax-meter[data-s="1"] i:nth-child(-n+1) { background: var(--c-red); }
.ax-meter[data-s="2"] i:nth-child(-n+2) { background: var(--c-amber); }
.ax-meter[data-s="3"] i:nth-child(-n+3) { background: var(--c-blue); }
.ax-meter[data-s="4"] i { background: var(--c-green); }
.ax-card .c-check { align-items: flex-start; min-height: 0; font-size: 13px; color: var(--c-ink-2); line-height: 1.5; }
.ax-card .c-check input { margin-top: 1px; flex: 0 0 auto; }
.ax-card .c-check a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }
.ax-card .c-check.err { color: var(--c-red); } .ax-card .c-check.err input { border-color: var(--c-red); }

/* Ana düğme */
.ax-submit { height: 46px; border-radius: 12px; background: var(--c-navy); color: #fff; font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; transition: filter .2s; }
.ax-submit:hover { filter: brightness(1.15); }
.ax-submit:disabled { opacity: .6; pointer-events: none; }
.ax-submit.danger { background: var(--c-red); }
:root[data-theme="dark"] .ax-submit { background: #4d6bc9; } :root[data-theme="dark"] .ax-submit.danger { background: #c94d4d; }
.ax-submit .spin { animation: u-spin 1s linear infinite; }

/* Mesajlar */
.ax-alert { display: none; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; background: var(--c-red-tonal); color: var(--c-red); }
.ax-alert.on { display: flex; }
.ax-alert.ok { background: var(--c-green-tonal); color: var(--c-green); }
.ax-alert svg { width: 18px; height: 18px; margin-top: 1px; }
.ax-alert a { text-decoration: underline; font-weight: 500; }
.ax-note { margin: 0; font-size: 12.5px; color: var(--c-mut); text-align: center; line-height: 1.55; }
.ax-note a { color: var(--c-ink-2); text-decoration: underline; text-underline-offset: 2px; }
.ax-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--c-blue); align-self: flex-start; }
.ax-back svg { width: 16px; height: 16px; }

/* Hesap silme: açılır bilgi */
.ax-facts { border-radius: 12px; background: var(--c-tile); }
.ax-facts summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 500; font-size: 13.5px; }
.ax-facts summary::-webkit-details-marker { display: none; }
.ax-facts summary .chev { margin-left: auto; width: 16px; height: 16px; color: var(--c-mut); transition: transform .2s; }
.ax-facts[open] summary .chev { transform: rotate(180deg); }
.ax-facts ul { list-style: none; margin: 0; padding: 0 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.ax-facts li { display: flex; gap: 10px; font-size: 13px; color: var(--c-ink-2); line-height: 1.5; }
.ax-facts li svg { width: 17px; height: 17px; margin-top: 1px; }
.ax-facts li b { color: var(--c-ink); font-weight: 500; }

/* Başarı durumu */
.ax-done { text-align: center; align-items: center; }
.ax-done .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--c-green-tonal); color: var(--c-green); display: grid; place-items: center; }
.ax-done .ico svg { width: 26px; height: 26px; }
.ax-done p { margin: 0; color: var(--c-ink-2); line-height: 1.55; }

/* Alt bilgi */
.ax-foot { width: 100%; max-width: 440px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--c-mut); margin-top: 16px; }
.ax-foot a:hover { color: var(--c-ink-2); text-decoration: underline; }

@media (max-width: 480px) {
  .ax { padding: 12px 12px 20px; }
  .ax-card { padding: 22px 18px; border-radius: 20px; margin-top: 16px; }
  .ax-card h1 { font-size: 22px; }
}
@media (max-width: 340px) { .ax-social { grid-template-columns: 1fr; } }
