/* Nexell — hesap, giriş ve ödeme sayfaları.
 *
 * base.css'in üstüne biner; ortak parçalar (.btn, .card, .field, .toast)
 * oradan gelir, burada yalnızca bu sayfalara özgü düzen vardır.
 */

/* ---------------------------------------------------------------- sahne */

/* Giriş ve kısa durum sayfalarının zemini: ızgara çizgileri ve yavaş gezinen
   yeşil ışık. Sayfa içeriği bunun üstünde durur. */
.sahne { position: relative; min-height: 100vh; }
.sahne__zemin {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.sahne__zemin .fx-grid {
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 78%);
}

/* Zemin öğesi olmayan kısa sayfalar için yalnızca CSS'le aynı his */
.auth:not(.auth--split) { position: relative; isolation: isolate; }
.auth:not(.auth--split)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 96px 30px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 75%);
}
.auth:not(.auth--split)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(620px, 90vw);
  aspect-ratio: 1;
  z-index: -1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%);
  filter: blur(20px);
  animation: nxnefes 9s ease-in-out infinite;
}
@keyframes nxnefes { 50% { transform: translate(-50%, -50%) scale(1.12); opacity: .7; } }

/* ------------------------------------------------------------ giriş sayfası */

.auth {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: clamp(40px, 8vw, 90px) 20px 60px;
}
.auth--split {
  grid-template-columns: minmax(0, 420px) minmax(0, 560px);
  justify-content: center;
  align-items: center;
  justify-items: stretch;
  gap: clamp(36px, 6vw, 96px);
}
.auth__col { display: grid; gap: 18px; justify-items: center; }
.auth__card {
  width: 100%;
  max-width: 420px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-l);
  animation: nxkart .7s var(--ease-out) both;
}
/* Kartın üst kenarında marka çizgisi */
.auth__card {
  background-image: linear-gradient(90deg, transparent, var(--accent), transparent);
  background-size: 70% 2px;
  background-repeat: no-repeat;
  background-position: 50% 0;
}
@keyframes nxkart {
  from { opacity: 0; transform: translateY(18px) scale(.98); filter: blur(4px); }
}

.auth__tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
}
/* Kayan gösterge: seçili sekmenin arkasında yaylanarak yer değiştirir */
.auth__tabs::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 6px);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: var(--shadow-s), inset 0 -2px 0 var(--accent);
  transition: transform .45s var(--ease-spring);
}
.auth__tabs:has(#tabKayit.is-on)::before { transform: translateX(calc(100% + 4px)); }
[dir="rtl"] .auth__tabs::before { left: auto; right: 4px; }
[dir="rtl"] .auth__tabs:has(#tabKayit.is-on)::before { transform: translateX(calc(-100% - 4px)); }
.auth__tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
  transition: color .2s ease;
}
.auth__tab:hover { color: var(--text); }
.auth__tab.is-on { color: var(--text); }

.auth__lead { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 20px; }

.auth__intent {
  font-size: 13px;
  color: var(--text-2);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-alt));
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 18px;
  animation: nxup .45s var(--ease-out) both;
}
[dir="rtl"] .auth__intent { border-left: 1px solid var(--line-soft); border-right: 3px solid var(--accent); }

/* Google / Supabase OAuth */
.auth__oauth {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.btn--google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 44px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: var(--shadow-xs);
  box-sizing: border-box;
}
.btn--google:hover {
  background: var(--bg-alt);
  border-color: var(--line-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-s);
}
.btn--google:active {
  transform: translateY(0);
}
.btn--google .google-icon {
  flex-shrink: 0;
}
.auth__divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 6px 0 2px;
}
.auth__divider::before,
.auth__divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--line-soft);
}
.auth__divider span {
  padding: 0 10px;
}

.auth__form { display: grid; gap: 16px; }
/* Gizliyken açılan alan (ad, şifre kuralı) kayarak gelir */
.auth__form .field, .auth__form .hint { animation: nxup .4s var(--ease-out) both; }
.auth__submit { width: 100%; height: 44px; font-size: 15px; }
.auth__submit.is-busy { opacity: .75; pointer-events: none; }
.auth__submit.is-busy::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: nxspin .7s linear infinite;
  margin-inline-end: 8px;
}

