/* ==========================================================================
   Toptancı Asistanı — Sade Arayüz Tasarım Sistemi (tema.css)
   ========================================================================== */

/* 1. YEREL FONTLAR (Google Fonts istekleri kaldırılmıştır, KVKK uyumlu) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. TASARIM DEĞİŞKENLERİ */
:root {
  --zemin: #F6F3EC;
  --kart: #FFFFFF;
  --cizgi: #E7E1D4;
  --girdi-cizgi: #D6CDB8;
  --lacivert: #1E293B;
  --lacivert-koyu: #0F172A;
  --krem: #E0D9C8;
  --krem-acik: #EFEADF;
  --metin: #1E293B;
  --metin-ikincil: #57534E;
  --metin-govde: #44403C;
  --metin-koyu: #292524;
  --lacivert-ikincil: #CBD5E1;
  --yesil: #166534;
  --yesil-zemin: #ECFDF5;
  --yesil-cizgi: #A7F3D0;
  --turuncu-kahve: #9A3412;
  --turuncu-guclu: #C2410C;
  --turuncu-orta: #D97706;
  --kirmizi: #DC2626;
  --kirmizi-zemin: #FEF2F2;
  --kirmizi-cizgi: #FECACA;
  --sari-zemin: #FEF3C7;
  --sari-metin: #92400E;
  --sari-cizgi: #FDE68A;
  --mavi-zemin: #EFF6FF;
  --mavi-metin: #1D4ED8;
  --mavi-cizgi: #BFDBFE;

  --font-baslik: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-govde: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-hap: 999px;
}

/* 3. TEMEL SIFIRLAMA VE GÖVDE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--zemin);
  color: var(--metin);
  font-family: var(--font-govde);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--metin);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--lacivert-koyu);
}

/* 4. TİPOGRAFİ */
h1, h2, h3, h4, .font-baslik {
  font-family: var(--font-baslik);
  color: var(--metin);
  line-height: 1.1;
}

h1 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

h3 {
  font-size: 22px;
  font-weight: 700;
}

/* 5. YERLEŞİM (CONTAINER & MAIN) */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

main {
  flex: 1;
  padding: 36px 0 60px;
}

/* 6. ÜST ÇUBUK (HEADER & TOPBAR) */
header.site-header {
  height: 88px;
  background: var(--kart);
  border-bottom: 1px solid var(--cizgi);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--metin);
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.brand-text {
  font-family: var(--font-baslik);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.2px;
}

.nav-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-pill-link {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--metin);
  padding: 10px 16px;
  border-radius: var(--radius-hap);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-pill-link:hover {
  background: var(--krem-acik);
  color: var(--lacivert-koyu);
}

.nav-pill-link.active {
  background: var(--lacivert);
  color: var(--zemin);
  font-weight: 700;
}

.nav-pill-link.active:hover {
  background: var(--lacivert-koyu);
}

.nav-pill-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--metin-ikincil);
  padding: 10px 16px;
  border-radius: var(--radius-hap);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-yardim {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--metin);
  background: var(--kart);
  border: 1.5px solid var(--girdi-cizgi);
  border-radius: var(--radius-hap);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-height: 46px;
  transition: background 0.15s ease;
}

.btn-yardim:hover {
  background: var(--krem-acik);
}

.user-menu-trigger {
  font-family: inherit;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-md);
  transition: background 0.15s ease;
}

.user-menu-trigger:hover {
  background: var(--krem-acik);
}

.user-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-hap);
  background: var(--krem);
  color: var(--metin);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-meta-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.user-display-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--metin);
  line-height: 1.2;
}

.user-role-code {
  font-size: 13px;
  color: var(--metin-ikincil);
  font-weight: 500;
}

/* 7. KARTLAR VE YÜZEYLER */
.card {
  background: var(--kart);
  border: 1px solid var(--cizgi);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  box-sizing: border-box;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--metin);
}

