/* Erti-style design system — v8 */

:root {
  --red: #E53935;
  --red-hover: #D32F2F;
  --red-soft: #FFF5F5;
  --red-active: #FFEBEE;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --text: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --search-bg: #F3F4F6;
  --max: 1200px;
  --sidebar: 260px;
  --radius: 10px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.main { flex: 1; }
a { color: inherit; text-decoration: none; }
::selection { background: #FECACA; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header (Erti) ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo__img {
  height: 40px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo__img { height: 44px; }
}

.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: none;
}
@media (min-width: 768px) { .header-search { display: block; } }

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 44px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--search-bg);
  color: var(--text);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.mobile-search .search-input {
  height: 42px;
  padding-left: 14px;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--border);
  box-shadow: 0 0 0 3px rgba(229,57,53,.08);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (min-width: 768px) { .header-actions { display: flex; } }
@media (min-width: 768px) and (max-width: 1099px) {
  .header-actions .btn-sm {
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color .15s, background .15s;
  white-space: nowrap;
}
.btn-pill:hover { border-color: #D1D5DB; background: #FAFAFA; }
.btn-block { width: 100%; }

.nav-toggle {
  display: flex;
  margin-left: auto;
  padding: 8px;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .nav-toggle { margin-left: auto; }
}
.nav-toggle-icon { width: 22px; height: 22px; }
@media (min-width: 768px) { .nav-toggle { display: none; } }

.nav-tabs-wrap {
  display: block;
  border-top: 1px solid var(--border-light);
}

.nav-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .nav-tabs { padding: 10px 0 12px; }
}
.nav-tabs::-webkit-scrollbar { display: none; }

.nav-tab {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color .12s, background .12s;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .nav-tab {
    padding: 8px 16px;
    font-size: 14px;
  }
}
.nav-tab:hover { color: var(--text); background: var(--border-light); }
.nav-tab.active { color: var(--red); background: var(--red-active); }

.nav-mobile {
  border-top: 1px solid var(--border);
  background: var(--white);
}
.nav-mobile[hidden] { display: none; }
@media (min-width: 768px) { .nav-mobile { display: none !important; } }

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0 16px;
}
.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.mobile-search .search-input { flex: 1; }
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 20px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: #FAFAFA; border-color: #D1D5DB; }

