/* ══════════════════════════════════════════════════════════════════════
   VERİLER.TR · KONSEPT 8 — WARM SAND & BAKIR
   VeriBot Otomasyon paneli (tools/barcode-injector) için ortak tema katmanı.
   jobie_theme.css'den SONRA yüklenir. Sıcak keten zemin, espresso yazı,
   yanık bakır vurgu, adaçayı yeşili durum renkleri.
   ══════════════════════════════════════════════════════════════════════ */

:root,
:root[data-theme="light"],
:root[data-theme="dark"] {
  --sand-bg: #F7F5F0;
  --sand-bg-2: #EFEBE3;
  --sand-card: #FFFFFF;
  --sand-line: #E7E1D6;
  --sand-line-strong: #D9D1C2;
  --sand-ink: #1C1917;
  --sand-ink-2: #57534E;
  --sand-ink-3: #8A837A;
  --sand-copper: #B45309;
  --sand-copper-dark: #92400E;
  --sand-copper-soft: rgba(180, 83, 9, 0.10);
  --sand-sage: #15803D;
  --sand-sage-soft: rgba(21, 128, 61, 0.12);
  --sand-amber-soft: #FEF3C7;

  --jobie-purple: #B45309 !important;
  --jobie-purple-dark: #92400E !important;
  --jobie-purple-light: #FBF3E8 !important;
  --jobie-purple-subtle: rgba(180, 83, 9, 0.10) !important;
  --jobie-teal: #B45309 !important;
  --jobie-bg: #F7F5F0 !important;
  --jobie-border: #E7E1D6 !important;
  --jobie-border-hover: #D9D1C2 !important;
  --jobie-text-dark: #1C1917 !important;
  --jobie-text-muted: #57534E !important;
  --jobie-text-dim: #8A837A !important;

  --bg-app: #F7F5F0 !important;
  --bg-header: #F7F5F0 !important;
  --bg-sidebar: #F7F5F0 !important;
  --bg-pane-side: #FFFFFF !important;
  --bg-pane-center: #F7F5F0 !important;
  --bg-card: #FFFFFF !important;
  --bg-card-hover: #FBFAF6 !important;
  --bg-input: #FFFFFF !important;
  --bg-subtle: #F3EFE7 !important;
  --bg-pill: #EFEBE3 !important;

  --border-header: #E7E1D6 !important;
  --border-sidebar: #E7E1D6 !important;
  --border-card: #E7E1D6 !important;
  --border-subtle: #EFEBE3 !important;
  --border-active: #B45309 !important;

  --text-main: #1C1917 !important;
  --text-muted: #57534E !important;
  --text-dim: #8A837A !important;

  --veribot-teal: #B45309 !important;
  --veribot-teal-dark: #92400E !important;
  --veribot-teal-light: #D97706 !important;
  --canva-purple: #B45309 !important;
  --canva-indigo: #92400E !important;

  --font-sans: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body {
  background: #F7F5F0 !important;
  color: #1C1917;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ════════ SOL MENÜ — SICAK KETEN ════════ */
.jobie-sidebar {
  background: #F7F5F0 !important;
  color: #1C1917 !important;
  border-right: 1px solid #E7E1D6;
  box-shadow: none !important;
}
.jobie-brand {
  height: auto !important;
  min-height: 92px;
  padding: 14px 18px !important;
  border-bottom: 1px solid #E7E1D6 !important;
}
.jobie-brand-logo { color: #1C1917 !important; }
.jobie-brand-logo img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 1px #E7E1D6, 0 4px 14px rgba(120, 83, 30, 0.12) !important;
  padding: 3px;
}
.jobie-brand-logo span span:first-child,
.jobie-brand-logo span[style*="font-size:20px"] { color: #1C1917 !important; }
.jobie-brand-logo span[style*="font-size:20px"] span { color: #B45309 !important; }
.jobie-brand-logo span[style*="letter-spacing:0.14em"] { color: #8A837A !important; }

.jobie-menu-label {
  color: #8A837A !important;
  font-size: 10.5px;
  letter-spacing: .12em;
}
.jobie-menu-item {
  color: #44403C !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-weight: 500;
  font-size: 13.5px;
}
.jobie-menu-item i { color: #8A837A; }
.jobie-menu-item:hover {
  background: #EFEBE3 !important;
  color: #1C1917 !important;
  transform: none !important;
}
.jobie-menu-item.active {
  background: #FFFFFF !important;
  color: #1C1917 !important;
  font-weight: 700;
  box-shadow: 0 0 0 1px #E7E1D6, 0 1px 2px rgba(28, 25, 23, .06) !important;
}
.jobie-menu-item.active .left i,
.jobie-menu-item:hover .left i { color: #B45309 !important; }
.jobie-menu-item .badge-pill,
.jobie-menu-item.active .badge-pill {
  background: rgba(180, 83, 9, 0.10) !important;
  color: #B45309 !important;
  border: 0;
}
.jobie-menu-scroll::-webkit-scrollbar-thumb { background: #D9D1C2 !important; }

.btn-sidebar-plate {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px !important;
  background: #B45309 !important;
  border: 1px solid #92400E !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(146, 64, 14, .25) !important;
}
.btn-sidebar-plate:hover { background: #92400E !important; color: #fff !important; transform: none !important; }
.jobie-sidebar > div[style*="border-bottom:1px solid rgba(255,255,255,0.08)"] { border-bottom-color: #E7E1D6 !important; }

.jobie-sidebar-footer {
  background: transparent !important;
  border-top: 1px solid #E7E1D6;
}
.jobie-footer-pill {
  background: #FFFFFF !important;
  color: #1C1917 !important;
  border: 1px solid #E7E1D6;
  box-shadow: none !important;
}
.jobie-footer-pill:hover { background: #FBF3E8 !important; color: #B45309 !important; }
.jobie-headset-btn {
  background: #FFFFFF !important;
  color: #B45309 !important;
  border: 1px solid #E7E1D6;
}

/* ════════ ÜST BAR ════════ */
header.jobie-header, .jobie-header {
  background: #F7F5F0 !important;
  border-bottom: 1px solid #E7E1D6 !important;
  box-shadow: none !important;
}
.jobie-header-left h2,
.jobie-header h2 { color: #1C1917 !important; letter-spacing: -0.02em; }
.jobie-header-left span[style*="rgba(64,24,157"],
.jobie-header span[style*="rgba(64,24,157"] {
  background: rgba(180, 83, 9, 0.10) !important;
  color: #B45309 !important;
}
.jobie-header .hamburger { color: #B45309 !important; }

/* ════════ ANA ALAN ════════ */
.jobie-main, .jobie-main-wrapper, .jobie-content-area, main.jobie-content-area {
  background: #F7F5F0 !important;
}

/* ════════ KARTLAR ════════ */
.jobie-card, .wa-compact-card, .card, .jobie-kpi-card {
  background: #FFFFFF !important;
  border: 1px solid #E7E1D6 !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .04) !important;
}

/* ════════ BUTONLAR ════════ */
.jobie-btn-primary, .btn-launch {
  background: #B45309 !important;
  border: 1px solid #92400E !important;
  color: #FFFFFF !important;
  box-shadow: 0 1px 2px rgba(146, 64, 14, .25) !important;
}
.jobie-btn-primary:hover, .btn-launch:hover { background: #92400E !important; }
.btn-tool, .jobie-btn-secondary, .jobie-btn-outline {
  background: #FFFFFF !important;
  border: 1px solid #D9D1C2 !important;
  color: #1C1917 !important;
}
.btn-tool:hover, .jobie-btn-secondary:hover, .jobie-btn-outline:hover {
  background: #FBF3E8 !important;
  border-color: #B45309 !important;
  color: #B45309 !important;
}

/* ════════ FORM ELEMANLARI ════════ */
.jobie-input, .jobie-select, .jobie-textarea,
input[type="text"], input[type="number"], input[type="time"], input[type="search"],
input[type="password"], select, textarea {
  border-color: #D9D1C2;
}
html body select {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 10px !important;
  padding-right: 28px !important;
  line-height: normal !important;
  min-height: 32px;
  vertical-align: middle;
}
.jobie-input:focus, .jobie-select:focus, .jobie-textarea:focus,
input:focus, select:focus, textarea:focus {
  border-color: #B45309 !important;
  box-shadow: 0 0 0 3px rgba(180, 83, 9, .14) !important;
  outline: none;
}

/* ════════ TABLO ════════ */
.jobie-table th { background: #F3EFE7 !important; color: #57534E !important; border-bottom: 1px solid #E7E1D6 !important; }
.jobie-table td { border-bottom: 1px solid #EFEBE3 !important; }
.jobie-table tr:hover td { background: #FBFAF6 !important; }

/* ════════ ROZETLER ════════ */
.jobie-badge.purple, .jobie-badge.teal { background: rgba(180, 83, 9, .10) !important; color: #B45309 !important; }
.jobie-badge.green { background: rgba(21, 128, 61, .12) !important; color: #15803D !important; }
.jobie-badge.orange { background: #FEF3C7 !important; color: #92400E !important; }
.jobie-badge.grey { background: #EFEBE3 !important; color: #57534E !important; }

/* ════════ WHATSAPP SEKMELERİ / KURAL LİSTESİ ════════ */
.wa-mode-tab-btn.active { background: #B45309 !important; color: #fff !important; border-color: #92400E !important; }
.wa-rule-nav-item.active { background: #FBF3E8 !important; border-color: #B45309 !important; }
.wa-rule-nav-item.active .wa-rule-nav-icon { background: #B45309 !important; color: #fff !important; }

/* ════════ WHATSAPP OTO GÖNDERİM AYARLARI (WhatsApp sayfasına taşındı) ════════ */
#waAutoSettingsCard {
  background: #FFFFFF;
  border: 1px solid #E7E1D6;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .04);
}
#waAutoSettingsCard .wa-auto-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px;
}
#waAutoSettingsCard .wa-auto-title { font-size: 13px; font-weight: 800; color: #1C1917; display: flex; align-items: center; gap: 6px; }
#waAutoSettingsCard .wa-auto-sub { font-size: 11px; color: #8A837A; font-weight: 600; }
#waAutoSettingsHost {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  align-items: stretch;
}
#waAutoSettingsHost > #sidebarWaAutoWidget,
#waAutoSettingsHost > #sidebarWaScheduleBox {
  margin: 0 !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: #FBFAF6 !important;
  border: 1px solid #E7E1D6 !important;
}
#waAutoSettingsHost #sidebarWaAutoWidget span[style*="color:#f8fafc"],
#waAutoSettingsHost #sidebarWaScheduleBox span[style*="color:#e2e8f0"] { color: #1C1917 !important; }
#waAutoSettingsHost span[style*="color:#94a3b8"] { color: #8A837A !important; }
#waAutoSettingsHost #sidebarWaScheduleBox input[type="time"] {
  background: #FFFFFF !important;
  color: #1C1917 !important;
  color-scheme: light !important;
  border: 1px solid #D9D1C2 !important;
  height: 30px !important;
  font-size: 12.5px !important;
}
#waAutoSettingsHost #sidebarWaSchedStatus { color: #B45309 !important; font-size: 11px !important; }
#waAutoSettingsHost #sidebarWaScheduleBox span[style*="KATI"],
#waAutoSettingsHost #sidebarWaScheduleBox span[style*="letter-spacing:0.3px;padding"] {
  background: rgba(180, 83, 9, .10) !important; color: #B45309 !important; border-color: rgba(180, 83, 9, .30) !important;
}
#waAutoSettingsHost #sidebarWaScheduleBox i.fa-clock { color: #B45309 !important; }

/* ════════ YÜZEN KÜÇÜK DETAYLAR ════════ */
::selection { background: rgba(180, 83, 9, .22); }
a { text-decoration-color: rgba(180, 83, 9, .4); }

/* ══════════════════════════════════════════════════════════════════════
   YÜKSEK ÖZGÜLLÜK KATMANI — jobie_theme.css içindeki !important kurallarını ezer
   ══════════════════════════════════════════════════════════════════════ */
html body aside.jobie-sidebar {
  background: #F7F5F0 !important;
  color: #1C1917 !important;
  border-right: 1px solid #E7E1D6 !important;
  box-shadow: none !important;
}
html body aside.jobie-sidebar .jobie-brand {
  height: auto !important;
  min-height: 84px !important;
  max-height: none !important;
  padding: 14px 14px 12px !important;
  background: transparent !important;
  border-bottom: 1px solid #E7E1D6 !important;
  justify-content: flex-start !important;
}
html body aside.jobie-sidebar .jobie-brand-logo {
  width: 100% !important;
  padding: 8px 10px !important;
  gap: 12px !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #E7E1D6 !important;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 6px 16px rgba(120, 83, 30, .08) !important;
}
html body aside.jobie-sidebar .jobie-brand-logo:hover {
  border-color: #B45309 !important;
  box-shadow: 0 0 0 3px rgba(180, 83, 9, .14), 0 6px 16px rgba(120, 83, 30, .12) !important;
  transform: none !important;
}
html body aside.jobie-sidebar .jobie-brand-logo img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
  padding: 0 !important;
  object-fit: contain !important;
}
html body aside.jobie-sidebar .jobie-menu-label {
  color: #8A837A !important;
}
html body aside.jobie-sidebar .jobie-menu-item {
  color: #44403C !important;
  background: transparent !important;
  border-radius: 10px !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
html body aside.jobie-sidebar .jobie-menu-item:hover {
  background: #EFEBE3 !important;
  color: #1C1917 !important;
}
html body aside.jobie-sidebar .jobie-menu-item.active {
  background: #FFFFFF !important;
  color: #1C1917 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 1px #E7E1D6, 0 1px 2px rgba(28, 25, 23, .06) !important;
}
html body aside.jobie-sidebar .jobie-menu-item .left i { color: #8A837A !important; }
html body aside.jobie-sidebar .jobie-menu-item.active .left i,
html body aside.jobie-sidebar .jobie-menu-item:hover .left i { color: #B45309 !important; }
html body aside.jobie-sidebar .jobie-menu-item .badge-pill,
html body aside.jobie-sidebar .jobie-menu-item.active .badge-pill {
  background: rgba(180, 83, 9, .10) !important;
  color: #B45309 !important;
}
html body aside.jobie-sidebar .jobie-menu-item > i.fa-chevron-right { color: #B8AFA0 !important; }
html body aside.jobie-sidebar .jobie-sidebar-footer {
  background: transparent !important;
  border-top: 1px solid #E7E1D6 !important;
}
html body aside.jobie-sidebar .jobie-footer-pill {
  background: #FFFFFF !important;
  color: #1C1917 !important;
  border: 1px solid #E7E1D6 !important;
  box-shadow: none !important;
}
html body aside.jobie-sidebar .jobie-footer-pill i { color: #B45309; }
html body aside.jobie-sidebar .jobie-headset-btn {
  background: #FFFFFF !important;
  color: #B45309 !important;
  border: 1px solid #E7E1D6 !important;
}
html body aside.jobie-sidebar .btn-sidebar-plate {
  background: #B45309 !important;
  border: 1px solid #92400E !important;
  color: #FFFFFF !important;
}
html body aside.jobie-sidebar .btn-sidebar-plate span#plateCountTag { background: rgba(255,255,255,.22) !important; color: #fff !important; }

html body div.jobie-main,
html body div.jobie-main-wrapper {
  background: #F7F5F0 !important;
}
html body header.jobie-header {
  background: #F7F5F0 !important;
  border-bottom: 1px solid #E7E1D6 !important;
  box-shadow: none !important;
}
html body div.jobie-main::-webkit-scrollbar-track,
html body div.jobie-main-wrapper::-webkit-scrollbar-track,
html body .jobie-content-area::-webkit-scrollbar-track { background: #F7F5F0 !important; }
html body div.jobie-main::-webkit-scrollbar-thumb,
html body div.jobie-main-wrapper::-webkit-scrollbar-thumb,
html body .jobie-content-area::-webkit-scrollbar-thumb { background: #D9D1C2 !important; border-color: #F7F5F0 !important; }

/* Logo — veribotlogo.png (veriler.tr ile aynı varlık), daha belirgin */
html body aside.jobie-sidebar .jobie-brand-logo img {
  width: 62px !important;
  height: 62px !important;
  margin: 0 !important;
  flex-shrink: 0;
}
html body aside.jobie-sidebar .jobie-brand-logo { padding: 6px 12px 6px 8px !important; }

/* Ana eylem butonları (mor kalıntıları → bakır) */
html body .btn-launch,
html body .jobie-btn-primary,
html body button.btn-launch {
  background: #B45309 !important;
  background-image: none !important;
  border: 1px solid #92400E !important;
  color: #FFFFFF !important;
  box-shadow: 0 1px 2px rgba(146, 64, 14, .25) !important;
}
html body .btn-launch:hover,
html body .jobie-btn-primary:hover { background: #92400E !important; }

/* Üst bar telemetri kapsülü */
html body .jobie-telemetry-capsule {
  background: #FFFFFF !important;
  border: 1px solid #E7E1D6 !important;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .05) !important;
}
html body .jobie-telemetry-capsule .telemetry-item { background: transparent !important; }
html body .jobie-telemetry-capsule .telemetry-lbl { color: #8A837A !important; }
html body .jobie-telemetry-capsule .telemetry-val { color: #1C1917 !important; }
html body .jobie-telemetry-capsule .telemetry-divider { background: #E7E1D6 !important; }
html body .jobie-telemetry-capsule .telemetry-badge { background: #FEF3C7 !important; color: #92400E !important; }

/* ══════════════════════════════════════════════════════════════════════
   ARAÇ STOK DENGELEME (balance.html) — Konsept 8 düzeni
   • Filtre çubuğu sabit (sticky), seçim barı altta sabit
   • Pembe/lila/mavi kart tonları kaldırıldı → keten + bakır + adaçayı
   • Kartlar daha sıkı, daha çok araç aynı anda görünür
   • Sağdaki plan kartları sayfa kayarken yerinde kalır
   ══════════════════════════════════════════════════════════════════════ */
html body #tab-balance .balance-container {
  padding: 14px 20px 24px !important;
  gap: 14px !important;
  background: #F7F5F0 !important;
}

/* Ana filo kartı: çerçevesiz, sayfa zeminiyle bütünleşik */
html body #tab-balance .fleet-overview-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 10px !important;
}
html body #tab-balance .fleet-cmd-topbar {
  background: #FFFFFF !important;
  border: 1px solid #E7E1D6 !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .04) !important;
}
html body #tab-balance .fleet-cmd-title { color: #1C1917 !important; font-size: 16px !important; }
html body #tab-balance .fleet-count-pill {
  background: #FBF3E8 !important; border: 1px solid #F3D9B8 !important; color: #92400E !important; font-weight: 800 !important;
}

/* Komut butonları */
html body #tab-balance .fleet-btn-cmd { border-radius: 9px !important; padding: 7px 13px !important; font-size: 12px !important; }
html body #tab-balance .fleet-btn-cmd.primary {
  background: #B45309 !important; border: 1px solid #92400E !important; color: #fff !important; box-shadow: 0 1px 2px rgba(146,64,14,.25) !important;
}
html body #tab-balance .fleet-btn-cmd.primary:hover { background: #92400E !important; }
html body #tab-balance .fleet-btn-cmd.secondary {
  background: #FFFFFF !important; border: 1px solid #D9D1C2 !important; color: #1C1917 !important;
}
html body #tab-balance .fleet-btn-cmd.secondary:hover { background: #FBF3E8 !important; border-color: #B45309 !important; color: #B45309 !important; }
html body #tab-balance .fleet-btn-cmd.ghost-amber {
  background: #FEF3C7 !important; border: 1px solid #F3D9B8 !important; color: #92400E !important;
}
html body #tab-balance .fleet-btn-cmd.ghost-amber:hover { background: #FDE68A !important; }
html body #tab-balance .fleet-btn-cmd.ghost-red {
  background: #FDF1EE !important; border: 1px solid #F0CFC6 !important; color: #B42318 !important;
}
html body #tab-balance .fleet-btn-cmd.ghost-red:hover { background: #FBE3DD !important; }

/* Filtre çubuğu — kaydırırken yukarıda kalır */
html body #tab-balance .fleet-filter-bar {
  position: sticky !important;
  top: 0 !important;
  z-index: 25 !important;
  background: rgba(247, 245, 240, .96) !important;
  backdrop-filter: blur(6px);
  border: 1px solid #E7E1D6 !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  gap: 8px 12px !important;
  box-shadow: 0 4px 14px rgba(120, 83, 30, .08) !important;
}
html body #tab-balance .fleet-search-wrap input {
  background: #FFFFFF !important; border: 1px solid #D9D1C2 !important; color: #1C1917 !important;
}
html body #tab-balance .fleet-search-wrap input:focus { border-color: #B45309 !important; box-shadow: 0 0 0 3px rgba(180,83,9,.14) !important; }
html body #tab-balance .fleet-filter-pills {
  background: #FFFFFF !important; border: 1px solid #E7E1D6 !important; border-radius: 10px !important; padding: 3px !important;
}
html body #tab-balance .fleet-pill { color: #57534E !important; background: transparent !important; border: 1px solid transparent !important; }
html body #tab-balance .fleet-pill:hover { background: #F3EFE7 !important; color: #1C1917 !important; }
html body #tab-balance .fleet-pill.active {
  background: #B45309 !important; border-color: #92400E !important; color: #FFFFFF !important; font-weight: 700 !important;
}
html body #tab-balance .fleet-pill-select {
  background: #FFFFFF !important; border: 1px solid #D9D1C2 !important; color: #1C1917 !important;
}
html body #tab-balance .fleet-pill-select:hover { background: #FBF3E8 !important; border-color: #B45309 !important; color: #B45309 !important; }
html body #tab-balance .fleet-pill-select.active { background: #B45309 !important; border-color: #92400E !important; color: #fff !important; }
html body #tab-balance .fleet-view-toggle-wrap { background: #FFFFFF !important; border: 1px solid #D9D1C2 !important; }
html body #tab-balance .fleet-view-btn.active { background: #B45309 !important; color: #fff !important; }
html body #tab-balance .balance-select {
  background: #FFFFFF !important; border: 1px solid #D9D1C2 !important; color: #1C1917 !important;
}

/* Çoklu seçim barı — altta sabit */
html body #tab-balance .fleet-selection-float-bar {
  position: sticky !important;
  bottom: 12px !important;
  top: auto !important;
  z-index: 40 !important;
  background: #FFFFFF !important;
  border: 1.5px solid #B45309 !important;
  box-shadow: 0 10px 30px rgba(120, 83, 30, .22) !important;
  order: 99;
}
html body #tab-balance .selection-title-row { color: #1C1917 !important; }
html body #tab-balance .selection-subtitle { color: #8A837A !important; }
html body #tab-balance .selection-tag { background: #B45309 !important; }
html body #tab-balance .selection-check-icon { filter: sepia(1) saturate(4) hue-rotate(-10deg); }

/* Bölgeler */
html body #tab-balance .fleet-zone {
  background: #FFFFFF !important;
  border: 1px solid #E7E1D6 !important;
  border-left: 4px solid #B45309 !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .04) !important;
  gap: 10px !important;
}
html body #tab-balance .fleet-zone.dolum { border-left-color: #B42318 !important; }
html body #tab-balance .fleet-zone.active { border-left-color: #15803D !important; }
html body #tab-balance .fleet-zone.other { border-left-color: #A8A29E !important; }
html body #tab-balance .fleet-zone-head,
html body #tab-balance .fleet-zone.dolum .fleet-zone-head,
html body #tab-balance .fleet-zone.active .fleet-zone-head,
html body #tab-balance .fleet-zone.warehouse .fleet-zone-head { border-bottom: 1px solid #EFEBE3 !important; padding-bottom: 8px !important; align-items: center !important; }
html body #tab-balance .fleet-zone-title { color: #1C1917 !important; font-size: 12.5px !important; }
html body #tab-balance .fleet-zone.dolum .fleet-zone-title { color: #B42318 !important; }
html body #tab-balance .fleet-zone.active .fleet-zone-title { color: #15803D !important; }
html body #tab-balance .fleet-zone.warehouse .fleet-zone-title { color: #92400E !important; }
html body #tab-balance .fleet-zone-count { background: #B45309 !important; }
html body #tab-balance .fleet-zone.dolum .fleet-zone-count { background: #B42318 !important; }
html body #tab-balance .fleet-zone.active .fleet-zone-count { background: #15803D !important; }
html body #tab-balance .fleet-zone-sub { color: #8A837A !important; }
html body #tab-balance .fleet-zone-icon { font-size: 18px !important; }

/* Kart ızgarası: ekran genişse 4 sütuna kadar */
html body #tab-balance .fleet-zone-grid,
html body #tab-balance .fleet-grid {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important;
  gap: 12px !important;
}

/* Araç kartı */
html body #tab-balance .fleet-card {
  background: #FFFFFF !important;
  border: 1px solid #E7E1D6 !important;
  border-radius: 12px !important;
  padding: 11px 12px !important;
  gap: 8px !important;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .04) !important;
}
html body #tab-balance .fleet-card:hover {
  transform: none !important;
  border-color: #B45309 !important;
  box-shadow: 0 4px 14px rgba(120, 83, 30, .12) !important;
}
html body #tab-balance .fleet-card.card-dolum { border-left: 3px solid #B42318 !important; background: #FFFFFF !important; }
html body #tab-balance .fleet-card.card-active-plate { border-left: 3px solid #15803D !important; background: #FFFFFF !important; }
html body #tab-balance .fleet-card.card-has-missing { border-left: 3px solid #D97706 !important; background: #FFFFFF !important; }
html body #tab-balance .fleet-card.active,
html body #tab-balance .fleet-card.selected-plate-card {
  background: #FBF3E8 !important;
  border-color: #B45309 !important;
  box-shadow: 0 0 0 2px #B45309 !important;
}

/* Plaka kutusu & rozetler */
html body #tab-balance .fcard-plate-num { color: #1C1917 !important; }
html body #tab-balance .fcard-tpl-badge,
html body #tab-balance .fcard-wh-badge,
html body #tab-balance .fcard-kinds-badge {
  background: #F3EFE7 !important; border: 1px solid #E7E1D6 !important; color: #57534E !important;
}
html body #tab-balance .fcard-courier-strip { background: #F3EFE7 !important; border-color: #E7E1D6 !important; }
html body #tab-balance .fcard-status-badge.dolum { background: #FDF1EE !important; color: #B42318 !important; border-color: #F0CFC6 !important; }
html body #tab-balance .fcard-status-badge.active { background: rgba(21,128,61,.12) !important; color: #15803D !important; border-color: rgba(21,128,61,.3) !important; }

/* Özet pill'leri: eksik = toprak kırmızısı, fazla = bakır, tam = adaçayı */
html body #tab-balance .fcard-sum-pill.missing { background: #FDF1EE !important; border: 1px solid #F0CFC6 !important; color: #B42318 !important; }
html body #tab-balance .fcard-sum-pill.surplus { background: #FEF3C7 !important; border: 1px solid #F3D9B8 !important; color: #92400E !important; }
html body #tab-balance .fcard-sum-pill.ok { background: rgba(21,128,61,.10) !important; border: 1px solid rgba(21,128,61,.28) !important; color: #15803D !important; }

/* Ürün kutuları */
html body #tab-balance .fcard-box { background: #FBFAF6 !important; border: 1px solid #E7E1D6 !important; }
html body #tab-balance .fcard-box.missing { border-left: 3px solid #B42318 !important; background: #FFFDFB !important; }
html body #tab-balance .fcard-box.surplus { border-left: 3px solid #B45309 !important; background: #FFFDF8 !important; }
html body #tab-balance .fcard-box-label.red { color: #B42318 !important; }
html body #tab-balance .fcard-box-label.blue { color: #92400E !important; }
html body #tab-balance .fcard-box-total.red { background: #FDF1EE !important; color: #B42318 !important; }
html body #tab-balance .fcard-box-total.blue { background: #FEF3C7 !important; color: #92400E !important; }
html body #tab-balance .fcard-chip-item { background: #FFFFFF !important; border: 1px solid #EFEBE3 !important; }
html body #tab-balance .fcard-thumb-frame { background: #F7F5F0 !important; }
html body #tab-balance .fcard-chip-name { color: #1C1917 !important; }
html body #tab-balance .fcard-chip-qty.red { background: #FDF1EE !important; color: #B42318 !important; border: 1px solid #F0CFC6 !important; }
html body #tab-balance .fcard-chip-qty.blue { background: #FEF3C7 !important; color: #92400E !important; border: 1px solid #F3D9B8 !important; }
html body #tab-balance .fcard-more-pill { background: #F3EFE7 !important; border-color: #D9D1C2 !important; color: #57534E !important; }
html body #tab-balance .fcard-ok-box { background: rgba(21,128,61,.08) !important; border: 1px solid rgba(21,128,61,.25) !important; }
html body #tab-balance .fcard-ok-icon { background: rgba(21,128,61,.16) !important; color: #15803D !important; }
html body #tab-balance .fcard-ok-title { color: #15803D !important; }
html body #tab-balance .fcard-ok-desc { color: #4D7C5A !important; }

/* Kart alt aksiyonları: düzgün tek sıra */
html body #tab-balance .fcard-action-dock {
  border-top: 1px solid #EFEBE3 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
}
html body #tab-balance .fcard-btn-act {
  flex: none !important;
  min-width: 0 !important;
  padding: 6px 4px !important;
  font-size: 10.5px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  text-align: center;
  flex-direction: column;
  gap: 1px !important;
}
html body #tab-balance .fcard-btn-act.inspect { background: #FFFFFF !important; border: 1px solid #D9D1C2 !important; color: #44403C !important; }
html body #tab-balance .fcard-btn-act.inspect:hover { background: #FBF3E8 !important; border-color: #B45309 !important; color: #B45309 !important; }
html body #tab-balance .fcard-btn-act.load { background: #B45309 !important; border: 1px solid #92400E !important; color: #fff !important; }
html body #tab-balance .fcard-btn-act.unload { background: #FFFFFF !important; border: 1px solid #B45309 !important; color: #B45309 !important; }
html body #tab-balance .fcard-btn-act.unload:hover { background: #FBF3E8 !important; }
html body #tab-balance .fcard-btn-act.empty { background: #FDF1EE !important; border: 1px solid #F0CFC6 !important; color: #B42318 !important; padding: 6px 4px !important; }

/* Ana grid: tablo + plan kartları */
html body #tab-balance .balance-main-grid {
  grid-template-columns: minmax(0, 1fr) 370px !important;
  margin-top: 6px !important;
  gap: 14px !important;
}
html body #tab-balance .balance-table-card {
  background: #FFFFFF !important;
  border: 1px solid #E7E1D6 !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .04) !important;
}
html body #tab-balance .balance-table th {
  background: #F3EFE7 !important; color: #57534E !important; border-bottom: 1px solid #E7E1D6 !important;
}
html body #tab-balance .balance-table td { background: #FFFFFF !important; border-bottom: 1px solid #EFEBE3 !important; color: #1C1917 !important; }
html body #tab-balance .balance-table tr:hover td { background: #FBFAF6 !important; }
html body #tab-balance .balance-badge.eksik { background: #FDF1EE !important; color: #B42318 !important; border: 1px solid #F0CFC6 !important; box-shadow: none !important; }
html body #tab-balance .balance-badge.fazla { background: #FEF3C7 !important; color: #92400E !important; border: 1px solid #F3D9B8 !important; box-shadow: none !important; }
html body #tab-balance .balance-badge.ok { background: rgba(21,128,61,.12) !important; color: #15803D !important; border: 1px solid rgba(21,128,61,.3) !important; box-shadow: none !important; }

html body #tab-balance .plan-cards-container {
  position: sticky !important;
  top: 64px;
  align-self: start;
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  padding-right: 2px;
}
html body #tab-balance .plan-card {
  background: #FFFFFF !important;
  border: 1px solid #E7E1D6 !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .04) !important;
}
html body #tab-balance .plan-card.load-card { border-top: 3px solid #B45309 !important; }
html body #tab-balance .plan-card.unload-card { border-top: 3px solid #D97706 !important; }
html body #tab-balance .plan-card-title { color: #1C1917 !important; }
html body #tab-balance .plan-route-badge { background: #F3EFE7 !important; border: 1px solid #E7E1D6 !important; color: #57534E !important; }
html body #tab-balance .plan-item-row { border-bottom-color: #EFEBE3 !important; }
html body #tab-balance .plan-item-row:hover { background: #FBFAF6 !important; }

@media (max-width: 1180px) {
  html body #tab-balance .balance-main-grid { grid-template-columns: 1fr !important; }
  html body #tab-balance .plan-cards-container { position: static !important; max-height: none; }
}
@media (max-width: 760px) {
  html body #tab-balance .fcard-action-dock { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Balance düzeltmeleri: aksiyon dock (en fazla 5 buton) ve arama kutusu */
html body #tab-balance .fcard-action-dock {
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)) !important;
}
html body #tab-balance .fcard-btn-act {
  flex-direction: row !important;
  white-space: nowrap !important;
  padding: 6px 6px !important;
}
html body #tab-balance .fleet-search-wrap input { padding-left: 34px !important; }
html body #tab-balance .fleet-search-icon { left: 12px !important; }

/* Sol menü logosu: kırpılmış işaret, kart içinde taşmadan */
html body aside.jobie-sidebar .jobie-brand-logo { overflow: hidden !important; padding: 8px 12px !important; }
html body aside.jobie-sidebar .jobie-brand-logo img { width: 62px !important; height: 62px !important; margin: 0 !important; border-radius: 50% !important; }