.card-subtitle {
  font-size: 16px;
  color: var(--metin-ikincil);
  margin-top: 4px;
}

/* 8. İSTATİSTİK KARTLARI */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card-highlight {
  background: var(--lacivert);
  border-radius: var(--radius-xl);
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #FFFFFF;
  min-width: 0;
}

.stat-card-highlight .stat-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--krem);
}

.stat-card-highlight .stat-value {
  font-family: var(--font-baslik);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 52px);
  letter-spacing: -0.8px;
  color: #FFFFFF;
  line-height: 1.1;
  overflow-wrap: break-word;
  word-break: break-word;
}

.stat-card-highlight .stat-sub {
  font-size: 15px;
  color: var(--lacivert-ikincil);
}

.stat-card-light {
  background: var(--kart);
  border: 1px solid var(--cizgi);
  border-radius: var(--radius-xl);
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.stat-card-light .stat-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--metin-ikincil);
}

.stat-card-light .stat-value {
  font-family: var(--font-baslik);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 52px);
  letter-spacing: -0.8px;
  line-height: 1.1;
  color: var(--metin);
  overflow-wrap: break-word;
  word-break: break-word;
}

.stat-card-light .stat-sub {
  font-size: 15px;
  color: var(--metin-ikincil);
}

/* 9. MÜŞTERİ SATIR KARTLARI (Main.dc.html & Telefon.dc.html) */
.customer-row-card {
  background: var(--kart);
  border: 1px solid var(--cizgi);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 1.3fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 14px;
}

.customer-avatar-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--krem-acik);
  color: var(--metin);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.customer-meta-name {
  font-size: 21px;
  font-weight: 700;
  color: var(--metin);
}

.customer-meta-sub {
  font-size: 15px;
  color: var(--metin-ikincil);
}

.rhythm-bar-container {
  height: 10px;
  background: var(--krem-acik);
  border-radius: var(--radius-hap);
  overflow: hidden;
}

.rhythm-bar-fill {
  height: 100%;
  border-radius: var(--radius-hap);
}

.customer-actions-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 10. DÜĞMELER (EN AZ 48px YÜKSEKLİK) */
.btn {
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 14px 22px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.15s ease;
  line-height: 1;
}

.btn-primary {
  background: var(--lacivert);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--lacivert-koyu);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--kart);
  color: var(--metin);
  border: 1.5px solid var(--girdi-cizgi);
}

.btn-secondary:hover {
  background: var(--krem-acik);
  color: var(--lacivert-koyu);
}

.btn-whatsapp {
  background: var(--yesil);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background: #14532d;
  color: #FFFFFF;
}

.btn-sm {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-danger {
  background: var(--kirmizi);
  color: #FFFFFF;
}

.btn-danger:hover {
  background: #b91c1c;
}

/* 11. GİRİŞ KUTULARI VE FORMLAR (20px YAZI, KALIN ETİKET) */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

label.form-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--metin);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
  font-family: inherit;
  font-size: 18px;
  color: var(--metin);
  background: var(--kart);
  border: 1.5px solid var(--girdi-cizgi);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--lacivert);
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.15);
}

.input-large {
  font-size: 20px;
  font-weight: 600;
  padding: 16px 18px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--metin-koyu);
  cursor: pointer;
  user-select: none;
}

.checkbox-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--lacivert);
  margin: 0;
  cursor: pointer;
}

