/* Takipcin Burada - UI 2 (musteri tarafi ortak stiller)
   Sira: header (misafir) > footer (misafir) > sayfa basligi > panel bilesenleri > mobil alt menu > erisilebilirlik */
:root {
  --tb-bg: #1a1d25; --tb-card: #20232d; --tb-card2: #272b37; --tb-line: rgba(255,255,255,.08);
  --tb-acc: #5a7dff; --tb-acc2: #7b5cff; --tb-txt: #e9ecf6; --tb-mut: #a9b2c8;
  --tb-ok: #2fbf71; --tb-warn: #f5a524; --tb-err: #ff6b7a; --tb-info: #4aa3ff;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, svg { max-width: 100%; }

/* ---------- Erisilebilirlik ---------- */
.tb-skip { position: fixed; left: 12px; top: -80px; z-index: 5000; background: #fff; color: #111 !important; padding: 12px 18px; border-radius: 10px; font-weight: 700; transition: top .15s; }
.tb-skip:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #8fa6ff; outline-offset: 2px; border-radius: 8px; }
.fg-control:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(90,125,255,.55); }
.btn, .fg-control, .ahbtn { min-height: 44px; }
.btn-sm { min-height: 40px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.tb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Misafir ust menu ---------- */
body.tb-guest { padding-top: 0; }
.tbn { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(26,29,37,.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
.tbn.is-stuck, .tbn.is-open { background: rgba(26,29,37,.96); border-bottom-color: var(--tb-line); }
.tbn-in { max-width: 1240px; margin: 0 auto; padding: 0 20px; height: 72px; display: flex; align-items: center; gap: 20px; }
.tbn-logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.tbn-logo img { display: block; width: 200px; height: auto; }
.tbn-nav { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.tbn-nav li { margin: 0; }
.tbn-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: #dbe1f2; font-weight: 600; font-size: 15px; line-height: 1; transition: background .15s, color .15s; }
.tbn-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.tbn-link.is-active { color: #fff; box-shadow: inset 0 -2px 0 var(--tb-acc); border-radius: 10px 10px 0 0; }
.tbn-cta { margin-left: 6px; }
.tbn-cta .btn { height: 44px; min-height: 44px; padding: 0 22px; font-size: 15px; display: inline-flex; align-items: center; }
.tbn-burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--tb-line); background: var(--tb-card); color: #fff; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; }
@media (max-width: 899.98px) {
  .tbn-in { height: 64px; padding: 0 14px; }
  .tbn-logo img { width: 170px; }
  .tbn-burger { display: inline-flex; }
  .tbn-nav { display: none; position: absolute; top: 64px; left: 10px; right: 10px; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 10px; background: var(--tb-card); border: 1px solid var(--tb-line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
  .tbn.is-open .tbn-nav { display: flex; }
  .tbn-link { min-height: 48px; padding: 0 14px; font-size: 16px; }
  .tbn-link.is-active { box-shadow: none; background: rgba(90,125,255,.14); border-radius: 10px; }
  .tbn-cta { margin: 6px 0 0; }
  .tbn-cta .btn { width: 100%; justify-content: center; height: 50px; }
}
/* Misafir sayfalarinda icerik sabit menunun altina girmesin */
body.tb-guest .app-main { padding-top: 96px !important; }
body.tb-guest .app-main .container { max-width: 1240px; }
@media (max-width: 899.98px) { body.tb-guest .app-main { padding-top: 84px !important; } }

/* ---------- Misafir alt bilgi ---------- */
.tbf { background: #15171e; border-top: 1px solid var(--tb-line); margin-top: 40px; color: var(--tb-mut); }
.tbf-cta { text-align: center; padding: 56px 20px 40px; background: radial-gradient(70% 120% at 50% 0%, rgba(90,125,255,.16), transparent 70%); }
.tbf-cta h2 { color: #fff; font-size: clamp(1.4rem, 3.6vw, 2.1rem); font-weight: 800; line-height: 1.2; margin: 0 0 10px; }
.tbf-cta p { margin: 0 auto 22px; max-width: 560px; font-size: 1rem; line-height: 1.6; }
.tbf-cta .tbf-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tbf-grid { max-width: 1240px; margin: 0 auto; padding: 36px 20px 8px; display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr 1fr; border-top: 1px solid var(--tb-line); }
.tbf-grid img { width: 190px; height: auto; display: block; margin-bottom: 14px; }
.tbf-grid p { margin: 0; font-size: .92rem; line-height: 1.6; max-width: 320px; }
.tbf-grid h3 { color: #fff; font-size: .95rem; font-weight: 700; margin: 0 0 12px; }
.tbf-grid ul { list-style: none; margin: 0; padding: 0; }
.tbf-grid li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--tb-mut); font-size: .93rem; }
.tbf-grid li a:hover { color: #fff; }
.tbf-bot { max-width: 1240px; margin: 0 auto; padding: 18px 20px 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .85rem; border-top: 1px solid var(--tb-line); margin-top: 26px; }
.tbf-bot span b { color: #fff; font-weight: 600; }
@media (max-width: 899.98px) { .tbf-grid { grid-template-columns: 1fr 1fr; } .tbf-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 479.98px) { .tbf-bot { flex-direction: column; } .tbf-cta .tbf-btns .btn { width: 100%; } }

/* ---------- Genel sayfa basligi (ic sayfalar) ---------- */
.tb-pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin: 18px 0 20px; padding: 22px 24px; background: linear-gradient(135deg, rgba(90,125,255,.16), rgba(123,92,255,.06) 60%, transparent), var(--tb-card); border: 1px solid var(--tb-line); border-radius: 20px; }
.tb-pagehead h1, .tb-pagehead h2.tb-ph-title { margin: 0; font-family: "TT Firs Neue", Gilroy, sans-serif; font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; line-height: 1.2; }
.tb-pagehead p { margin: 6px 0 0; color: var(--tb-mut); font-size: .98rem; line-height: 1.55; max-width: 640px; }
.tb-pagehead .tb-ph-act { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 575.98px) { .tb-pagehead { padding: 18px 16px; border-radius: 16px; } .tb-pagehead .tb-ph-act, .tb-pagehead .tb-ph-act .btn { width: 100%; } }

/* Eski iki satirlik baslik kutusu: kompakt */
.hp-bbox { min-height: 0 !important; }

/* Kart basligi ikon kutusu (t-head) duzeltmesi */
.t-head.th-3 > .d-flex { gap: 14px; align-items: center !important; flex-wrap: nowrap; }
.t-head.th-3 .col-lg-2, .t-head.th-3 .col-lg-10 { width: auto !important; max-width: none !important; flex: none; padding: 0 !important; }
.t-head.th-3 .col-lg-10 { flex: 1 1 auto; min-width: 0; }
.t-head.th-3 .t-icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 22px; border-radius: 14px; }
.t-head.th-3 h2 { font-size: 1.15rem; line-height: 1.3; margin: 0; }
.t-head.th-3 p { margin: 4px 0 0; font-size: .9rem; color: var(--tb-mut); }

/* ---------- Panel: ust bar / yan menu ---------- */
.sidebar-menu li.active > a, .sidebar-menu li > a[aria-current="page"] { color: #fff; }
.sidebar-menu li > a[aria-current="page"] .menu-icon { background: linear-gradient(135deg, var(--tb-acc), var(--tb-acc2)); color: #fff; box-shadow: 0 8px 20px rgba(90,125,255,.35); }
.sidebar-menu li > a[aria-current="page"] span { color: #fff; font-weight: 700; }
.app-header .pg-titlte { overflow-wrap: anywhere; }
.ahbtn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; }
.ahbtn .fas, .ahbtn .far { pointer-events: none; }

/* ---------- Mobil alt menu ---------- */
.app-navbar.tb-bnav { height: auto; min-height: 64px; padding: 0 6px env(safe-area-inset-bottom); background: rgba(24,26,34,.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--tb-line); box-shadow: 0 -10px 30px rgba(0,0,0,.35); }
.tb-bnav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; }
.tb-bnav li { text-align: center; }
.tb-bnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 64px; padding: 8px 2px 6px; color: #8d96ad; font-size: 11px; font-weight: 600; line-height: 1.1; }
.tb-bnav a i { font-size: 21px; line-height: 1; color: inherit; }
.tb-bnav a.active, .tb-bnav a[aria-current="page"] { color: #fff; }
.tb-bnav a.active i, .tb-bnav a[aria-current="page"] i { color: var(--tb-acc); }
.tb-bnav .tb-bnav-mid a { margin-top: -22px; min-height: 0; padding: 0; color: #fff; }
.tb-bnav .tb-bnav-mid .tb-bnav-fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--tb-acc), var(--tb-acc2)); box-shadow: 0 10px 24px rgba(90,125,255,.5); border: 4px solid #1a1d25; }
.tb-bnav .tb-bnav-mid .tb-bnav-fab i { color: #fff; font-size: 22px; }
.tb-bnav .tb-bnav-mid span.tb-bnav-lbl { padding: 5px 0 6px; color: #cfd6ea; }
@media (max-width: 767.98px) {
  body.tb-user .app-main, body.tb-user .page-content { padding-bottom: 90px; }
}

/* ---------- Bildirim kartlari / duyurular ---------- */
.card-announce .can-text { overflow-wrap: anywhere; }

/* ---------- Durum rozetleri (siparis / odeme / destek) ---------- */
.tb-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: .82rem; line-height: 1; white-space: nowrap; border: 1px solid transparent; }
.tb-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.tb-b-ok { color: #4ade9a; background: rgba(47,191,113,.12); border-color: rgba(47,191,113,.3); }
.tb-b-run { color: #7fb4ff; background: rgba(74,163,255,.12); border-color: rgba(74,163,255,.3); }
.tb-b-wait { color: #ffc562; background: rgba(245,165,36,.12); border-color: rgba(245,165,36,.3); }
.tb-b-part { color: #c8a7ff; background: rgba(160,110,255,.12); border-color: rgba(160,110,255,.3); }
.tb-b-err { color: #ff8f9b; background: rgba(255,107,122,.12); border-color: rgba(255,107,122,.3); }
.tb-b-off { color: #b4bccf; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }

/* ---------- Siparislerim ---------- */
.tb-ord-tools { display: grid; gap: 12px; margin: 18px 0 8px; }
.tb-ord-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; margin: 0; list-style: none; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.tb-ord-tabs li { flex: none; }
.tb-ord-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--tb-card); border: 1px solid var(--tb-line); color: #cfd6ea; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.tb-ord-tabs a:hover { border-color: var(--tb-acc); color: #fff; }
.tb-ord-tabs li.active a { background: var(--tb-acc); border-color: var(--tb-acc); color: #fff; box-shadow: 0 8px 20px rgba(90,125,255,.3); }
.tb-ord-search { position: relative; }
.tb-ord-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--tb-mut); pointer-events: none; }
.tb-ord-search input { width: 100%; min-height: 50px; padding: 0 16px 0 46px; border-radius: 14px; border: 1px solid var(--tb-line); background: var(--tb-card); color: #fff; font-size: 16px; }
.tb-ord-search input::placeholder { color: #7d869d; }
.tb-ord-note { color: var(--tb-mut); font-size: .88rem; margin: 6px 0 0; }

.tb-ord { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.tb-o { background: var(--tb-card); border: 1px solid var(--tb-line); border-radius: 18px; padding: 16px; min-width: 0; }
.tb-o-top { display: flex; align-items: flex-start; gap: 12px; }
.tb-o-id { flex: none; min-width: 52px; height: 36px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 10px; background: rgba(90,125,255,.16); color: #b6c4ff; font-weight: 800; font-size: .9rem; }
.tb-o-name { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.4; overflow-wrap: anywhere; }
.tb-o-st { flex: none; }
.tb-o-link { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 6px 6px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--tb-line); border-radius: 12px; min-width: 0; }
.tb-o-link a { flex: 1 1 auto; min-width: 0; color: #b9c3dc; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-o-link a:hover { color: #fff; }
.tb-o-link button { flex: none; width: 44px; height: 40px; border: 0; border-radius: 10px; background: rgba(255,255,255,.07); color: #dbe1f2; cursor: pointer; }
.tb-o-link button:hover { background: var(--tb-acc); color: #fff; }
.tb-o-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.tb-o-meta > div { background: rgba(255,255,255,.035); border-radius: 12px; padding: 9px 12px; min-width: 0; }
.tb-o-meta dt { color: var(--tb-mut); font-size: .74rem; font-weight: 500; line-height: 1.2; }
.tb-o-meta dd { margin: 3px 0 0; color: #fff; font-weight: 700; font-size: .95rem; overflow-wrap: anywhere; }
.tb-o-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tb-o-act .btn { min-height: 44px; flex: 1 1 160px; }
.tb-o-prog { margin-top: 12px; }
.tb-o-prog > div { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.tb-o-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--tb-acc), var(--tb-acc2)); border-radius: 999px; }
.tb-o-prog small { display: block; margin-top: 5px; color: var(--tb-mut); font-size: .76rem; }
@media (min-width: 768px) {
  .tb-o-meta { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .tb-o-top { flex-wrap: wrap; }
  .tb-o-name { flex-basis: 100%; order: 3; }
  .tb-o-st { margin-left: auto; }
}
.tb-empty { text-align: center; padding: 40px 18px; background: var(--tb-card); border: 1px dashed rgba(255,255,255,.16); border-radius: 20px; }
.tb-empty .tb-empty-ico { width: 72px; height: 72px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 22px; font-size: 30px; color: #b6c4ff; background: rgba(90,125,255,.14); }
.tb-empty h3 { margin: 0 0 6px; color: #fff; font-size: 1.2rem; font-weight: 700; }
.tb-empty p { margin: 0 auto 18px; max-width: 460px; color: var(--tb-mut); line-height: 1.6; }
.tb-empty .tb-empty-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Bakiye yukle ---------- */
.tb-fund { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 992px) { .tb-fund { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.tb-panel { background: var(--tb-card); border: 1px solid var(--tb-line); border-radius: 20px; padding: 20px; min-width: 0; }
.tb-panel + .tb-panel { margin-top: 0; }
.tb-panel h2, .tb-panel h3.tb-ph { margin: 0 0 4px; font-size: 1.15rem; font-weight: 700; color: #fff; }
.tb-panel .tb-sub { margin: 0 0 16px; color: var(--tb-mut); font-size: .92rem; line-height: 1.5; }
.tb-panel .fga { margin-bottom: 16px; }
.tb-panel .fla { display: block; margin-bottom: 6px; }
.tb-panel .fg-control { font-size: 16px; min-height: 52px; }
.tb-help { display: block; margin-top: 6px; color: var(--tb-mut); font-size: .82rem; line-height: 1.45; }
.tb-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tb-quick button { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--tb-line); background: var(--tb-card2); color: #e9ecf6; font-weight: 700; cursor: pointer; transition: all .15s; }
.tb-quick button:hover, .tb-quick button.active { background: var(--tb-acc); border-color: var(--tb-acc); color: #fff; }
.tb-steps { list-style: none; margin: 0 0 14px; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.tb-steps li { counter-increment: s; position: relative; padding-left: 44px; color: #cfd6ea; line-height: 1.55; font-size: .94rem; }
.tb-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; background: linear-gradient(135deg, var(--tb-acc), var(--tb-acc2)); }
.tb-steps b { color: #fff; }
.tb-notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: .9rem; line-height: 1.55; margin-top: 14px; }
.tb-notice i { flex: none; margin-top: 2px; }
.tb-notice-info { background: rgba(74,163,255,.1); border: 1px solid rgba(74,163,255,.28); color: #cfe3ff; }
.tb-notice-warn { background: rgba(245,165,36,.1); border: 1px solid rgba(245,165,36,.3); color: #ffe2ae; }
.tb-notice-ok { background: rgba(47,191,113,.1); border: 1px solid rgba(47,191,113,.3); color: #c8f3dc; }
.tb-notice a { color: #fff; text-decoration: underline; }
.tb-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.tb-facts > div { background: rgba(255,255,255,.04); border-radius: 12px; padding: 10px 12px; }
.tb-facts dt { color: var(--tb-mut); font-size: .74rem; font-weight: 500; }
.tb-facts dd { margin: 3px 0 0; color: #fff; font-weight: 800; font-size: 1rem; }
@media (max-width: 479.98px) { .tb-facts { grid-template-columns: 1fr 1fr; } .tb-facts > div:last-child { grid-column: 1 / -1; } }
.tb-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tb-hist li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px; padding: 12px 14px; background: rgba(255,255,255,.035); border: 1px solid var(--tb-line); border-radius: 14px; }
.tb-hist .tb-h-amt { grid-row: span 2; font-weight: 800; color: #fff; font-size: 1.05rem; }
.tb-hist .tb-h-meta { color: var(--tb-mut); font-size: .82rem; }
.tb-hist .tb-h-st { grid-row: span 2; }
.tb-hist .tb-h-top { color: #e9ecf6; font-weight: 600; font-size: .92rem; }
.tb-pay-alert { margin-bottom: 16px; padding: 14px 16px; border-radius: 14px; font-weight: 600; line-height: 1.5; }
.tb-pay-alert.err { background: rgba(255,107,122,.12); border: 1px solid rgba(255,107,122,.35); color: #ffc2c9; }
.tb-pay-alert.ok { background: rgba(47,191,113,.12); border: 1px solid rgba(47,191,113,.35); color: #c8f3dc; }

/* ---------- Hesabim ---------- */
.tb-acc-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
@media (min-width: 992px) { .tb-acc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tb-acc-i { display: flex; align-items: center; gap: 12px; padding: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--tb-line); border-radius: 16px; min-width: 0; }
.tb-acc-i .ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--tb-acc), var(--tb-acc2)); font-size: 18px; }
.tb-acc-i small { display: block; color: var(--tb-mut); font-size: .76rem; line-height: 1.2; }
.tb-acc-i b { display: block; color: #fff; font-size: 1rem; overflow-wrap: anywhere; line-height: 1.3; }
.tb-acc-layout { display: grid; gap: 18px; margin-top: 18px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 992px) { .tb-acc-layout { grid-template-columns: 300px minmax(0, 1fr); } }
.tb-tabs { display: grid; gap: 8px; }
.tb-tabs .nav-link, .tb-tabs button { width: 100%; min-height: 50px; text-align: left; padding: 0 16px; border-radius: 14px; background: var(--tb-card2); border: 1px solid var(--tb-line); color: #dbe1f2; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.tb-tabs .nav-link.active { background: var(--tb-acc); border-color: var(--tb-acc); color: #fff; }
.tb-pw-meter { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 8px; }
.tb-pw-meter i { display: block; height: 100%; width: 0; background: var(--tb-err); transition: width .2s, background .2s; }

/* ---------- Destek ---------- */
.tb-tk-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
@media (min-width: 576px) { .tb-tk-types { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tb-tk-types label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 10px; text-align: center; cursor: pointer; border-radius: 12px; border: 1px solid var(--tb-line); background: var(--tb-card2); color: #dbe1f2; font-weight: 700; font-size: .92rem; }
.tb-tk-types input { position: absolute; opacity: 0; pointer-events: none; }
.tb-tk-types input:checked + label { background: var(--tb-acc); border-color: var(--tb-acc); color: #fff; box-shadow: 0 8px 20px rgba(90,125,255,.3); }
.tb-tk-types input:focus-visible + label { outline: 3px solid #8fa6ff; outline-offset: 2px; }
.tb-tk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tb-tk-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--tb-line); color: inherit; }
.tb-tk-list a:hover { border-color: var(--tb-acc); }
.tb-tk-list .tb-tk-id { font-weight: 800; color: #b6c4ff; background: rgba(90,125,255,.16); border-radius: 10px; padding: 6px 10px; }
.tb-tk-list .tb-tk-t { color: #fff; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 575.98px) { .tb-tk-list a { grid-template-columns: auto 1fr; } .tb-tk-list .tb-badge { grid-column: 1 / -1; justify-self: start; } }

/* ---------- SSS (accordion) ---------- */
.tb-acc { display: grid; gap: 10px; }
.tb-acc details { background: var(--tb-card); border: 1px solid var(--tb-line); border-radius: 16px; padding: 0 18px; }
.tb-acc summary { cursor: pointer; list-style: none; position: relative; padding: 16px 30px 16px 0; color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.4; min-height: 54px; }
.tb-acc summary::-webkit-details-marker { display: none; }
.tb-acc summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--tb-acc); font-size: 1.5rem; line-height: 1; font-weight: 400; }
.tb-acc details[open] { border-color: rgba(90,125,255,.4); }
.tb-acc details[open] summary::after { content: "\2212"; }
.tb-acc .tb-acc-a { padding: 0 0 18px; color: var(--tb-mut); line-height: 1.7; font-size: .96rem; }
.tb-acc .tb-acc-a a { color: #9fb3ff; text-decoration: underline; }

/* ---------- Icerik sayfalari (sozlesme, sayfa, API) ---------- */
.card-afip-body { overflow-wrap: anywhere; }
.tb-prose { color: #cfd6ea; line-height: 1.75; font-size: .98rem; }
.tb-prose h1, .tb-prose h2, .tb-prose h3, .tb-prose h4 { color: #fff; margin: 1.4em 0 .5em; }
.tb-prose a { color: #9fb3ff; text-decoration: underline; }

/* ---------- Giris / Kayit ---------- */
.register-page { min-height: 100vh; }
.tb-auth-note { margin: 14px 0 0; text-align: center; color: var(--tb-mut); font-size: .86rem; line-height: 1.5; }
.tb-auth-note a { color: #9fb3ff; text-decoration: underline; }
.tb-pwwrap { position: relative; }
.tb-pwwrap .fg-control { padding-right: 56px; }
.tb-pwtoggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: #aab3c9; cursor: pointer; z-index: 3; }
.tb-pwtoggle:hover { color: #fff; background: rgba(255,255,255,.07); }
.tb-trust-mini { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; margin: 18px 0 0; padding: 0; list-style: none; color: var(--tb-mut); font-size: .82rem; }
.tb-trust-mini li { display: inline-flex; align-items: center; gap: 6px; }
.tb-trust-mini i { color: var(--tb-ok); }
.register-form .btn-block, .login-form .btn-block { min-height: 54px; font-weight: 700; }
@media (max-width: 575.98px) { .register-form.p-5 { padding: 24px 16px !important; } .register-page .container { padding-left: 10px; padding-right: 10px; } }

/* ---------- Tablolar ---------- */
.table-responsive, .table-wrap { -webkit-overflow-scrolling: touch; }
.fg .tb-pwwrap { flex: 1 1 auto; min-width: 0; }
.tb-auth-title { margin: 16px 0 4px; font-family: "TT Firs Neue", Gilroy, sans-serif; font-weight: 600; font-size: 1.6rem; color: #fff; line-height: 1.2; }
.tb-auth-sub { margin: 0; color: var(--tb-mut); font-size: .95rem; }
.tb-opt { color: var(--tb-mut); font-weight: 500; font-size: .85em; }
.fga .tb-help { padding-left: 2px; }
.register-form .hlb-header { margin-bottom: 20px !important; }
.register-form .hlb-header .sidebar-logo-cont img { height: auto; width: 190px; }
.login-box .login-logo { flex-direction: column; align-items: center !important; gap: 10px; }
.login-box .login-logo img { width: 190px; height: auto !important; }
.login-box .login-logo span { font-size: 1.3rem !important; color: #fff; font-weight: 700; }
.login-box .form-check-label, .login-box .frgpass { min-height: 44px; display: inline-flex; align-items: center; }
.login-box .frgpass { justify-content: flex-end; width: 100%; color: #9fb3ff; }
#login .modal-content { max-height: 100vh; overflow-y: auto; }
.tb-o-act > .btn { flex: 0 1 auto; padding-left: 22px; padding-right: 22px; white-space: nowrap; }
@media (max-width: 575.98px) { .tb-o-act > .btn { flex: 1 1 100%; } }
.tb-o-act .col-lg-6 { flex: 1 1 200px; width: auto; max-width: none; padding: 0; }
.tb-o-act .col-lg-6 .btn { width: 100%; min-height: 44px; white-space: normal; }
.tb-o[hidden], .tb-ord-note[hidden] { display: none !important; }
.tb-ord-tabs::-webkit-scrollbar { height: 6px; }
.tb-ord-tabs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 6px; }
.tb-pagehead p:empty { display: none; }
/* Alan kontrastı: kart zemininden ayrışsın */
.tb-panel .fg, .tb-order .fg { background: #171a22; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; }
.tb-panel .fg-control, .tb-order .fg-control { background: transparent; border-color: transparent; color: #fff; }
.tb-panel .fg:focus-within, .tb-order .fg:focus-within { border-color: #5a7dff; box-shadow: 0 0 0 3px rgba(90,125,255,.25); }
.tb-panel .fg-control:focus-visible, .tb-order .fg-control:focus-visible { box-shadow: none; }
.tb-acc-i b { font-size: .95rem; }
.tb-notice[hidden] { display: none !important; }

/* ---------- Fiyat listesi ---------- */
.tb-sv-tools { display: grid; gap: 12px; margin: 0 0 14px; }
.tb-sv { margin-bottom: 30px; }
.tb-sv-head, .tb-sv-row > summary { display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px 96px 110px 36px; align-items: center; gap: 0 14px; }
.tb-sv-head { padding: 0 18px; margin-bottom: 8px; color: var(--tb-mut); font-size: .8rem; font-weight: 600; text-transform: none; }
.tb-sv.has-avg .tb-sv-head, .tb-sv.has-avg .tb-sv-row > summary { grid-template-columns: 64px minmax(0, 1fr) 150px 96px 110px 110px 36px; }
.tb-sv-cat { margin: 22px 0 10px; padding: 12px 18px; border-radius: 14px; background: linear-gradient(90deg, rgba(90,125,255,.28), rgba(123,92,255,.08)); border: 1px solid rgba(90,125,255,.3); color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.tb-sv-row { background: var(--tb-card); border: 1px solid var(--tb-line); border-radius: 14px; margin-bottom: 8px; }
.tb-sv-row[open] { border-color: rgba(90,125,255,.45); }
.tb-sv-row > summary { list-style: none; cursor: pointer; padding: 14px 18px; min-height: 60px; color: #fff; }
.tb-sv-row > summary::-webkit-details-marker { display: none; }
.tb-sv-id { display: inline-grid; place-items: center; height: 34px; min-width: 44px; padding: 0 8px; border-radius: 10px; background: rgba(90,125,255,.16); color: #b6c4ff; font-weight: 800; font-size: .85rem; }
.tb-sv-name { font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; min-width: 0; }
.tb-sv-price b { font-size: 1.02rem; }
.tb-sv-min, .tb-sv-max, .tb-sv-avg { color: #cfd6ea; font-size: .92rem; }
.tb-sv-more { justify-self: end; color: var(--tb-mut); transition: transform .15s; }
.tb-sv-row[open] .tb-sv-more { transform: rotate(180deg); color: #fff; }
.tb-sv-det { padding: 0 18px 18px; display: grid; gap: 14px; justify-items: start; }
.tb-sv-desc { color: #b9c3dc; line-height: 1.65; font-size: .93rem; overflow-wrap: anywhere; }
.tb-sv-row[hidden], .tb-sv-cat[hidden] { display: none !important; }
.tb-sv-meta { display: contents; }
@media (max-width: 767.98px) {
  .tb-sv-head { display: none; }
  .tb-sv-row > summary, .tb-sv.has-avg .tb-sv-row > summary { grid-template-columns: auto minmax(0, 1fr) 30px; gap: 10px 12px; padding: 14px; align-items: start; }
  .tb-sv-more { align-self: center; grid-column: 3; grid-row: 1; }
  .tb-sv-meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; }
  .tb-sv-meta > span { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: .95rem; }
  .tb-sv-meta > span::before { content: attr(data-l); color: var(--tb-mut); font-size: .72rem; font-weight: 500; }
  .tb-sv-det .btn { width: 100%; }
}
@media (min-width: 900px) { .tbf-bot { padding-right: 110px; } }
.fg-control::placeholder, .tb-ord-search input::placeholder { color: #8b94ab; opacity: 1; }