/* ── Page ── */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px 48px;
}
.page-md { max-width: 560px; }
.page-lg { max-width: 720px; }
.page-xl { max-width: var(--max); }
.page-2xl { max-width: var(--max); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep { color: #D1D5DB; }
.breadcrumb__current { color: var(--text-secondary); }

.page-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
@media (min-width: 640px) {
  .page-intro { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.page-intro h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (min-width: 640px) { .page-intro h1 { font-size: 32px; } }
.page-count {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.page-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
  max-width: 560px;
  line-height: 1.55;
}
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.page-actions--quote {
  align-items: center;
  gap: 20px;
  max-width: 100%;
}
.page-quote {
  margin: 0;
  max-width: 420px;
  text-align: right;
}
.page-quote--ayet { max-width: 520px; }
.page-quote p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
  font-style: italic;
}
.page-quote cite {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
}
@media (max-width: 767px) {
  .page-actions--quote {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .page-quote { text-align: left; max-width: none; }
}

/* ── Pills (Erti subcategory) ── */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color .12s, color .12s, background .12s;
}
.pill:hover { border-color: #D1D5DB; }
.pill.active { color: var(--red); background: var(--red-active); border-color: #FECACA; }

/* ── Sidebar layout (Erti) ── */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 960px) {
  .layout-with-sidebar { grid-template-columns: var(--sidebar) 1fr; }
}

.sidebar { min-width: 0; }
@media (min-width: 960px) {
  .sidebar { position: sticky; top: 88px; }
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.sidebar-body { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.sidebar-body:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.sidebar-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-stat:last-child { border-bottom: none; }
.sidebar-stat__val { font-weight: 700; font-size: 14px; color: var(--text); }
.sidebar-stat__lbl { font-size: 12px; color: var(--text-muted); }

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-link {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: background .12s, color .12s;
}
.sidebar-link:hover { background: var(--border-light); color: var(--text); }
.sidebar-link.active { background: var(--red-active); color: var(--red); }

.sidebar-card--ayet {
  border-color: #fecaca;
  background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}
.sidebar-ayet {
  margin: 0;
}
.sidebar-ayet p {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.sidebar-ayet cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  color: var(--red);
}
.sidebar-card--ayet .sidebar-title { margin-bottom: 12px; }

/* Günün ayeti — tam genişlik banner (aydatçı sayfaları) */
.ayet-banner {
  margin-top: 28px;
}
.ayet-banner__inner {
  margin: 0;
  padding: 20px 22px;
  background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
  border: 1px solid #fecaca;
  border-radius: var(--radius-lg);
}
.ayet-banner__inner p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
}
.ayet-banner__inner cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--red);
}

.sidebar-form { display: flex; flex-direction: column; gap: 12px; }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: -4px;
}
.field-hint { font-size: 12px; color: var(--text-muted); margin-top: -4px; }

.layout-main { min-width: 0; }

/* ── Cards & inputs ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.input, select.input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--text-muted); }
.input:focus, select.input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,57,53,.1);
}
.input-mono { font-family: ui-monospace, monospace; }

/* ── Listing cards (Erti ilan style) ── */
.listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }

.listing-card {
  display: block;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .15s, box-shadow .15s;
}
.listing-card:hover {
  border-color: #FECACA;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.listing-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.listing-card__top time {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}
.listing-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
}
.listing-card:hover .listing-card__title { color: var(--red); }
.listing-card--has-img {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
}
.listing-card__thumb {
  width: 88px;
  height: 88px;
  object-fit: contain;
  object-position: center;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-shrink: 0;
  display: block;
}
@media (min-width: 640px) {
  .listing-card__thumb { width: 112px; height: 112px; }
}
.listing-card__body { flex: 1; min-width: 0; }
.listing-card--has-img .listing-card__body { padding: 0; }
.listing-card:not(.listing-card--has-img) .listing-card__body { padding: 0; }
.listing-card--has-img .listing-card__top { margin-bottom: 10px; }

.listing-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-photo {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: center;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 16px 0 20px;
  display: block;
  box-sizing: border-box;
}

.list-item--with-thumb { align-items: center; }
.list-item__body { flex: 1; min-width: 0; }
.list-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.tag-fill {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  background: var(--red-soft);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.tag-outline {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.content-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.toolbar-label { font-size: 14px; font-weight: 600; color: var(--text); margin: 0; }
.toolbar-desc { font-size: 13px; color: var(--text-secondary); margin: 4px 0 0; line-height: 1.45; }
.link-more { font-size: 13px; font-weight: 600; color: var(--red); white-space: nowrap; flex-shrink: 0; margin-top: 2px; }
.link-more:hover { color: var(--red-hover); }

.page-intro {
  margin-bottom: 20px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.page-intro p { margin: 0; }

.home-split { display: flex; flex-direction: column; gap: 32px; margin-bottom: 32px; }
.home-section--news { margin-top: 8px; }

/* ── Yaptıklarımız (faaliyet kartları) ── */
.faaliyet-list { display: flex; flex-direction: column; gap: 10px; }
.faaliyet-list--home { margin-bottom: 0; }
.faaliyet-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--red);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faaliyet-card--link:hover {
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.1);
}
.faaliyet-card__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.faaliyet-card__body { flex: 1; min-width: 0; }
.faaliyet-card__meta { font-size: 12px; color: var(--text-muted); margin: 0 0 4px; }
.faaliyet-card__title { font-size: 15px; font-weight: 600; color: var(--text); margin: 0 0 4px; line-height: 1.35; }
.faaliyet-card--link:hover .faaliyet-card__title { color: var(--red); }
.faaliyet-card__desc { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.faaliyet-card__amount {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  align-self: center;
}
.faaliyet-card__arrow {
  align-self: center;
  color: var(--red);
  font-weight: 600;
  flex-shrink: 0;
}

.faaliyet-detay { overflow: hidden; padding: 0; margin-bottom: 20px; }
.faaliyet-detay__hero { display: flex; flex-direction: column; }
.faaliyet-detay__gallery { display: flex; flex-direction: column; gap: 8px; }
.faaliyet-detay__photo {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: center;
  background: var(--gray-100);
  border: 1px solid var(--border);
  display: block;
  box-sizing: border-box;
}
.faaliyet-detay__photo--main { max-height: 520px; }
.faaliyet-detay__intro { padding: 24px; }
.faaliyet-detay__meta { font-size: 13px; color: var(--text-muted); margin: 0 0 8px; }
.faaliyet-detay__title { font-size: 1.5rem; font-weight: 700; margin: 0 0 10px; line-height: 1.3; }
.faaliyet-detay__amount { font-size: 15px; font-weight: 700; color: var(--red); margin: 0 0 6px; }
.faaliyet-detay__kategori { font-size: 13px; color: var(--text-secondary); margin: 0; }
.faaliyet-detay__body {
  padding: 0 24px 24px;
  line-height: 1.7;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin: 0 24px 24px;
}
.faaliyet-detay__haber-link { padding: 0 24px 24px; margin: 0; }
@media (min-width: 768px) {
  .faaliyet-detay__hero { flex-direction: row; }
  .faaliyet-detay__gallery { width: 42%; flex-shrink: 0; }
  .faaliyet-detay__intro { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .faaliyet-detay__photo--main { max-height: 520px; }
}

/* ── Promo / CTA ── */
.promo-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--red-soft);
  border: 1px solid #FECACA;
  border-radius: var(--radius-lg);
}
@media (min-width: 640px) {
  .promo-card { flex-direction: row; align-items: center; justify-content: space-between; }
}
.promo-card h2 { font-size: 16px; font-weight: 700; color: var(--text); }
.promo-card p { font-size: 13px; color: var(--text-secondary); margin-top: 4px; max-width: 420px; }

/* ── Avatar grid ── */
.avatar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.avatar-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.avatar-chip__name { font-size: 13px; font-weight: 500; color: var(--text); }

/* ── Empty state (Erti dashed) ── */
.empty-box {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  background: #FAFAFA;
}
.empty-box--compact { padding: 32px 20px; }

.empty-state { text-align: center; padding: 32px 0; }
.empty-state__code {
  font-size: 72px;
  font-weight: 800;
  color: #E5E7EB;
  line-height: 1;
  margin-bottom: 8px;
}
.empty-state h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

/* ── Table ── */
.table-card { overflow: hidden; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table thead th {
  background: #FAFAFA;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}
.data-table tbody tr:hover { background: #FAFAFA; }
.data-table tfoot td {
  padding: 14px 16px;
  background: var(--red-soft);
  font-weight: 700;
  color: var(--red-hover);
  border-top: 1px solid #FECACA;
  font-size: 13px;
}
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }

.badge {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.badge-amber { background: #FFFBEB; color: #B45309; }
.badge-gray { background: var(--border-light); color: var(--text-secondary); font-family: ui-monospace, monospace; }

/* ── Forms ── */
.form-card { padding: 24px; max-width: 480px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.alert-error {
  font-size: 14px;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.success-box { text-align: center; padding: 8px 0; }
.success-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: #F0FDF4; color: #16A34A; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.success-box h2 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.success-box > p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.kid-box {
  background: var(--red-soft);
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.kid-box p { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.kid-box strong { font-family: ui-monospace, monospace; font-size: 22px; font-weight: 700; color: var(--red); }
.success-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ── Şeffaflık ── */
.profile-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px; margin-bottom: 16px;
}
@media (min-width: 640px) {
  .profile-card { flex-direction: row; justify-content: space-between; align-items: center; }
}
.label-sm { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.profile-name { font-size: 18px; font-weight: 700; color: var(--text); }
.profile-kid { font-family: ui-monospace, monospace; font-weight: 700; color: var(--red); font-size: 16px; }

.mini-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.mini-stat {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.mini-stat__val { display: block; font-size: 16px; font-weight: 700; color: var(--text); }
.mini-stat__lbl { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }

.card-section-title {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.card-padded { padding: 16px; }

.list-item {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.list-item:last-child { border-bottom: none; }
.list-title { font-weight: 600; color: var(--text); }
.list-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.list-green { font-weight: 700; color: #16A34A; flex-shrink: 0; }
.list-amount { font-weight: 700; flex-shrink: 0; }

.progress-item { margin-bottom: 12px; }
.progress-head {
  display: flex; justify-content: space-between;
  font-size: 13px; margin-bottom: 6px;
}
.progress-track {
  height: 6px; background: var(--border-light);
  border-radius: var(--radius-pill); overflow: hidden;
}
.progress-track div { height: 100%; background: var(--red); border-radius: var(--radius-pill); }
.expense-list { border-top: 1px solid var(--border-light); padding-top: 12px; margin-top: 8px; }

/* ── Article ── */
.article-card { padding: 24px; margin-bottom: 16px; }
.article-title {
  font-size: 24px; font-weight: 700; color: var(--text);
  line-height: 1.3; margin: 12px 0 20px;
}
.article-body { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }
.back-wrap { margin-top: 8px; }

/* ── QR ── */
.qr-box { padding: 32px 24px; max-width: 360px; margin: 0 auto; text-align: center; }
.qr-frame {
  display: inline-block; padding: 12px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.qr-frame img { display: block; width: 200px; height: 200px; }
.qr-url { font-size: 12px; font-family: ui-monospace, monospace; color: var(--text-muted); word-break: break-all; margin-bottom: 16px; }
.qr-btns { display: flex; flex-direction: column; gap: 8px; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  margin-top: auto;
}
.footer-wrap { padding: 32px 0 0; }
.footer-top {
  display: flex; flex-direction: column; gap: 20px;
}
@media (min-width: 640px) {
  .footer-top { flex-direction: row; justify-content: space-between; }
}
.footer-title { font-weight: 700; font-size: 15px; color: var(--text); }
.footer-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.footer-links-wrap { display: flex; gap: 32px; font-size: 13px; color: var(--text-secondary); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a:hover { color: var(--red); }
.footer-credit {
  margin-top: 32px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  text-align: center;
}
.footer-credit__inner {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 22px 24px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #FAFAFA;
}
.footer-credit__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.footer-credit__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-credit__org {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.01em;
}
.footer-credit__note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  font-weight: 400;
}
.footer-copy {
  font-size: 12px; color: var(--text-muted);
  margin-top: 24px; padding: 16px 0;
  border-top: 1px solid var(--border-light);
}

/* ── Kasa ── */
.kasa-dashboard { display: flex; flex-direction: column; gap: 20px; }
.kasa-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .kasa-stat-grid { grid-template-columns: repeat(3, 1fr); }
}
.kasa-stat {
  padding: 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kasa-stat--gelen { border-color: rgba(46, 125, 50, 0.25); background: linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(46, 125, 50, 0.02)); }
.kasa-stat--cikan { border-color: rgba(198, 40, 40, 0.22); background: linear-gradient(135deg, rgba(198, 40, 40, 0.07), rgba(198, 40, 40, 0.02)); }
.kasa-stat--bakiye { border-color: rgba(25, 118, 210, 0.25); background: linear-gradient(135deg, rgba(25, 118, 210, 0.1), rgba(25, 118, 210, 0.03)); }
.kasa-stat--negatif { border-color: rgba(198, 40, 40, 0.35); background: linear-gradient(135deg, rgba(198, 40, 40, 0.12), rgba(198, 40, 40, 0.04)); }
.kasa-stat__lbl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.kasa-stat__val { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 800; color: var(--text); line-height: 1.2; }
.kasa-stat--gelen .kasa-stat__val { color: #2e7d32; }
.kasa-stat--cikan .kasa-stat__val { color: #c62828; }
.kasa-stat--bakiye .kasa-stat__val { color: #1565c0; }
.kasa-stat--negatif .kasa-stat__val { color: #c62828; }
.kasa-stat__sub { font-size: 12px; color: var(--text-secondary); }
.kasa-hareket-list { margin-top: 8px; }
.kasa-hareket-item { align-items: center; gap: 12px; }
.kasa-hareket-item__icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; flex-shrink: 0;
}
.kasa-hareket-item__icon--giris { background: rgba(46, 125, 50, 0.12); color: #2e7d32; }
.kasa-hareket-item__icon--cikis { background: rgba(198, 40, 40, 0.1); color: #c62828; }
.kasa-hareket-item__tutar { font-weight: 700; font-size: 15px; white-space: nowrap; }
.kasa-hareket-item__tutar--giris { color: #2e7d32; }
.kasa-hareket-item__tutar--cikis { color: #c62828; }
.kasa-footnote { font-size: 13px; color: var(--text-muted); margin: 0; }
.kasa-footnote a { color: var(--red); }

/* ── Planlı etkinlikler ── */
.planli-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.planli-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--red);
}
.planli-card__date {
  font-size: 12px; font-weight: 600; color: var(--red);
  white-space: nowrap; min-width: 88px;
}
.planli-card__title { font-size: 14px; font-weight: 600; color: var(--text); }
.planli-card__meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.planli-card__desc { font-size: 13px; color: var(--text-secondary); margin-top: 4px; line-height: 1.5; }
.planli-card__img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  object-position: center;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.planli-card--link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.planli-card--link:hover {
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.12);
}
.planli-card__content { flex: 1; min-width: 0; }
.planli-card__arrow {
  align-self: center;
  color: var(--red);
  font-weight: 600;
  flex-shrink: 0;
}
.planli-card__cta {
  align-self: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  white-space: nowrap;
}
.planli-card--link:hover .planli-card__cta {
  background: var(--red-dark);
}
.planli-list--page { margin-bottom: 0; }

/* ── Etkinlik detay ── */
.etkinlik-detay { overflow: hidden; padding: 0; margin-bottom: 20px; }
.etkinlik-detay__hero {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.etkinlik-detay__gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--border);
}
.etkinlik-detay__photo {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  background: var(--gray-100);
  display: block;
  box-sizing: border-box;
}
.etkinlik-detay__intro { padding: 24px; }
.etkinlik-detay__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 8px;
}
.etkinlik-detay__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}
.etkinlik-detay__yer {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 20px;
}
.etkinlik-detay__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.etkinlik-detay__body {
  padding: 0 24px 24px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.etkinlik-detay__stat {
  padding: 0 24px 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.etkinlik-forms {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}
.etkinlik-forms--single {
  max-width: 36rem;
}
@media (min-width: 768px) {
  .etkinlik-forms { grid-template-columns: 1fr 1fr; }
  .etkinlik-forms--single { grid-template-columns: 1fr; max-width: none; }
  .etkinlik-detay__hero {
    flex-direction: row;
    align-items: flex-start;
  }
  .etkinlik-detay__gallery {
    flex: 0 0 55%;
    max-width: 55%;
    min-width: 0;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
  .etkinlik-detay__photo { max-height: 640px; }
  .etkinlik-detay__intro { flex: 1; display: flex; flex-direction: column; justify-content: center; }
}
.form-card__title { font-size: 1.125rem; font-weight: 700; margin: 0 0 8px; }

.admin-subtitle { font-size: 1rem; font-weight: 700; margin: 24px 0 8px; }
.aranacak-item { align-items: flex-start; }
.aranacak-durum-form { margin-top: 10px; }
.aranacak-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

/* ── Tanıtım Medya ── */
.tanitim-list { display: flex; flex-direction: column; gap: 24px; }
.tanitim-card { padding: 24px; }
.tanitim-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tanitim-card__title { font-size: 1.25rem; font-weight: 700; margin: 10px 0 6px; }
.tanitim-card__meta { font-size: 13px; color: var(--text-secondary); margin: 0; }
.tanitim-card__desc { line-height: 1.6; color: var(--text-secondary); margin: 0 0 16px; }
.tanitim-card__empty-foto { font-size: 13px; color: var(--text-muted); font-style: italic; margin: 0; }
.tanitim-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.tanitim-gallery__item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.tanitim-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.tanitim-gallery__item:hover img { transform: scale(1.03); }
.tanitim-admin-list { display: flex; flex-direction: column; gap: 20px; }
.tanitim-admin-card { margin-bottom: 0; }
.tanitim-admin-card__head { margin-bottom: 16px; }
.tanitim-admin-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.tanitim-admin-thumb {
  position: relative;
  width: 120px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.tanitim-admin-thumb img { width: 100%; height: 90px; object-fit: cover; display: block; }
.tanitim-admin-thumb figcaption {
  font-size: 10px;
  padding: 4px 6px;
  background: #F9FAFB;
  color: var(--text-muted);
  text-align: center;
}
.tanitim-admin-thumb__del {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(255,255,255,0.92);
  border-radius: 4px;
  padding: 2px 6px;
}
.tanitim-admin-thumb--kapak { border-color: #FECACA; }
.tanitim-upload-form { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 4px; }
.form-row--align-end { align-items: flex-end; }
.form-group--grow { flex: 1; min-width: 200px; }

/* ── Teşkilat paneli ── */
/* ── Teşkilat admin sayfası ── */
.admin-body {
  background: #F3F4F6;
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 0 24px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar__left { display: flex; align-items: center; min-width: 0; }
.admin-topbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.admin-topbar__logo { height: 32px; width: auto; }
.admin-topbar__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.admin-topbar__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.admin-wrap { min-height: calc(100vh - 60px); }

.admin-login-page {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}
.admin-login-panel {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.admin-login-back { margin-top: 20px; text-align: center; }

.admin-shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 60px);
}
@media (min-width: 960px) {
  .admin-shell { grid-template-columns: 260px 1fr; }
}

.admin-sidebar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 16px;
}
@media (min-width: 960px) {
  .admin-sidebar {
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding: 24px 12px;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
  }
}

.admin-sidebar__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 12px 10px;
}

.admin-sidebar-nav { display: flex; flex-direction: column; gap: 12px; }
.admin-sidebar-group__title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 12px 4px;
  margin: 0;
}
.admin-sidebar-group__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-sidebar-group + .admin-sidebar-group {
  padding-top: 4px;
  border-top: 1px solid var(--border-light);
}
.admin-topbar__role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-active);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .admin-topbar__hide-mobile { display: none; }
  .admin-topbar__label { display: none; }
  .admin-topbar__role { font-size: 10px; padding: 3px 8px; }
}

.admin-page-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.admin-page-head__crumb {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 6px;
}
.admin-page-head__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.25;
}
.admin-page-head__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  max-width: 52rem;
}
.admin-page-head__hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 8px 0 0;
  padding: 8px 12px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
  max-width: 52rem;
}

.admin-tab-select-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  padding: 0 4px;
}
.admin-tab-select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  transition: background .12s, color .12s, border-color .12s;
}
.admin-sidebar-link:hover { background: var(--border-light); color: var(--text); }
.admin-sidebar-link.active {
  color: var(--red);
  background: var(--red-active);
  border-left-color: var(--red);
}

.admin-main {
  padding: 20px 16px 40px;
  max-width: 1280px;
}
@media (min-width: 960px) {
  .admin-main { padding: 24px 28px 48px; }
}

.admin-form-card, .admin-list-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.admin-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.admin-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.45;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 960px) {
  .admin-grid {
    grid-template-columns: minmax(300px, 380px) 1fr;
    align-items: start;
    gap: 24px;
  }
  .admin-grid--2 { grid-template-columns: 1fr 1fr; }
}

.alert-success {
  font-size: 14px;
  color: #166534;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  line-height: 1.45;
}
.alert-success[data-auto-dismiss] {
  animation: adminAlertIn 0.25s ease;
}

.admin-list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 0;
  gap: 14px;
  border-bottom: 1px solid var(--border-light);
}
.admin-list-item:first-child { padding-top: 4px; }
.admin-list-item:last-child { border-bottom: none; }

.empty-box--compact {
  font-size: 13px;
  padding: 20px 16px;
  text-align: center;
  color: var(--text-muted);
  background: var(--gray-100);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

@keyframes adminAlertIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sidebar-badge {
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-pill);
}

.admin-login { max-width: none; margin: 0; }
.admin-login__title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.admin-login__desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

.login-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0 16px;
  font-size: 12px; color: var(--text-muted);
}
.login-divider::before, .login-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border-light);
}
.login-alt-text {
  font-size: 13px; color: var(--text-secondary);
  text-align: center; margin-bottom: 10px;
}

.admin-toolbar {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px;
  margin-bottom: 20px;
}
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-tab {
  padding: 8px 14px; font-size: 13px; font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: all .12s;
}
.admin-tab:hover { border-color: #D1D5DB; color: var(--text); }
.admin-tab.active { color: var(--red); background: var(--red-active); border-color: #FECACA; }

.textarea { height: auto; min-height: 80px; padding: 10px 14px; resize: vertical; }
.checkbox-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 12px; cursor: pointer;
}
.checkbox-label input { width: 16px; height: 16px; accent-color: var(--red); }

.admin-list { display: flex; flex-direction: column; }
.admin-list-body { flex: 1; min-width: 0; }
.admin-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.input-file {
  padding: 8px 0;
  border: none;
  background: transparent;
}
.admin-list-title { font-size: 14px; font-weight: 600; color: var(--text); }
.admin-list-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.admin-list-tag { font-size: 11px; font-weight: 600; color: var(--primary); margin-top: 4px; }
.admin-list-tag--muted { color: var(--text-muted); font-weight: 500; }
.admin-list-total { font-size: 14px; color: var(--text-secondary); margin: 0; white-space: nowrap; }
.admin-list-desc { font-size: 13px; color: var(--text-secondary); margin-top: 4px; line-height: 1.45; }
.admin-list-side { text-align: right; flex-shrink: 0; }
.admin-list-amount { display: block; font-size: 14px; font-weight: 700; color: var(--red); margin-bottom: 4px; }

.btn-text-danger {
  background: none; border: none; cursor: pointer;
  font-size: 12px; font-weight: 600; color: #DC2626;
  font-family: inherit; padding: 0;
}
.btn-text-danger:hover { color: #B91C1C; text-decoration: underline; }

.admin-mini-stats { margin-bottom: 20px; }
.admin-form-stack { display: flex; flex-direction: column; gap: 20px; }
.admin-list-card--wide { min-width: 0; }
.admin-track-table { font-size: 13px; min-width: 980px; }
.admin-track-table th,
.admin-track-table td { white-space: nowrap; }
.admin-track-table td:first-child + td { white-space: normal; min-width: 120px; }
.donem-col { text-align: center; width: 32px; min-width: 28px; padding-left: 2px; padding-right: 2px; }
.donem-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 6px;
  font-size: 12px; font-weight: 700;
}
.donem-mark--ok { color: #166534; background: #F0FDF4; }
.donem-mark--miss { color: #B45309; background: #FFFBEB; }
.donem-mark--na { color: var(--text-muted); background: var(--border-light); }
.status-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: var(--radius-pill);
}
.status-badge--ok { color: #166534; background: #F0FDF4; }
.status-badge--warn { color: #B45309; background: #FFFBEB; }
.status-badge--muted { color: var(--text-muted); background: var(--border-light); }

.perf-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.perf-month-nav { display: flex; align-items: center; gap: 10px; }
.perf-month-nav__label {
  font-weight: 700; min-width: 120px; text-align: center; color: var(--text);
}
.perf-award-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; margin-bottom: 20px; border-radius: 14px;
  background: linear-gradient(135deg, #7F1D1D 0%, #B91C1C 55%, #DC2626 100%);
  color: #fff;
}
.perf-award-banner__eyebrow { margin: 0; font-size: 12px; opacity: .85; letter-spacing: .04em; text-transform: uppercase; }
.perf-award-banner__name { margin: 4px 0 2px; font-size: 1.35rem; font-weight: 800; }
.perf-award-banner__role { margin: 0; font-size: 13px; opacity: .9; }
.perf-award-banner__note { margin: 10px 0 0; font-size: 14px; opacity: .95; }
.perf-award-banner .btn-text-danger { color: #FEE2E2; }
.perf-lead-banner {
  padding: 14px 18px; margin-bottom: 20px; border-radius: 12px;
  background: #FFF7ED; border: 1px solid #FED7AA;
}
.perf-lead-banner__label { margin: 0; font-size: 12px; color: #9A3412; font-weight: 600; }
.perf-lead-banner__name { margin: 4px 0 0; font-weight: 700; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.perf-lead-banner__name span { font-size: 13px; font-weight: 600; color: #C2410C; background: #FFEDD5; padding: 2px 8px; border-radius: 999px; }
.perf-table input.input--compact { padding: 8px 10px; font-size: 13px; min-width: 0; }
.perf-table { min-width: 920px; border-collapse: separate; border-spacing: 0; }
.perf-table th { font-size: 11px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.perf-col-rank { width: 36px; text-align: center; }
.perf-col-name {
  position: sticky; left: 0; z-index: 2;
  background: #fff; min-width: 140px; max-width: 180px;
  box-shadow: 1px 0 0 var(--border-light);
}
.perf-table thead .perf-col-name { z-index: 3; background: var(--surface, #fff); }
.perf-col-role {
  max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--text-muted); font-size: 12px;
}
.perf-col-score { width: 72px; text-align: center; padding-left: 4px; padding-right: 4px; }
.perf-col-total { width: 64px; text-align: center; font-weight: 700; }
.perf-col-note { min-width: 140px; }
.perf-score-input {
  width: 58px !important; text-align: center; margin: 0 auto; display: block;
  padding: 6px 4px !important;
}
.perf-total-val {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; padding: 4px 8px; border-radius: 8px;
  background: #FEF2F2; color: #991B1B; font-weight: 800; font-size: 13px;
}
.perf-row--lead { background: #FFFBEB; }
.perf-row--lead .perf-col-name { background: #FFFBEB; }
.perf-row--award { background: #FEF2F2; }
.perf-row--award .perf-col-name { background: #FEF2F2; }
.perf-row--lead .perf-total-val { background: #FFEDD5; color: #9A3412; }

.member-card { padding: 24px; margin-bottom: 20px; }
.member-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.member-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.member-name { font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.member-meta { font-size: 13px; color: var(--text-secondary); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.member-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.member-welcome { align-items: flex-start; }
.member-welcome__note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
  max-width: 520px;
}
.form-intro {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}
.card-section-desc {
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 16px 12px;
  line-height: 1.45;
}

.member-edit-card { margin-bottom: 16px; }
.form-actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.table-link {
  color: inherit;
  text-decoration: none;
  transition: color .12s;
}
.table-link:hover { color: var(--red); }
.table-row-link:hover { background: var(--red-soft); }
.data-table tbody tr.table-row-link { cursor: pointer; }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
}
.btn-whatsapp:hover { background: #1EBE5A; color: #fff; }

.whatsapp-open-bar { margin-bottom: 16px; }
.whatsapp-card { margin-bottom: 20px; }
.whatsapp-quick {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
.whatsapp-quick__form { margin: 0; }
.whatsapp-form { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--border-light); }

/* ── Başkan Bildirimleri ── */
.bildirim-gorev-list { list-style: none; margin: 0; padding: 0; }
.bildirim-gorev-item { border-bottom: 1px solid var(--border-light); }
.bildirim-gorev-item:last-child { border-bottom: none; }
.bildirim-gorev-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 0; color: inherit; text-decoration: none;
}
.bildirim-gorev-link:hover .bildirim-gorev-title { color: var(--primary); }
.bildirim-gorev-title { font-weight: 600; }
.bildirim-ayar-grid { display: grid; gap: 10px; }
.bildirim-hatirlatma-item .admin-list-actions {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.code-inline {
  display: inline-block; font-size: 12px; background: var(--bg-muted);
  padding: 4px 8px; border-radius: 4px; word-break: break-all;
}

/* ── Başkanlık Divanı ── */
.page:has(.divan-page) {
  max-width: 1080px;
}

.page:has(.divan-page) .page-intro {
  display: none;
}

.page:has(.divan-page) .breadcrumb {
  margin-bottom: 20px;
}

.divan-page {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 4px 24px rgba(17, 24, 39, 0.06);
}

.divan-page__header {
  padding: 28px 32px 0;
  background: linear-gradient(180deg, var(--red-soft) 0%, var(--white) 100%);
}

.divan-page__brand {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.divan-page__logo-link {
  grid-column: 1;
  justify-self: start;
  flex-shrink: 0;
  line-height: 0;
  transition: opacity .15s;
}

.divan-page__logo-link:hover {
  opacity: 0.88;
}

.divan-page__logo {
  height: 48px;
  width: auto;
  display: block;
}

.divan-page__titles {
  grid-column: 2;
  text-align: center;
  max-width: min(560px, 100%);
}

.divan-page__heading {
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.35;
  text-transform: uppercase;
}

.divan-page__rule {
  height: 4px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 50%, var(--border) 50%, var(--border) 100%);
  border-radius: 2px 2px 0 0;
}

.divan-board {
  --divan-photo-bg: #ffffff;
  --divan-accent: #b8d4e8;
  --d-arch: 188px;
  --d-arch-h: 210px;
  --d-arch-r: 94px;
  --d-photo-h: 250px;
  --d-f-arch: 220px;
  --d-f-arch-h: 240px;
  --d-f-arch-r: 110px;
  --d-f-photo-h: 290px;
  --d-info: 188px;
  --d-f-info: 220px;
  --d-card-max: 240px;
  --d-f-card-max: 280px;
  --d-name-fs: 11px;
  --d-f-name-fs: 12px;
  --d-name-pad: 9px 8px;
  --d-f-name-pad: 10px 10px;
  --d-name-min-h: 40px;
  --d-f-name-min-h: 44px;
  --d-role-fs: 10px;
  --d-f-role-fs: 10.5px;
  --d-role-pad: 10px 6px 0;
  --d-f-role-pad: 12px 8px 0;
  --d-ph-fs: 40px;
  --d-f-ph-fs: 46px;
  --d-grid-gap-y: 36px;
  --d-grid-gap-x: 28px;
  padding: 48px 32px 56px;
  background:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 16px,
      rgba(0, 0, 0, 0.028) 16px,
      rgba(0, 0, 0, 0.028) 17px
    ),
    #ffffff;
}

.divan-board__lead {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  position: relative;
}

.divan-board__lead::after {
  display: none;
}

.divan-board__sublead {
  display: flex;
  justify-content: center;
  margin: 0 auto 40px;
}

.divan-board__tail {
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
}

@media (max-width: 767px) {
  .divan-board__sublead {
    margin-bottom: 22px;
  }

  .divan-board__tail {
    margin-top: 22px;
  }
}

.divan-board__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--d-grid-gap-y) var(--d-grid-gap-x);
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.divan-board__footer {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  padding-top: 8px;
}

.divan-board__footer-logo {
  height: 52px;
  width: auto;
  display: block;
}

.divan-card {
  width: 100%;
  max-width: var(--d-card-max);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.divan-card--featured {
  max-width: var(--d-f-card-max);
}

.divan-card__visual {
  position: relative;
  width: 100%;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
  padding-top: 0;
  background: transparent;
}

.divan-card__visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--d-arch);
  height: var(--d-arch-h);
  background: var(--divan-accent);
  border-radius: var(--d-arch-r) var(--d-arch-r) 0 0;
  z-index: 0;
}

.divan-card--featured .divan-card__visual::before {
  width: var(--d-f-arch);
  height: var(--d-f-arch-h);
  border-radius: var(--d-f-arch-r) var(--d-f-arch-r) 0 0;
}

.divan-card--featured .divan-card__visual {
  min-height: 0;
  padding-top: 0;
}

.divan-card__photo-wrap {
  position: relative;
  width: var(--d-arch);
  flex-shrink: 0;
  overflow: hidden;
  background: var(--divan-photo-bg, #ffffff);
  border: none;
  box-sizing: border-box;
  z-index: 1;
}

.divan-card--featured .divan-card__photo-wrap {
  width: var(--d-f-arch);
}

.divan-card__photo,
.divan-card__placeholder {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: var(--d-photo-h);
  object-fit: contain;
  object-position: center bottom;
}

.divan-card--featured .divan-card__photo,
.divan-card--featured .divan-card__placeholder {
  height: var(--d-f-photo-h);
  object-position: center bottom;
}

.divan-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eef4f8 0%, #d9e8f2 100%);
  color: var(--text-muted);
  font-size: var(--d-ph-fs);
  font-weight: 600;
  line-height: 1;
}

.divan-card--featured .divan-card__placeholder {
  font-size: var(--d-f-ph-fs);
}

.divan-card__info {
  display: flex;
  flex-direction: column;
  width: var(--d-info);
  margin-top: 0;
}

.divan-card--featured .divan-card__info {
  width: var(--d-f-info);
}

.divan-card__name {
  background: var(--divan-accent);
  color: #111111;
  font-size: var(--d-name-fs);
  font-weight: 800;
  padding: var(--d-name-pad);
  text-align: center;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-height: var(--d-name-min-h);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.divan-card--featured .divan-card__name {
  font-size: var(--d-f-name-fs);
  padding: var(--d-f-name-pad);
  min-height: var(--d-f-name-min-h);
}

.divan-card__role {
  margin-top: 0;
  padding: var(--d-role-pad);
  font-size: var(--d-role-fs);
  font-weight: 700;
  color: #111111;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  min-height: 0;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
}

.divan-card--featured .divan-card__role {
  font-size: var(--d-f-role-fs);
  padding: var(--d-f-role-pad);
  min-height: 0;
}

.divan-card--vacant .divan-card__role {
  margin-top: 0;
  padding-top: 10px;
  border: none;
  color: var(--text);
}

@media (max-width: 900px) {
  .divan-page__header {
    padding: 24px 24px 0;
  }

  .divan-board {
    padding: 32px 20px 40px;
    --d-grid-gap-y: 28px;
    --d-grid-gap-x: 12px;
  }
}

@media (max-width: 767px) {
  .divan-board {
    --d-arch: 102px;
    --d-arch-h: 114px;
    --d-arch-r: 51px;
    --d-photo-h: 136px;
    --d-f-arch: 118px;
    --d-f-arch-h: 132px;
    --d-f-arch-r: 59px;
    --d-f-photo-h: 158px;
    --d-info: 102px;
    --d-f-info: 118px;
    --d-card-max: 102px;
    --d-f-card-max: 118px;
    --d-name-fs: 7px;
    --d-f-name-fs: 7.5px;
    --d-name-pad: 5px 3px;
    --d-f-name-pad: 6px 4px;
    --d-name-min-h: 28px;
    --d-f-name-min-h: 30px;
    --d-role-fs: 6.5px;
    --d-f-role-fs: 7px;
    --d-role-pad: 6px 2px 0;
    --d-f-role-pad: 7px 3px 0;
    --d-ph-fs: 22px;
    --d-f-ph-fs: 26px;
    --d-grid-gap-y: 18px;
    --d-grid-gap-x: 6px;
    padding: 24px 10px 32px;
  }

  .divan-board__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }

  .divan-board__lead {
    margin-bottom: 22px;
  }

  .divan-board__footer {
    margin-top: 28px;
  }

  .divan-board__footer-logo {
    height: 40px;
  }
}

@media (max-width: 560px) {
  .divan-page__brand {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 12px 16px;
  }

  .divan-page__logo-link {
    grid-column: 1;
    grid-row: 1;
  }

  .divan-page__titles {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
    max-width: none;
  }

  .divan-page__logo {
    height: 42px;
  }
}

@media (max-width: 400px) {
  .divan-board {
    --d-arch: 88px;
    --d-arch-h: 98px;
    --d-arch-r: 44px;
    --d-photo-h: 118px;
    --d-f-arch: 100px;
    --d-f-arch-h: 112px;
    --d-f-arch-r: 50px;
    --d-f-photo-h: 134px;
    --d-info: 88px;
    --d-f-info: 100px;
    --d-card-max: 88px;
    --d-f-card-max: 100px;
    --d-name-fs: 6.5px;
    --d-f-name-fs: 7px;
    --d-name-min-h: 26px;
    --d-f-name-min-h: 28px;
    --d-role-fs: 6px;
    --d-f-role-fs: 6.5px;
    --d-grid-gap-y: 14px;
    --d-grid-gap-x: 4px;
    padding: 20px 6px 28px;
  }
}

/* Admin — Divan */
.admin-divan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.admin-divan-list {
  display: grid;
  gap: 16px;
}

.admin-divan-item--featured {
  border-color: #BFDBFE;
  background: linear-gradient(180deg, #F8FAFF 0%, #fff 100%);
}

.admin-divan-item__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.admin-divan-item__sira {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.admin-divan-item__unvan {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  max-width: 420px;
}

.admin-divan-item__preview {
  width: 52px;
  height: 58px;
  object-fit: cover;
  object-position: center 18%;
  clip-path: path('M 0 0 H 52 V 46 Q 26 58 0 46 Z');
  -webkit-clip-path: path('M 0 0 H 52 V 46 Q 26 58 0 46 Z');
  border: none;
  flex-shrink: 0;
  background: #EEF2F7;
}

.admin-divan-item__preview--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--border-light);
  text-align: center;
  padding: 4px;
}

/* ── Mobil uyumluluk ── */
@media (max-width: 767px) {
  .input,
  .search-input,
  select.input,
  .textarea {
    font-size: 16px;
  }

  .page {
    padding: 20px 16px 40px;
  }

  .container {
    padding: 0 16px;
  }

  .header-row {
    min-height: 56px;
    gap: 12px;
  }

  .logo__img {
    height: 36px;
  }

  .nav-tabs-wrap .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .sidebar-card--ayet {
    margin-bottom: 4px;
  }

  .sidebar-ayet p {
    font-size: 14px;
  }

  .aydatci-top__actions .btn {
    width: 100%;
  }

  .table-scroll {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .breadcrumb__current {
    word-break: break-word;
  }

  .page-intro h1 {
    font-size: 24px;
  }

  .page-intro {
    gap: 12px;
    margin-bottom: 16px;
  }

  .page-actions {
    width: 100%;
  }

  .page-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .layout-with-sidebar {
    gap: 16px;
  }

  .content-toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-wrap {
    padding: 24px 0 0;
  }

  .footer-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  .footer-copy {
    margin-top: 20px;
  }

  .footer-credit {
    margin-top: 24px;
  }

  .footer-credit__inner {
    padding: 20px 16px 18px;
  }

  .footer-credit__org {
    font-size: 14px;
  }

  .footer-credit__note {
    font-size: 12px;
  }

  .mini-stat-row {
    grid-template-columns: 1fr;
  }

  .mini-stat__val {
    font-size: 18px;
  }

  .member-welcome {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .planli-card {
    flex-direction: column;
    gap: 10px;
  }

  .planli-card__img {
    width: 100%;
    height: auto;
    max-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .planli-card__date {
    min-width: 0;
  }

  .faaliyet-card {
    flex-wrap: wrap;
  }

  .faaliyet-card__amount,
  .faaliyet-card__arrow {
    align-self: flex-start;
  }

  .planli-card__cta {
    align-self: flex-start;
  }

  .promo-card {
    padding: 18px 16px;
  }

  .form-card {
    padding: 20px 16px;
  }

  .list-item {
    flex-wrap: wrap;
  }

  .list-amount,
  .list-green {
    width: 100%;
    text-align: left;
    margin-top: 4px;
  }

  .admin-topbar__label {
    display: none;
  }

  .admin-topbar {
    padding: 8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
    min-height: 52px;
    gap: 8px;
  }

  .admin-topbar__actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .admin-topbar__actions .btn-sm {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .admin-topbar__actions form {
    margin: 0;
  }

  .admin-topbar__logo {
    height: 28px;
  }

  .admin-sidebar {
    padding: 12px max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  }

  .admin-sidebar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .admin-sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-sidebar-link {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 13px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .admin-sidebar__title {
    padding: 0 4px 8px;
  }

  .admin-main {
    padding: 16px max(16px, env(safe-area-inset-right)) 32px max(16px, env(safe-area-inset-left));
  }

  .admin-form-card,
  .admin-list-card {
    padding: 16px;
  }

  .admin-divan-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-divan-head .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }

  .form-actions-row {
    flex-direction: column;
  }

  .form-actions-row .btn {
    width: 100%;
  }

  .btn,
  .btn-sm,
  .btn-block {
    min-height: 44px;
  }

  .admin-list-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .admin-list-side,
  .admin-list-actions {
    text-align: left;
    width: 100%;
  }

  .admin-list-actions .btn,
  .admin-list-actions .btn-sm {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }

  .admin-list-actions form {
    flex: 1 1 calc(50% - 4px);
    display: flex;
  }

  .admin-list-actions form .btn-text-danger {
    width: 100%;
    min-height: 44px;
    padding: 10px;
    text-align: center;
  }

  .admin-onay-form .form-row,
  .admin-onay-form .form-actions-row {
    flex-direction: column;
  }

  .table-scroll {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .admin-filter-form {
    width: 100%;
  }

  .admin-filter-form .input-sm {
    width: 100%;
    min-width: 0;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .tanitim-admin-card__head {
    flex-direction: column;
  }

  .code-inline {
    display: block;
    font-size: 11px;
    word-break: break-all;
  }

  .bildirim-gorev-link {
    padding: 14px 0;
    min-height: 44px;
  }

  .admin-login-page {
    padding: 24px max(16px, env(safe-area-inset-right)) 32px max(16px, env(safe-area-inset-left));
  }

  .admin-login-panel {
    padding: 20px 16px;
  }

  .divan-page {
    overflow: hidden;
    border-radius: var(--radius);
  }

  .divan-page__header {
    padding: 20px 16px 0;
  }

  .divan-page__heading {
    font-size: clamp(11px, 3.2vw, 16px);
    line-height: 1.4;
  }
}

/* Şeffaflık listesi (ana sayfa) */
.seffaflik-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.seffaflik-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px;
}
.seffaflik-item__img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.seffaflik-item__body { flex: 1; min-width: 0; }
.seffaflik-item__title { font-weight: 600; margin: 0 0 4px; font-size: 1rem; }
.seffaflik-item__meta { font-size: 0.8125rem; color: var(--text-secondary); margin: 0 0 6px; }
.seffaflik-item__desc { font-size: 0.875rem; margin: 0; color: var(--text-secondary); }
.seffaflik-item__amount { font-weight: 700; color: var(--primary); white-space: nowrap; }

/* Admin onay / Instagram */
.admin-onay-card { margin-bottom: 16px; padding: 16px; }
.admin-onay-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.admin-ig-card { margin-bottom: 16px; }
.admin-ig-card--highlight { border-color: var(--primary); background: #fef7f7; }
.admin-ig-preview {
  white-space: pre-wrap; font-size: 0.8125rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px; padding: 12px; margin: 12px 0;
}
.admin-ig-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-block; font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; }
.badge--ok { background: #e8f5e9; color: #2e7d32; }
.badge--wait { background: #fff3e0; color: #e65100; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.admin-grid--single { grid-template-columns: 1fr; }
.admin-grid--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .admin-grid--2 { grid-template-columns: 1fr 1fr; }
}

/* Mobil panel — sekme seçici */
.admin-tab-select-wrap { display: none; }
.admin-tab-select {
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  appearance: none;
  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='%236B7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex-direction: column;
  align-items: flex-end;
  min-width: 148px;
}
.admin-list-actions .admin-inline-form { margin: 0; width: 100%; }
.etkinlik-bitti-note { margin: 16px 0 0; padding: 12px 14px; background: var(--border-light); border-radius: var(--radius); }
.admin-tur-degistir-form { margin-top: 4px; width: 100%; }
.admin-tur-degistir-label { display: block; font-size: 11px; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.admin-tur-degistir-row { display: flex; gap: 6px; align-items: center; width: 100%; }
.admin-tur-degistir-row .input { flex: 1; min-width: 0; }
.inline-form { margin: 0; display: inline; }

@media (max-width: 959px) {
  .admin-tab-select-wrap {
    display: block;
    padding: 0 4px 12px;
  }

  .admin-sidebar-nav {
    display: none;
  }

  .admin-sidebar {
    position: sticky;
    top: 52px;
    z-index: 40;
    padding: 12px 12px 0;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
  }

  .admin-sidebar-extra {
    display: none;
  }

  .admin-grid > .admin-list-card {
    order: -1;
  }

  .admin-grid > .admin-form-card {
    order: 0;
  }
}

@media (min-width: 960px) {
  .admin-tab-select-wrap { display: none !important; }
}

.admin-filter-form { flex-shrink: 0; }
.admin-filter-form .input-sm { min-width: 180px; padding: 8px 12px; font-size: 0.875rem; }
.denetleme-list { margin-top: 0; }
.denetleme-item { align-items: flex-start; }
.denetleme-gunler { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.denetleme-gun {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}
.denetleme-gun[open] { border-color: #FECACA; box-shadow: 0 2px 8px rgba(229, 57, 53, 0.08); }
.denetleme-gun__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s;
}
.denetleme-gun__head::-webkit-details-marker { display: none; }
.denetleme-gun__head::after {
  content: '';
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(-45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.denetleme-gun[open] .denetleme-gun__head::after { transform: rotate(45deg); }
.denetleme-gun__head:hover { background: #FFF5F5; }
.denetleme-gun__icon {
  width: 36px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(180deg, #FCD34D 0%, #F59E0B 100%);
  border-radius: 4px 6px 4px 4px;
}
.denetleme-gun__icon::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  width: 16px;
  height: 8px;
  background: #FBBF24;
  border-radius: 3px 3px 0 0;
}
.denetleme-gun__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.denetleme-gun__title { font-weight: 600; font-size: 0.9375rem; color: var(--text); }
.denetleme-gun__file {
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.denetleme-gun__adet {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: nowrap;
  margin-right: 8px;
}
.denetleme-gun__body {
  border-top: 1px solid var(--border);
  padding: 12px 16px 16px;
  background: #FAFAFA;
}
.denetleme-gun__body .denetleme-item {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
}
.denetleme-gun__body .denetleme-item:last-child { margin-bottom: 0; }
.badge-role {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: middle;
}
.badge-role--baskan { background: #FEE2E2; color: #991B1B; }
.badge-role--teskilat_baskan { background: #FFEDD5; color: #9A3412; }
.badge-role--sekreterya { background: #DBEAFE; color: #1E40AF; }
.badge-role--mali { background: #D1FAE5; color: #065F46; }

.oneri-form-card { max-width: 640px; margin: 0 auto; }
.oneri-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.oneri-card { padding: 16px; border: 1px solid var(--border); border-radius: 12px; }
.oneri-card--bekliyor { border-color: #FCD34D; background: #FFFBEB; }
.oneri-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.oneri-card__metin { margin: 0 0 12px; line-height: 1.6; }
.oneri-card__cevap {
  margin: 12px 0;
  padding: 12px;
  border-radius: 8px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}
.oneri-card__cevap-label { font-size: 0.8125rem; font-weight: 600; color: #166534; margin: 0 0 6px; }
.oneri-cevap-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.admin-sidebar-extra { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.sidebar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.admin-sidebar-link { display: flex; align-items: center; justify-content: space-between; }

.yapim-body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(160deg, #fff 0%, #fef2f2 45%, #fff 100%);
}
.yapim-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.yapim-card {
  max-width: 480px;
  width: 100%;
  text-align: center;
  padding: 40px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}
.yapim-logo { margin: 0 auto 24px; display: block; height: auto; max-width: 100%; }
.yapim-badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #FEE2E2;
  color: #991B1B;
  font-size: 0.8125rem;
  font-weight: 600;
}
.yapim-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 12px; color: var(--text); }
.yapim-desc { font-size: 1rem; line-height: 1.6; color: var(--text-secondary); margin: 0 0 20px; }
.yapim-sub { font-size: 0.875rem; color: var(--text-secondary); margin: 0; }

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #FEF3C7;
  border-bottom: 1px solid #FCD34D;
  color: #92400E;
  font-size: 0.875rem;
}
.preview-bar__link { color: #92400E; font-weight: 600; text-decoration: underline; }

.promo-card--join { background: linear-gradient(135deg, #fff 0%, #fef2f2 100%); border-color: #fecaca; }

.aydatci-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  counter-reset: aydatci;
}
.aydatci-list__item {
  counter-increment: aydatci;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.aydatci-list__item::before {
  content: counter(aydatci);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}
.aydatci-list__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.aydatci-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.aydatci-top__cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
  border: 1px solid #fecaca;
  border-radius: var(--radius-lg);
}
@media (min-width: 640px) {
  .aydatci-top__cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
}
.aydatci-quote {
  margin: 0;
  flex: 1;
}
.aydatci-quote p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  font-style: italic;
}
.aydatci-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
}
.aydatci-top__cta .btn { flex-shrink: 0; }
.aydatci-top__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .aydatci-top__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
.basvuru-dl { display: grid; gap: 8px; margin: 0 0 12px; font-size: 0.875rem; }
.basvuru-dl div { display: flex; gap: 8px; flex-wrap: wrap; }
.basvuru-dl dt { font-weight: 600; color: var(--text-secondary); min-width: 110px; }
.basvuru-dl dd { margin: 0; }

@media (max-width: 640px) {
  .seffaflik-item { flex-direction: column; }
  .seffaflik-item__amount { align-self: flex-start; }
}