/* 12. TABLOLAR (KONTRASTLI, SICAK KREM ÇİZGİLER) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

table.veri-tablosu {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 16px;
}

table.veri-tablosu th {
  background: var(--krem-acik);
  color: var(--metin-ikincil);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--cizgi);
}

table.veri-tablosu td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--cizgi);
  color: var(--metin);
}

table.veri-tablosu tr:last-child td {
  border-bottom: none;
}

table.veri-tablosu tr:hover td {
  background-color: rgba(246, 243, 236, 0.7);
}

/* 13. UYARI VE BİLGİ PANO BİLEŞENLERİ (BANNERS) */
.banner {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.banner-warning {
  background: var(--sari-zemin);
  border: 1px solid var(--sari-cizgi);
  color: var(--sari-metin);
}

.banner-success {
  background: var(--yesil-zemin);
  border: 1px solid var(--yesil-cizgi);
  color: var(--yesil);
}

.banner-danger {
  background: var(--kirmizi-zemin);
  border: 1px solid var(--kirmizi-cizgi);
  color: #991B1B;
}

/* 14. ROZETLER (BADGES) */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-hap);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.badge-success {
  background: var(--yesil-zemin);
  color: var(--yesil);
  border: 1px solid var(--yesil-cizgi);
}

.badge-warning {
  background: var(--sari-zemin);
  color: var(--sari-metin);
  border: 1px solid var(--sari-cizgi);
}

.badge-danger {
  background: var(--kirmizi-zemin);
  color: var(--turuncu-kahve);
  border: 1px solid var(--kirmizi-cizgi);
}

.badge-neutral {
  background: var(--krem-acik);
  color: var(--metin);
}

/* 15. İLK KULLANIM (3 ADIMLI BOŞ DURUM) */
.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1040px;
  margin: 32px auto;
}

.onboarding-card {
  background: var(--kart);
  border: 1px solid var(--cizgi);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

.onboarding-card.active-step {
  border: 2px solid var(--lacivert);
}

.onboarding-step-num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-hap);
  font-family: var(--font-baslik);
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding-card.active-step .onboarding-step-num {
  background: var(--lacivert);
  color: #FFFFFF;
}

.onboarding-card:not(.active-step) .onboarding-step-num {
  background: var(--krem-acik);
  color: var(--metin);
}

/* 16. KULLANICI DROPDOWN MENÜSÜ */
.user-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--kart);
  border: 1px solid var(--cizgi);
  border-radius: var(--radius-lg);
  padding: 12px;
  min-width: 240px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);
  z-index: 100;
}

.user-dropdown-menu.show {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--metin);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.user-dropdown-item:hover {
  background: var(--krem-acik);
}

/* 16b. ORTA GENİŞLİK ÜST MENÜ (721–1200px): öğeler tek satırda, aktif öğe hap biçiminde kalır */
.nav-pill-link,
.nav-pill-disabled,
.btn-yardim {
  white-space: nowrap;
}

.musteri-telefon-no {
  white-space: nowrap;
}

