/* ==========================================================================
   Bileşenler
   ========================================================================== */

/* --- Buton ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast),
              transform var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: var(--sh-sm);
}
.btn--primary:hover { background: var(--brand-700); box-shadow: var(--sh-md); }

.btn--biz { background: var(--biz-700); color: #fff; box-shadow: var(--sh-sm); }
.btn--biz:hover { background: var(--biz-800); box-shadow: var(--sh-biz); }

.btn--outline {
  border-color: var(--line-2);
  background: var(--surface);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--brand-400); color: var(--brand-600); }

.btn--ghost { color: var(--muted); }
.btn--ghost:hover { background: var(--brand-50); color: var(--brand-600); }

.btn--lg { padding: 15px 26px; font-size: var(--fs-base); border-radius: var(--r-md); }
.btn--sm { padding: 8px 14px; font-size: var(--fs-xs); border-radius: var(--r-sm); }
.btn--block { width: 100%; }
.btn--icon { padding: 10px; }

.btn .bi { font-size: 1.05em; }

/* --- Kart ----------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
.card--flush { padding: 0; overflow: hidden; }
.card--raised { box-shadow: var(--sh-md); border-color: transparent; }
.card--hover { transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--brand-200); }

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.card__head h3 { font-size: var(--fs-lg); }
.card__body { padding: var(--s-5); }

/* --- Rozet / pill --------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.pill--ok   { background: var(--ok-bg);   color: #12803a; }
.pill--warn { background: var(--warn-bg); color: #a86a06; }
.pill--bad  { background: var(--bad-bg);  color: var(--bad); }
.pill--biz  { background: var(--biz-50);  color: var(--biz-800); }
.pill--ghost{ background: var(--surface); color: var(--muted); border: 1px solid var(--line-2); }
/* Yönetim havuzu: ne onay ne ret — karar bekleyen itiraz */
.pill--pool { background: var(--brand-50); color: var(--brand-700); }

/* Şeffaflık rozeti — modelin gereği, her değerlendirmede görünür */
.pill--paid {
  background: var(--surface);
  color: var(--brand-700);
  border: 1px dashed var(--brand-200);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
}

/* --- Doğrulanmış yerel rehber rozeti --------------------------------------
   Rozet bir kimliktir: seviyeyi yönetim doğrular, fiyat kademesini o belirler. */
.guide {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #1A73E8, #4285F4);
  color: #fff;
  font-size: 11px; font-weight: 600; line-height: 1.3;
  white-space: nowrap;
}
.guide strong { font-family: var(--font-mono); font-weight: 700; }
.guide--ghost {
  background: var(--surface); color: #1A73E8; border: 1px solid #C6DAFC;
}

/* --- Kademe seçici (kampanya formu) --------------------------------------- */
.tier-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
.tier-pick__opt {
  display: flex; flex-direction: column; gap: 3px;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--surface); cursor: pointer;
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}
.tier-pick__opt:hover { border-color: var(--brand-200); }
.tier-pick__opt input { position: absolute; opacity: 0; pointer-events: none; }
.tier-pick__opt.is-active { border-color: var(--brand-600); background: var(--brand-50); box-shadow: var(--ring); }
.tier-pick__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); }
.tier-pick__name { font-size: var(--fs-sm); font-weight: 700; }
.tier-pick__price { font-family: var(--font-mono); font-size: 11px; color: var(--brand-700); white-space: nowrap; }
.tier-pick__desc { font-size: 11px; color: var(--muted); line-height: 1.45; }

/* --- Yorum hesabı satırı --------------------------------------------------- */
.acct {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface);
}
.acct.is-verified { border-color: var(--ok-bg); background: var(--surface-2); }
.acct__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.acct__name { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: var(--fs-sm); font-weight: 700; }
.acct__link { font-size: 11px; color: var(--brand-600); }
.acct__link .bi { font-size: 9px; }
.acct__note { font-size: 11px; color: var(--muted); }
.acct__side { display: flex; align-items: center; gap: var(--s-2); flex: none; }

/* --- Hesap seçimi (değerlendirme yazarken) --------------------------------- */
.acct-pick { display: flex; flex-direction: column; gap: var(--s-2); }
.acct-pick__opt {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--surface); cursor: pointer;
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}
.acct-pick__opt:hover { border-color: var(--brand-200); }
.acct-pick__opt input { position: absolute; opacity: 0; pointer-events: none; }
.acct-pick__opt.is-active { border-color: var(--brand-600); background: var(--brand-50); box-shadow: var(--ring); }
.acct-pick__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.acct-pick__name { font-size: var(--fs-sm); font-weight: 600; }
.acct-pick__mail { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); word-break: break-all; }