.auth__msg { font-size: 13px; line-height: 1.5; display: none; }
.auth__msg.is-on { display: block; color: var(--muted); animation: nxup .3s var(--ease-out) both; }
.auth__msg.is-error { color: var(--warn); animation: nxsalla .4s var(--ease-out) both; }
.auth__msg.is-ok { color: var(--accent-text); }
@keyframes nxsalla {
  0% { opacity: 0; transform: translateX(0); }
  25% { opacity: 1; transform: translateX(-5px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

.auth__alt { margin-top: 16px; text-align: center; }
.auth__legal { margin-top: 18px; text-align: center; }
.auth__legal a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 2px; }
.auth__legal a:hover { color: var(--accent-text); text-decoration-color: currentColor; }
.auth__back a { color: var(--muted); transition: color .2s; }
.auth__back a:hover { color: var(--accent-text); }

/* ---------------------------------------------------------------- vitrin */

.vitrin { display: grid; gap: 22px; align-content: center; animation: nxkart .8s .12s var(--ease-out) both; }
.vitrin__baslik {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.034em;
  line-height: 1.08;
  max-width: 14ch;
}
.vitrin__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vitrin__liste li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.45;
  animation: nxup .6s var(--ease-out) both;
}
.vitrin__liste li:nth-child(1) { animation-delay: .35s; }
.vitrin__liste li:nth-child(2) { animation-delay: .45s; }
.vitrin__liste li:nth-child(3) { animation-delay: .55s; }
.vitrin__ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent-text);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}
.vitrin__ico svg { width: 16px; height: 16px; }
.vitrin__ico--fx { font-size: 12px; font-weight: 700; font-style: italic; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }

/* Mini çalışma kitabı */
.vt {
  --sat: 34px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-l);
  overflow: hidden;
  transition: opacity .4s var(--ease-out);
}
.vitrin.is-sifir .vt { opacity: .35; }
.vt__ust {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line-soft);
}
.vt__nokta { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.vt__nokta:first-child { background: color-mix(in srgb, var(--accent) 70%, var(--line)); }
.vt__ad { margin-inline-start: 8px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.vt__rozet {
  margin-inline-start: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 999px;
  padding: 3px 10px;
  opacity: 0;
  transform: translateY(-4px) scale(.9);
}
.vt__rozet.is-on { animation: nxrozet 2.2s var(--ease-out) both; }
@keyframes nxrozet {
  0% { opacity: 0; transform: translateY(-4px) scale(.9); }
  12%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-2px); }
}
.vt__fx {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  color: var(--text);
}
.vt__fxEt { font-style: italic; font-weight: 700; color: var(--accent-text); padding-inline-end: 10px; border-inline-end: 1px solid var(--line-soft); }
.vt__yaz { white-space: nowrap; overflow: hidden; }
.vt__imlec { width: 2px; height: 16px; background: var(--accent); margin-inline-start: -8px; animation: nxblink 1s steps(1) infinite; }
.vt__enter {
  margin-inline-start: auto;
  width: 24px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.vt__enter.is-bas { animation: nxbas .5s var(--ease-out); }
@keyframes nxbas {
  30% { transform: scale(.86); background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
}

.vt__izgara { font-size: 12.5px; }
.vt__satir {
  display: grid;
  grid-template-columns: 30px 1.05fr 1fr 1fr 1.05fr;
  height: var(--sat);
  align-items: stretch;
}
.vt__satir > span {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-inline-end: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
}
.vt__satir > span:last-child { border-inline-end: 0; }
.vt__satir--harf { height: 22px; background: var(--bg-alt); }
.vt__satir--harf .vt__h { justify-content: center; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.vt__satir--bas { background: var(--head); color: var(--on-head); font-weight: 700; font-size: 12px; }
.vt__satir--bas > span { border-color: color-mix(in srgb, var(--on-head) 14%, transparent); }
.vt__satir--bas .vt__h:last-child { opacity: 0; transform: translateY(-4px); transition: opacity .35s, transform .35s var(--ease-out); }
.vitrin.is-kdv .vt__satir--bas .vt__h:last-child { opacity: 1; transform: none; }
.vt__no { justify-content: center; font-size: 10.5px; color: var(--muted); background: var(--bg-alt); padding: 0 !important; }
.vt__satir--bas .vt__no { background: color-mix(in srgb, var(--on-head) 8%, var(--head)); color: var(--on-head); }
.is-sag { justify-content: flex-end; font-variant-numeric: tabular-nums; }

.vt__govde { position: relative; height: calc(var(--sat) * 4); }
.vt__govde .vt__satir {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--y) * var(--sat));
  background: var(--surface);
  transition: top .7s var(--ease-spring), background-color .45s ease;
}
.vt__govde .vt__satir.is-vurgu { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.vt__govde .vt__satir.is-vurgu .vt__c:first-of-type { color: var(--accent-text); font-weight: 600; }
.vt__kdv { opacity: 0; transform: translateX(-6px); color: var(--accent-text); font-weight: 600; }
.vitrin.is-kdv .vt__kdv { opacity: 1; transform: none; transition: opacity .4s var(--d), transform .5s var(--ease-out) var(--d); }

.vt__sec {
  position: absolute;
  z-index: 2;
  border: 2px solid var(--accent);
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition: left .5s var(--ease-out), width .5s var(--ease-out), top .5s var(--ease-out), height .5s var(--ease-out), opacity .3s;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.vt__sec.is-on { opacity: 1; }
.vt__sec::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border: 2px solid var(--surface);
}

@media (max-width: 980px) {
  .auth--split { grid-template-columns: minmax(0, 440px); }
  .vitrin { display: none; }
}

/* ------------------------------------------------------------ durum ikonu */

.durum {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
}
/* Bekleniyor: dönen yay */
.durum:not(.durum--ok):not(.durum--hata):not(.durum--bilgi)::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2.6px solid var(--accent);
  border-right-color: transparent;
  animation: nxspin .8s linear infinite;
}
.durum--ok {
  background: var(--accent);
  border-color: var(--accent);
  animation: nxpopDurum .55s var(--ease-spring) both;
}
.durum--ok::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: nxring 1.6s .3s var(--ease-out) 2 both;
}
.durum--ok::after {
  content: "";
  position: absolute;
  left: 19px; top: 20px;
  width: 18px; height: 10px;
  border-left: 2.8px solid var(--on-accent);
  border-bottom: 2.8px solid var(--on-accent);
  transform: rotate(-45deg);
  animation: nxtik .45s .25s var(--ease-out) both;
}
@keyframes nxtik { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes nxpopDurum { from { transform: scale(.4); opacity: 0; } }
.durum--hata { animation: nxsalla .5s var(--ease-out) both; }
.durum--hata::before, .durum--hata::after {
  content: "";
  position: absolute;
  left: 26px; top: 16px;
  width: 2.6px; height: 22px;
  border-radius: 2px;
  background: var(--warn);
}
.durum--hata::before { transform: rotate(45deg); }
.durum--hata::after { transform: rotate(-45deg); }
.durum--bilgi { animation: nxpopDurum .5s var(--ease-spring) both; }
.durum--bilgi::after {
  content: "!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  color: var(--muted);
}

/* ---------------------------------------------------------- hesap paneli */

.hesap { position: relative; padding: clamp(28px, 5vw, 52px) 20px 90px; }
/* Sayfanın üstünde sönerek kaybolan hücre ızgarası */
.hesap__zemin {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 420px;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hesap__zemin .fx-grid {
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 30% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 90% at 30% 0%, #000 20%, transparent 70%);
}
.hesap__zemin::after {
  content: "";
  position: absolute;
  left: 8%;
  top: -180px;
  width: 520px;
  height: 420px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent), transparent 65%);
  filter: blur(30px);
}
.hesap__head, .uyari, .ozet, .bolum { animation: nxup .6s var(--ease-out) both; }
.bolum:nth-of-type(2) { animation-delay: .08s; }
.bolum:nth-of-type(3) { animation-delay: .14s; }
.bolum:nth-of-type(n+4) { animation-delay: .2s; }

.hesap__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hesap__who { font-size: 14px; color: var(--muted); margin-top: 6px; }

.uyari {
  font-size: 13.5px;
  color: var(--text-2);
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 12px 15px;
  margin-bottom: 24px;
}
[dir="rtl"] .uyari { border-left: 1px solid var(--line-soft); border-right: 3px solid var(--accent); }