@media (min-width: 721px) and (max-width: 1200px) {
  .musteri-telefon-no {
    white-space: nowrap;
  }

  .container {
    padding: 0 24px;
  }

  .nav-wrapper {
    gap: 12px;
  }

  .brand-text {
    display: none;
  }

  .nav-pills {
    gap: 2px;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .nav-pill-link,
  .nav-pill-disabled {
    font-size: 15px;
    padding: 10px 12px;
  }

  .header-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .btn-yardim {
    padding: 10px 12px;
  }

  .btn-yardim span.yardim-metin {
    display: none;
  }

  .user-meta-lines {
    display: none;
  }

  .user-menu-trigger {
    gap: 6px;
    padding: 4px;
  }

  .stat-grid {
    gap: 16px;
  }

  .stat-card-highlight,
  .stat-card-light {
    padding: 24px 20px;
    min-width: 0;
  }

  .stat-card-highlight .stat-value,
  .stat-card-light .stat-value {
    font-size: clamp(24px, 3.6vw, 40px);
    letter-spacing: -0.5px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .stat-card-highlight .stat-label,
  .stat-card-light .stat-label {
    font-size: 15px;
  }

  .stat-card-highlight .stat-sub,
  .stat-card-light .stat-sub {
    font-size: 13px;
    line-height: 1.35;
  }
}

/* 16c. LİSTE FİLTRELERİ VE KART GÖRÜNÜMÜ (Müşterilerim, Ürünler) */
.filtre-arama {
  flex: 1;
  min-width: 260px;
}

.filtre-secim {
  min-width: 200px;
}

.liste-kartlari {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.liste-karti {
  padding: 18px 20px;
  border-bottom: 1px solid var(--cizgi);
}

.liste-karti:last-child {
  border-bottom: none;
}

.liste-karti-baslik {
  display: block;
  font-family: var(--font-baslik);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--metin);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.liste-karti-alt {
  font-size: 15px;
  color: var(--metin-ikincil);
  margin-top: 4px;
}

.liste-karti-satir {
  font-size: 16px;
  margin-top: 6px;
}

.liste-karti-telefon {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}

.liste-karti-aksiyonlar {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.liste-karti-aksiyonlar .btn {
  flex: 1;
  justify-content: center;
}

@media (max-width: 720px) {
  .liste-tablosu {
    display: none;
  }

  .liste-kartlari {
    display: block;
  }

  .filtre-arama,
  .filtre-secim {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }
}

/* 17. MOBİL ALT GEZİNME ÇUBUĞU (BOTTOM NAV) */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 720px) {
  .site-header {
    height: 72px;
    padding: 0 16px;
  }

  .container {
    padding: 0 16px;
  }

  .nav-pills {
    display: none;
  }

  .btn-yardim span.yardim-metin {
    display: none;
  }

  .user-meta-lines {
    display: none;
  }

  .card {
    padding: 20px 16px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card-highlight,
  .stat-card-light {
    padding: 24px 20px;
    min-width: 0;
  }

  .stat-card-highlight .stat-value,
  .stat-card-light .stat-value {
    font-size: clamp(28px, 8vw, 42px);
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .btn-sm {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .customer-row-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 20px;
  }

  .customer-actions-cell {
    width: 100%;
  }

  .customer-actions-cell .btn {
    flex: 1;
  }

  .onboarding-steps {
    grid-template-columns: 1fr;
  }

  main {
    padding-bottom: 96px; /* Alt bar için boşluk */
  }

  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--kart);
    border-top: 1px solid var(--cizgi);
    z-index: 50;
    padding: 6px 4px 10px;
    box-sizing: border-box;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--metin-ikincil);
    gap: 4px;
    border-radius: var(--radius-sm);
  }

  .mobile-nav-item.active {
    color: var(--metin);
    font-weight: 700;
  }

  .mobile-nav-item.active .mobile-icon-pill {
    background: var(--krem);
    border-radius: var(--radius-hap);
    padding: 4px 16px;
  }
}

/* 18. MODALLAR (YARDIM & GERİ BİLDİRİM) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(3px);
}

.modal-content {
  background: var(--kart);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
  box-sizing: border-box;
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--metin-ikincil);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

/* 19. AYARLAR SAYFASI DUYARLI DÜZENİ */
.ayarlar-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ayarlar-grid > div {
  min-width: 0;
}

.ayarlar-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ayarlar-card-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--cizgi);
}

.ayarlar-kullanici-form-kart {
  background: var(--zemin);
  border-top: 1px solid var(--cizgi);
  padding: 24px 28px;
}

.ayarlar-yeni-kullanici-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.ayarlar-davet-details {
  background: var(--kart);
  border-top: 1px solid var(--cizgi);
  padding: 18px 28px;
}

.ayarlar-davet-liste {
  border-top: 1px solid var(--cizgi);
  padding: 20px 28px;
}

@media (max-width: 900px) {
  .ayarlar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ayarlar-card-header,
  .ayarlar-kullanici-form-kart,
  .ayarlar-davet-details,
  .ayarlar-davet-liste {
    padding: 18px 16px;
  }
}

@media (max-width: 600px) {
  .ayarlar-form-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ayarlar-yeni-kullanici-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