/* --- Banka hesabı satırı --------------------------------------------------- */
.bank {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-4);
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface);
}
.bank.is-default { border-color: var(--brand-200); background: var(--brand-50); }
.bank__mark {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: var(--r-md); background: var(--ink); color: #fff; font-size: 1.05rem;
}
.bank.is-default .bank__mark { background: var(--brand-600); }
.bank__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.bank__top { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.bank__label { font-size: var(--fs-sm); font-weight: 700; }
.bank__iban {
  font-family: var(--font-mono); font-size: var(--fs-sm); letter-spacing: .02em;
  color: var(--ink); word-break: break-all;
}
.bank__holder { font-size: 11px; color: var(--muted-2); }
.bank__side { display: flex; align-items: center; gap: 2px; flex: none; }

/* --- Banka seçimi (çekim talebinde) --------------------------------------- */
.bank-pick { display: flex; flex-direction: column; gap: var(--s-2); }
.bank-pick__opt {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--surface); cursor: pointer;
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}
.bank-pick__opt:hover { border-color: var(--brand-200); }
.bank-pick__opt input { position: absolute; opacity: 0; pointer-events: none; }
.bank-pick__opt.is-active { border-color: var(--brand-600); background: var(--brand-50); box-shadow: var(--ring); }
.bank-pick__opt .bank__mark { width: 34px; height: 34px; font-size: .95rem; }
.bank-pick__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.bank-pick__label { font-size: var(--fs-sm); font-weight: 600; }
.bank-pick__iban { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); word-break: break-all; }

/* --- Değiştirilemeyen alan (hesap sahibi) --------------------------------- */
.locked {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px dashed var(--line-2); border-radius: var(--r-md);
  background: var(--surface-2);
  font-size: var(--fs-sm);
}
.locked .bi { color: var(--muted-2); }
.locked strong { flex: 1; min-width: 0; }
.locked__edit { font-size: 11px; }

/* --- Kademe listesi (hesaplarım sayfası) ---------------------------------- */
.tier-row {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2);
}
.tier-row.is-open { border-color: var(--brand-200); background: var(--brand-50); }
.tier-row__mark { color: var(--muted-2); font-size: .95rem; flex: none; }
.tier-row.is-open .tier-row__mark { color: var(--brand-600); }
.tier-row__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.tier-row__name { font-size: var(--fs-sm); font-weight: 600; }
.tier-row__meta { font-size: 11px; color: var(--muted-2); }
.tier-row__price {
  flex: none; font-family: var(--font-mono); font-size: var(--fs-sm);
  font-weight: 700; color: var(--brand-700);
}

/* --- Numaralı adım listesi ------------------------------------------------ */
.steps { display: flex; flex-direction: column; gap: var(--s-3); counter-reset: step; list-style: none; }
.steps li {
  position: relative; padding-left: 30px;
  font-size: var(--fs-sm); color: var(--muted); line-height: 1.55;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 21px; height: 21px;
  border-radius: 50%; background: var(--brand-600); color: #fff;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
}

/* --- Para çipi ------------------------------------------------------------ */

.money-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--brand-600);
  color: #fff;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.money-chip--soft { background: var(--brand-50); color: var(--brand-700); }
.money-chip--biz  { background: var(--biz-50);   color: var(--biz-800); }

/* --- Yıldız puanı --------------------------------------------------------- */

.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--star); font-size: var(--fs-sm); }
.stars--lg { font-size: 1.125rem; gap: 3px; }
.stars .bi-star { color: var(--line-2); }

.rating-big {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: var(--ls-tight);
  font-variant-numeric: tabular-nums;
}

/* Yıldız dağılım çubuğu */
.dist { display: grid; gap: 7px; }
.dist__row { display: grid; grid-template-columns: 34px 1fr 40px; align-items: center; gap: var(--s-3); font-size: var(--fs-xs); color: var(--muted); }
.dist__track { height: 7px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.dist__fill { height: 100%; border-radius: var(--r-pill); background: var(--star); }
.dist__num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }

/* --- Avatar --------------------------------------------------------------- */

.avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  overflow: hidden;
}
.avatar--sm { width: 32px; height: 32px; font-size: var(--fs-xs); }
.avatar--lg { width: 56px; height: 56px; font-size: var(--fs-lg); }

.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid var(--surface); margin-left: -10px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* --- Form ----------------------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); }
.field__hint  { font-size: var(--fs-xs); color: var(--muted-2); }

