/* ============================================================
   Şikayetler / Sorun Çözüm Merkezi — /sikayetler
   Tüm sınıflar .sk- ad-alanlı; tema jetonlarını (var(--...))
   kullanır, açık/koyu temaya kendiliğinden uyar.
   Yalnızca bu sayfa yükler.
   ============================================================ */

.sk-wrap {
  padding: 1.4rem 0 3rem;
  overflow-x: clip;
  /* Kendi yigin baglami: icerideki hicbir oge temanin yapiskan basliginin
     (z-index:50) ustune cikamaz. */
  position: relative;
  z-index: 0;
}
/* yapiskan baslik icerigi ortmesin */
.sk-panel { scroll-margin-top: 120px; }

/* ---------- hero ----------
   Som zeminli kart: tema basligi yari saydam + backdrop-blur oldugu icin,
   arkasi bos birakilan bir bolum basligin altindan gecerken sayfa zeminiyle
   karisip lekeli gorunuyordu. Kart zemini bunu kesiyor. */
.sk-hero {
  /* sk-hero-card */
  /* Tema, <header> etiketine dogrudan sticky veriyor; bu bolum asla yapismasin. */
  position: static;
  background: var(--surface, #222);
  border: 1px solid var(--stroke, rgba(255,255,255,.09));
  border-radius: var(--radius, 18px);
  padding: 1.5rem 1.6rem 0;
  margin-bottom: 1.8rem;
  overflow: hidden;
}
.sk-kicker {
  color: var(--red-2, #e11931); font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .6rem;
}
.sk-kicker::before { content: ""; width: 22px; height: 2px; background: var(--red, #e11931); border-radius: 2px; }
.sk-hero h1 {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800; letter-spacing: -.015em; line-height: 1.15;
}
.sk-hero p {
  color: var(--muted, #5d6473); margin-top: .7rem; max-width: 52rem;
  line-height: 1.7; font-size: .95rem;
}

/* güven şeridi */
.sk-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 1.5rem -1.6rem 0;
  border-top: 1px solid var(--stroke, rgba(255,255,255,.09));
}
.sk-fact {
  padding: .95rem 1.1rem;
  border-right: 1px solid var(--stroke, rgba(255,255,255,.09));
}
.sk-fact:last-child { border-right: 0; }
.sk-fact b {
  display: block; font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 1.25rem; font-weight: 800; color: var(--text, #f4f5f9);
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.sk-fact span {
  display: block; margin-top: .2rem; font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #9aa1b2);
}
@media (max-width: 780px) {
  .sk-facts { grid-template-columns: repeat(2, 1fr); }
  .sk-fact:nth-child(2n) { border-right: 0; }
  .sk-fact:nth-child(n+3) { border-top: 1px solid var(--stroke, rgba(255,255,255,.09)); }
}

/* ---------- düzen ---------- */
.sk-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.8rem; align-items: start; }
/* Grid hucreleri varsayilan olarak icerikten daha dar olamaz (min-width:auto);
   kategori seridi bu yuzden hucreyi genisletip sayfayi yana kaydiriyordu. */
.sk-layout > * { min-width: 0; }
.sk-rail { min-width: 0; }
@media (max-width: 960px) { .sk-layout { grid-template-columns: 1fr; gap: 1.1rem; } }

/* ---------- kategori rayı ---------- */
/* Bilerek yapiskan degil: tema basligi yari saydam + backdrop-blur oldugu icin
   sayfa kaydirilinca altindan gecen yapiskan sutun gorsel olarak bozuluyordu. */
.sk-rail {
  background: var(--surface, #222);
  border: 1px solid var(--stroke, rgba(255,255,255,.09));
  border-radius: var(--radius, 18px);
  padding: .9rem .8rem;
}
@media (max-width: 960px) {
  .sk-rail { background: transparent; border: 0; padding: 0; }
}
.sk-rail-t {
  font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted, #9aa1b2); margin-bottom: .6rem; padding-left: .2rem;
}
.sk-cats { display: flex; flex-direction: column; gap: .25rem; }
@media (max-width: 960px) {
  .sk-cats {
    flex-direction: row; overflow-x: auto; gap: .5rem; padding-bottom: .4rem;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: .5rem;
  }
  .sk-cats::-webkit-scrollbar { height: 0; }
}

.sk-cat {
  appearance: none; display: flex; align-items: center; gap: .5rem; width: 100%;
  text-align: left; cursor: pointer;
  background: transparent; border: 1px solid transparent;
  border-radius: 12px; padding: .6rem .75rem;
  font-family: inherit; font-size: .875rem; font-weight: 600;
  color: var(--muted, #9aa1b2);
  transition: background .18s, color .18s, border-color .18s;
}
.sk-cat:hover { background: var(--surface-2, #2a2a2a); color: var(--text, #f4f5f9); }
.sk-cat:focus-visible { outline: 2px solid var(--red-2, #e11931); outline-offset: 2px; }
.sk-cat[aria-selected="true"] {
  background: linear-gradient(135deg, var(--red, #e11931), #b40e23);
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 22px -10px var(--red-glow, rgba(225,25,49,.45));
}
.sk-cat i {
  font-size: 1rem; opacity: .85; flex-shrink: 0;
  width: 24px; text-align: center;
}
/* kategori gorseli (yonetimdeki kategori resmi) */
.sk-cat-img {
  width: 24px; height: 24px; border-radius: 7px;
  object-fit: cover; flex-shrink: 0; display: block;
  background: var(--surface-2, #2a2a2a);
}
.sk-cat[aria-selected="true"] .sk-cat-img {
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.45);
}
.sk-cat-n {
  margin-left: auto; font-size: .72rem; font-weight: 700;
  font-variant-numeric: tabular-nums; opacity: .75;
}
@media (max-width: 960px) {
  .sk-cat { width: auto; white-space: nowrap; border-color: var(--stroke-2, rgba(255,255,255,.16)); }
  .sk-cat-n { margin-left: .15rem; }
}

/* ---------- panel ---------- */
.sk-panel { display: none; flex-direction: column; gap: 1rem; }
.sk-panel.is-on { display: flex; }

.sk-phead h2 {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em;
  color: var(--text, #f4f5f9);
}
.sk-phead p { color: var(--muted, #9aa1b2); font-size: .9rem; line-height: 1.7; margin-top: .45rem; max-width: 54rem; }

.sk-stats { display: flex; flex-wrap: wrap; gap: .5rem; }
.sk-stat {
  display: inline-flex; align-items: baseline; gap: .4rem;
  background: var(--surface, #222); border: 1px solid var(--stroke, rgba(255,255,255,.09));
  border-radius: 999px; padding: .4rem .85rem; font-size: .78rem; color: var(--muted, #9aa1b2);
}
.sk-stat b { color: var(--text, #f4f5f9); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- şikayet kartı ---------- */
.sk-item {
  background: var(--surface, #222);
  border: 1px solid var(--stroke, rgba(255,255,255,.09));
  border-radius: var(--radius, 18px);
  overflow: hidden;
  transition: border-color .25s;
}
.sk-item[open] { border-color: var(--stroke-2, rgba(255,255,255,.16)); }

.sk-item > summary {
  list-style: none; cursor: pointer;
  padding: .95rem 1.1rem;
  display: flex; align-items: center; gap: .8rem;
  transition: background .18s;
}
.sk-item > summary::-webkit-details-marker { display: none; }
.sk-item > summary:hover { background: var(--surface-2, #2a2a2a); }
.sk-item > summary:focus-visible { outline: 2px solid var(--red-2, #e11931); outline-offset: -2px; }

.sk-q {
  flex: 1; min-width: 0; font-weight: 700; font-size: .95rem;
  color: var(--text, #f4f5f9); line-height: 1.45; overflow-wrap: anywhere;
}
.sk-chev { flex-shrink: 0; color: var(--muted, #9aa1b2); transition: transform .22s; font-size: 1.1rem; line-height: 1; }
.sk-item[open] .sk-chev { transform: rotate(90deg); }

.sk-tag {
  flex-shrink: 0; font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; border: 1px solid transparent;
}
.sk-tag-ok   { background: rgba(45,212,160,.12); color: var(--green, #2dd4a0); border-color: rgba(45,212,160,.28); }
.sk-tag-mid  { background: rgba(240,170,60,.12); color: #f0aa3c; border-color: rgba(240,170,60,.28); }
.sk-tag-no   { background: rgba(225,25,49,.12);  color: var(--red-2, #e11931); border-color: rgba(225,25,49,.28); }
@media (max-width: 620px) { .sk-tag { display: none; } }

.sk-body {
  padding: 0 1.1rem 1.2rem;
  border-top: 1px solid var(--stroke, rgba(255,255,255,.09));
  display: flex; flex-direction: column; gap: .9rem;
}
.sk-body > *:first-child { margin-top: .95rem; }
.sk-body p { color: var(--muted, #9aa1b2); font-size: .9rem; line-height: 1.75; margin: 0; max-width: 56rem; }
.sk-body strong { color: var(--text, #f4f5f9); font-weight: 700; }

.sk-lbl {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-2, #e11931);
}

.sk-steps { margin: 0; padding-left: 1.15rem; display: flex; flex-direction: column; gap: .5rem; }
.sk-steps li { color: var(--muted, #9aa1b2); font-size: .9rem; line-height: 1.7; max-width: 54rem; }
.sk-steps li::marker { color: var(--red-2, #e11931); font-weight: 700; }

.sk-note {
  background: var(--surface-2, #2a2a2a);
  border-left: 3px solid var(--red, #e11931);
  border-radius: 0 12px 12px 0;
  padding: .75rem .95rem;
  font-size: .86rem; line-height: 1.7; color: var(--muted, #9aa1b2);
}
.sk-note b { color: var(--text, #f4f5f9); }

.sk-body a { color: var(--red-2, #e11931); text-decoration: underline; text-underline-offset: 3px; }
.sk-body a:hover { color: var(--red-soft, #ff96a2); }

/* ---------- alt yardım kutusu ---------- */
.sk-help {
  margin-top: 1.6rem;
  background: var(--surface, #222);
  border: 1px solid var(--stroke, rgba(255,255,255,.09));
  border-radius: var(--radius, 18px);
  padding: 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
}
.sk-help h3 { font-family: var(--font-display, 'Sora', sans-serif); font-size: 1.05rem; font-weight: 800; color: var(--text, #f4f5f9); }
.sk-help p { color: var(--muted, #9aa1b2); font-size: .88rem; margin-top: .3rem; line-height: 1.65; }
.sk-help-btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.sk-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .62rem 1.1rem; border-radius: 12px;
  font-size: .86rem; font-weight: 700; transition: all .2s;
  border: 1px solid var(--stroke-2, rgba(255,255,255,.16));
  background: var(--surface-2, #2a2a2a); color: var(--text, #f4f5f9);
}
.sk-btn:hover { border-color: var(--red, #e11931); color: var(--red-2, #e11931); }
.sk-btn-primary {
  background: linear-gradient(135deg, var(--red, #e11931), #b40e23);
  border-color: transparent; color: #fff;
  box-shadow: 0 10px 26px -12px var(--red-glow, rgba(225,25,49,.45));
}
.sk-btn-primary:hover { color: #fff; filter: brightness(1.08); }

@media (prefers-reduced-motion: reduce) {
  .sk-cat, .sk-item, .sk-item > summary, .sk-chev, .sk-btn { transition: none !important; }
}


/* ============================================================
   MOBIL — 640px alti
   ============================================================ */
@media (max-width: 640px) {
  .sk-wrap { padding: 1rem 0 2.2rem; }
  .sk-hero { padding: 1.1rem 1.1rem 0; margin-bottom: 1.1rem; }
  .sk-facts { margin: 1.1rem -1.1rem 0; }
  .sk-hero p { font-size: .89rem; line-height: 1.65; }

  /* guven seridi: buyuk rakamlar tasmasin */
  .sk-facts { grid-template-columns: repeat(2, 1fr); margin-top: 1.1rem; }
  .sk-fact { padding: .75rem .8rem; }
  .sk-fact b { font-size: 1.02rem; overflow-wrap: anywhere; }
  .sk-fact span { font-size: .64rem; letter-spacing: .06em; }

  .sk-phead h2 { font-size: 1.15rem; }
  .sk-phead p { font-size: .87rem; }

  .sk-stat { font-size: .73rem; padding: .35rem .7rem; }

  .sk-item > summary { padding: .8rem .85rem; gap: .55rem; }
  .sk-body { padding: 0 .85rem 1rem; }
  .sk-body p, .sk-steps li { font-size: .87rem; line-height: 1.7; }
  .sk-steps { padding-left: 1.05rem; }
  .sk-note { font-size: .82rem; padding: .65rem .8rem; }

  /* alt yardim kutusu: dikey yigilir, butonlar tam genislik */
  .sk-help { flex-direction: column; align-items: stretch; padding: 1.1rem; gap: .9rem; }
  .sk-help-btns { flex-direction: column; }
  .sk-btn { justify-content: center; width: 100%; }
}

/* cok dar ekranlar (kucuk telefonlar) */
@media (max-width: 380px) {
  .sk-facts { grid-template-columns: 1fr; }
  .sk-fact { border-right: 0; }
  .sk-fact:nth-child(n+2) { border-top: 1px solid var(--stroke, rgba(255,255,255,.09)); }
  .sk-cat { font-size: .84rem; padding: .55rem .65rem; }
}