.ozet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.ozet__kart {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-m);
  padding: 22px 24px;
  display: grid;
  gap: 4px;
  align-content: start;
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.ozet__kart:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.ozet__etiket { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ozet__etiket::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad);
}
.ozet__deger { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ozet__alt { font-size: 12.5px; color: var(--muted); }
/* Kota çubuğu: hücre içi veri çubuğu görünümü */
.ozet__cubuk {
  display: block;
  height: 8px;
  margin: 8px 0 2px;
  border-radius: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.ozet__cubuk[hidden] { display: none; }
.ozet__cubuk i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--grad);
  transition: width 1.1s var(--ease-out);
}
.ozet__cubuk.is-dolu i { background: linear-gradient(90deg, var(--accent), var(--warn)); }

.bolum { margin-top: clamp(38px, 5vw, 56px); }
.bolum__bas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.bolum__alt { font-size: 14px; color: var(--muted); margin-top: 8px; }

.parabirimi {
  display: inline-flex;
  gap: 3px;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 3px;
}
.parabirimi__btn {
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.parabirimi__btn.is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-s); }

.planlar {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.paketler {
  margin-top: 18px;
  display: block;
}

.pkart {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-m);
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: start;
  animation: nxup .5s var(--ease-out) both;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.pkart:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.pkart.is-current {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent), var(--shadow-s);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface) 60%);
}
.pkart__bas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pkart__bas b { font-size: 16px; }
.pkart__rozet {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 999px;
  padding: 3px 9px;
}
.pkart__fiyat { font-size: 24px; font-weight: 700; letter-spacing: -0.026em; }
.pkart__alt { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.pkart .btn, .pkart .linkbtn { margin-top: 6px; justify-self: start; }

/* ------------------------------------------- Satır/OCR Kaydırma Çubuğu (Slider) */
.pack-slider-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.pack-slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.pack-slider__counts {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pack-slider__rows {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.pack-slider__divider {
  color: var(--muted);
  font-size: 20px;
}
.pack-slider__ocr {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-text);
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
}
.pack-slider__price {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.pack-slider__track-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pack-slider__input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--line-soft);
  outline: none;
  cursor: pointer;
  margin: 10px 0;
}
.pack-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #00bf63;
  box-shadow: 0 0 0 5px rgba(0, 191, 99, 0.25), 0 2px 8px rgba(0,0,0,0.3);
  cursor: grab;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pack-slider__input::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(0, 191, 99, 0.35), 0 4px 12px rgba(0,0,0,0.4);
}
.pack-slider__input::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #00bf63;
  box-shadow: 0 0 0 5px rgba(0, 191, 99, 0.25), 0 2px 8px rgba(0,0,0,0.3);
  cursor: grab;
}
.pack-slider__labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  padding: 0 4px;
}
.pack-slider__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.pack-slider__note {
  font-size: 13px;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.45;
}