.input, .select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: var(--fs-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .select:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: var(--ring);
}
.input::placeholder { color: var(--muted-2); }

.select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A5A72' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.search {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 6px 6px 6px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--sh-sm);
}
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: var(--fs-sm); }
.search .bi { color: var(--muted-2); }

/* --- Sekme ---------------------------------------------------------------- */

.tabs {
  display: flex;
  gap: var(--s-5);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  padding: 14px 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--brand-600); border-bottom-color: var(--brand-600); }

[data-tabpanel][hidden] { display: none; }

/* --- Segment (filtre) ----------------------------------------------------- */

.segment { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--brand-50); gap: 2px; }
.segment__btn {
  padding: 7px 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: none;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: background var(--t-fast), color var(--t-fast);
}
.segment__btn.is-active { background: var(--surface); color: var(--brand-700); box-shadow: var(--sh-sm); }

/* --- Tablo ---------------------------------------------------------------- */

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th {
  padding: 12px var(--s-4);
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.table td { padding: 16px var(--s-4); border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background var(--t-fast); }
.table tbody tr:hover { background: var(--surface-2); }
.table .is-num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* --- İlerleme ------------------------------------------------------------- */

.progress { height: 8px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.progress__fill { height: 100%; border-radius: var(--r-pill); background: var(--brand-600); transition: width var(--t-base); }
.progress--biz .progress__fill { background: var(--biz-700); }

/* --- KPI kartı ------------------------------------------------------------ */

.kpi { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.kpi__label { display: flex; align-items: center; gap: 7px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.kpi__label .bi { color: var(--brand-600); font-size: 1rem; }
.kpi__value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.kpi__meta { font-size: var(--fs-xs); color: var(--muted-2); }
.kpi--accent { background: var(--brand-600); border-color: transparent; box-shadow: var(--sh-md); }
.kpi--accent .kpi__label, .kpi--accent .kpi__meta { color: rgba(255,255,255,.72); }
.kpi--accent .kpi__label .bi { color: rgba(255,255,255,.9); }
.kpi--accent .kpi__value { color: #fff; }

.trend { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; }
.trend--up { color: var(--ok); }
.trend--down { color: var(--bad); }

/* --- Değerlendirme kartı --------------------------------------------------- */

.review { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.review__top { display: flex; align-items: flex-start; gap: var(--s-3); }
.review__who { flex: 1; min-width: 0; }
.review__name { display: flex; align-items: center; gap: var(--s-2); font-weight: 600; font-size: var(--fs-sm); }
.review__date { font-size: var(--fs-xs); color: var(--muted-2); }
.review__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.015em; }
.review__text { color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; }
.review__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.review__actions { display: flex; align-items: center; gap: var(--s-2); }

.review__reply {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: var(--s-2);
  padding: var(--s-4);
  border-left: 3px solid var(--biz-700);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--biz-50);
}
.review__reply-head { display: flex; align-items: center; gap: 7px; font-size: var(--fs-xs); font-weight: 700; color: var(--biz-800); }
.review__reply p { font-size: var(--fs-sm); color: var(--biz-800); line-height: 1.6; }

/* Seviye rozeti — onay geçmişine dayanır, süs değildir */
.level { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: .01em; }
.level--bronze { background: #F7EDE3; color: #8A5A2B; }
.level--silver { background: #EEF0F4; color: #5A6472; }
.level--gold   { background: #FBF0D6; color: #8A6710; }

/* --- Bildirim (flash) ------------------------------------------------------ */

.notice {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: 14px var(--s-4);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--muted-2);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: var(--fs-sm);
  line-height: 1.55;
  box-shadow: var(--sh-sm);
}
.notice + .notice { margin-top: var(--s-3); }
.notice .bi { flex: none; margin-top: 1px; font-size: 1.05rem; }
.notice--success { border-left-color: var(--ok);   background: var(--ok-bg);   color: #12803a; border-color: transparent; }
.notice--error   { border-left-color: var(--bad);  background: var(--bad-bg);  color: #a01b1b; border-color: transparent; }
.notice--info    { border-left-color: var(--brand-600); background: var(--brand-50); color: var(--brand-800); border-color: transparent; }

/* Alan bazlı doğrulama hatası */
.field__error { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--bad); }
.input.has-error, .select.has-error, .textarea.has-error { border-color: var(--bad); }

.textarea {
  width: 100%;
  min-height: 180px;
  padding: 13px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 1.65;
  resize: vertical;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.textarea:focus { outline: none; border-color: var(--brand-400); box-shadow: var(--ring); }

/* Yıldız seçici — radio tabanlı, JS gerektirmez */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-input label {
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--line-2);
  transition: color var(--t-fast), transform var(--t-fast);
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--star); }
.star-input label:hover { transform: scale(1.08); }
.star-input input:focus-visible ~ label { outline: 2px solid var(--brand-600); outline-offset: 2px; border-radius: 4px; }

/* Canlı karakter sayacı */
.counter { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted-2); }
.counter.is-ok { color: var(--ok); }

/* --- Boş durum ------------------------------------------------------------ */

.empty { display: grid; place-items: center; gap: var(--s-3); padding: var(--s-8) var(--s-5); text-align: center; }
.empty .bi { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); font-size: 1.5rem; }
.empty h4 { font-size: var(--fs-lg); }
.empty p { max-width: 340px; color: var(--muted); font-size: var(--fs-sm); }

/* --- Açılır form (details/summary — JS gerektirmez) ------------------------ */

.disclosure { position: relative; }
.disclosure > summary { list-style: none; cursor: pointer; }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure[open] > summary { border-color: var(--brand-400); color: var(--brand-600); }
.disclosure__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: flex-start;
  margin-top: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
}
.disclosure__body .textarea { min-width: 0; }

/* --- Sayfalama ------------------------------------------------------------ */

.pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: var(--s-7); }
.pager__link {
  display: grid; place-items: center;
  min-width: 40px; height: 40px;
  padding-inline: 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.pager__link:hover { border-color: var(--brand-400); color: var(--brand-600); text-decoration: none; }
.pager__link.is-active { background: var(--brand-600); border-color: transparent; color: #fff; }

/* --- Akordeon ------------------------------------------------------------- */

.acc { border-bottom: 1px solid var(--line); }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  width: 100%;
  padding: var(--s-5) 0;
  border: 0; background: none;
  font-family: var(--font-display);
  font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.015em;
  text-align: left;
  color: var(--ink);
}
.acc__btn .bi { flex: none; color: var(--brand-600); transition: transform var(--t-base); }
.acc.is-open .acc__btn .bi { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-base); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner p { padding-bottom: var(--s-5); max-width: 62ch; color: var(--muted); line-height: 1.7; }

/* --- Header --------------------------------------------------------------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: var(--s-6); height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-base); line-height: 1.05; letter-spacing: var(--ls-tight); }
.logo:hover { text-decoration: none; }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--brand-600); color: #fff; font-size: 1.1rem; box-shadow: var(--sh-sm); }
/* Yıldız, puanlamada kullanılan sarıyla aynı — yönetimdeki kalkan ikonu beyaz kalır */
.logo__mark .bi-star-fill { color: var(--star); }

.nav { display: flex; align-items: center; gap: var(--s-5); margin-left: var(--s-4); }
.nav__link { position: relative; padding: 6px 0; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.nav__link:hover { color: var(--ink); text-decoration: none; }
.nav__link.is-active { color: var(--brand-600); }
.nav__link.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -25px; height: 2px; background: var(--brand-600); border-radius: 2px; }

.header__actions { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; }

.lang { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-md); color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.lang:hover { background: var(--brand-50); text-decoration: none; }

.burger { display: none; padding: 9px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); color: var(--ink); font-size: 1.15rem; }

/* --- Footer --------------------------------------------------------------- */

.footer { padding-block: var(--s-8) var(--s-6); background: var(--ink); color: #B9B9CE; }
.footer a { color: #B9B9CE; font-size: var(--fs-sm); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-6); padding-bottom: var(--s-7); }
.footer__grid h4 { margin-bottom: var(--s-4); color: #fff; font-size: var(--fs-sm); letter-spacing: 0; }
.footer__links { display: grid; gap: 11px; }
.footer .logo { color: #fff; }
.footer__about { max-width: 300px; margin-top: var(--s-4); font-size: var(--fs-sm); line-height: 1.65; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.1); font-size: var(--fs-xs); }
.footer__legal { display: flex; gap: var(--s-5); flex-wrap: wrap; }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 992px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-5); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: var(--s-4) var(--gutter) var(--s-5);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-base); }
  .nav__link.is-active::after { display: none; }
  .burger { display: block; }
  .lang { display: none; }
}

@media (max-width: 560px) {
  .header__inner { height: 64px; gap: var(--s-3); }
  .nav { inset-block-start: 64px; }
  .logo span { display: none; }
  /* Dar ekranda başlıkta tek eylem kalır: kayıt. Giriş menünün içinde. */
  .header__actions .btn--outline { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}