/* ------------------------------------------- Ekip Ek Koltuk Kutusu */
.ekipKoltukKutu {
  margin-top: 18px;
  background: var(--surface);
  border: 1px dashed var(--line-soft);
  border-radius: var(--r-m);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ekipKoltukKutu:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line-soft));
}
.ekipKoltukKutu__sol {
  display: grid;
  gap: 4px;
}
.ekipKoltukKutu__sol b {
  font-size: 15px;
  color: var(--text);
}
.ekipKoltukKutu__alt {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------- tablolar */

.tabloKutu {
  margin-top: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-m);
  overflow-x: auto;
  max-width: 100%;
}
.dtablo { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dtablo th, .dtablo td {
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
[dir="rtl"] .dtablo th, [dir="rtl"] .dtablo td { text-align: right; }
.dtablo th {
  background: var(--bg-alt);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.dtablo tr:last-child td { border-bottom: 0; }
.dtablo tbody tr { transition: background-color .2s; }
.dtablo tbody tr:hover td { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.dtablo td { font-variant-numeric: tabular-nums; }
.dtablo .sag { text-align: right; font-variant-numeric: tabular-nums; }
[dir="rtl"] .dtablo .sag { text-align: left; }
.dtablo .arti { color: var(--accent-text); }
.dtablo .eksi { color: var(--muted); }
.bos { padding: 22px 16px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* ----------------------------------------------------------- api anahtarı */

.apiUret { margin-bottom: 16px; }
.anahtarKutu {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: var(--r-m);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line-soft));
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  display: grid;
  gap: 8px;
  animation: nxup .45s var(--ease-out) both;
}
.anahtarKutu__bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.anahtarKutu__deger {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 14px;
  color: var(--accent-text);
  word-break: break-all;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--line));
}
.anahtarKutu__not { font-size: 12px; color: var(--warn); }
.linkbtn--tehlike { color: var(--danger); }

/* ------------------------------------------------------------ ödeme formu */

.odemeOrtu {
  position: fixed;
  inset: 0;
  background: rgb(var(--shadow-ink) / .55);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 120;
  overflow-y: auto;
}
.odemeKutu {
  background: var(--surface);
  border-radius: var(--r-m);
  padding: 20px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: var(--shadow-m);
}
.odemeKapat {
  position: absolute;
  top: 8px;
  inset-inline-end: 10px;
  border: 0;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.odemeKapat:hover { color: var(--text); }

/* ------------------------------------------------------------------ ekip */

.koltukSayac {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 5px 12px;
  font-variant-numeric: tabular-nums;
}

.ekipKur, .ekipDavet {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  max-width: 640px;
}
.ekipDavet { grid-template-columns: minmax(0, 1fr) 160px auto; }
@media (max-width: 620px) {
  .ekipKur, .ekipDavet { grid-template-columns: 1fr; }
  .ekipKur .btn, .ekipDavet .btn { justify-self: start; }
}

/* Bekleyen davet henüz bir üye değil; listede ondan ayrılsın. */
.dtablo tr.is-bekleyen td { color: var(--muted); font-style: italic; }

.ekipAlt {
  margin-top: 16px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------- yasal metinler */

.belge__zemin {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 360px;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.belge__zemin .fx-grid {
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 15%, transparent 70%);
}
.belge { padding: clamp(40px, 7vw, 72px) 22px 90px; animation: nxup .6s var(--ease-out) both; }
.belge .eyebrow { margin-bottom: 14px; }
.belge__baslik { margin-bottom: 14px; }
.belge__alt { margin-bottom: 36px; color: var(--muted); font-size: 16px; }
.belge__govde { display: grid; gap: 14px; line-height: 1.75; color: var(--text-2); counter-reset: madde; }
.belge__govde > div {
  position: relative;
  padding: 20px 22px 20px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-m);
  background: var(--surface);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-out);
}
.belge__govde > div::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: var(--grad);
  opacity: .35;
  transition: opacity .3s;
}
.belge__govde > div:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--line-soft)); box-shadow: var(--shadow-s); }
.belge__govde > div:hover::before { opacity: 1; }
.belge__govde h2 { margin-bottom: 10px; color: var(--text); }
.belge__govde ul { margin: 8px 0 0 20px; list-style: disc; display: grid; gap: 4px; }
.belge__govde li::marker { color: var(--accent); }
.belge__govde a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.belge__geri { margin-top: 44px; }
[dir="rtl"] .belge__govde > div::before { left: auto; right: -1px; }
[dir="rtl"] .belge__govde ul { margin: 8px 20px 0 0; }

/* API belgesi: kod blokları ve uç nokta etiketi */
.belge--kod .belge__govde { gap: 18px; }
.belge--kod h4 { margin: 16px 0 8px; font-size: 14px; color: var(--text); }
.belge--kod pre {
  margin: 0;
  padding: 16px 18px;
  border-radius: 12px;
  overflow-x: auto;
  background: #0f1310;
  border: 1px solid #242a25;
  color: #e7ece6;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
}
.belge--kod pre code { color: inherit; font-weight: 400; background: none; padding: 0; }
.belge--kod code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .92em;
  color: var(--accent-text);
  font-weight: 600;
}
.belge__not { font-size: 13px; color: var(--muted); margin-top: 8px; }
.belge__uc { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.endpoint {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
}

/* ------------------------------------------------------ hesabı kapat */

.tehlike {
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--danger) 30%, var(--line-soft));
  border-radius: var(--r-m);
  background: color-mix(in srgb, var(--danger) 4%, var(--surface));
}
.tehlike .h3 { color: var(--danger); }
.tehlike .bolum__alt { max-width: 70ch; margin-bottom: 12px; }
.tehlike__form { margin: 14px 0 0; animation: nxup .35s var(--ease-out) both; }
.tehlike__btn { background: var(--danger); color: #fdfdfb; }
.tehlike__btn:hover { background: color-mix(in srgb, var(--danger) 85%, #000); box-shadow: none; }
