/* ══ MODAL GLOBAL DEĞİŞKENLER ══
   Tüm modal input/label/tablo boyutları buradan yönetilir.
   Değiştirmek için sadece bu değerleri güncelleyin. */
:root {
  --modal-root-font-size: 12px;
  --modal-label-font-size: 14px;
  --modal-input-height: 24px;
  --modal-input-font-size: 14px;
  --modal-table-row-height: 21px;
}

/* TOOLBAR */
 .toolbar {
    max-width: 100%;

    
    display:flex; align-items:center;
  }

  @media (max-width:1024.98px) {
    .toolbar{
        overflow-x: auto;
    min-height:110px;
    align-items: flex-start;
    }
    .toolbar::-webkit-scrollbar {
        display: none;
    }
}

  .toolbar::-webkit-scrollbar {
    display: none;
}

  .sep {
    width:1px; height:28px;
    background:linear-gradient(180deg,transparent,rgba(0,0,0,0.08),transparent);
    margin:0 3px; flex-shrink:0;
  }

  /* ICON BUTTON */
  .ib {
    position:relative;
    width:42px; height:42px;
    border-radius:6px;
    padding: 0;
    border:none;
    background:transparent;
    cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition:all .18s cubic-bezier(.16,1,.3,1);
    flex-shrink:0;
  }

  /* Each button has a coloured icon pill */
  .ib .icon-pill {
    width:36px; height:36px;
    border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    transition:all .18s cubic-bezier(.16,1,.3,1);
    position:relative;
    z-index:1;
  }

  .ib .icon-pill svg {
    width:20px; height:20px;
    display:block;
    transition:transform .18s cubic-bezier(.16,1,.3,1);
    filter:drop-shadow(0 1px 2px rgba(0,0,0,0.15));
  }

  .ib:hover .icon-pill {
    transform:translateY(-2px);
    box-shadow:0 6px 18px var(--glow, rgba(0,0,0,.15));
  }
  .ib:hover .icon-pill svg { transform:scale(1.08); }
  .ib:active .icon-pill { transform:scale(.9) translateY(0); }

  /* Colour themes — gradient pill bg + fill SVG */
  .blue  { --glow:rgba(79,127,255,.35); }
  .blue  .icon-pill { background:linear-gradient(145deg,#6b9eff,#3b6ef6); }

  .cyan  { --glow:rgba(6,182,212,.35); }
  .cyan  .icon-pill { background:linear-gradient(145deg,#38d8f5,#0ea5e9); }

  .red   { --glow:rgba(244,63,94,.35); }
  .red   .icon-pill { background:linear-gradient(145deg,#ff7090,#f43f5e); }

  .green { --glow:rgba(16,185,129,.35); }
  .green .icon-pill { background:linear-gradient(145deg,#34d399,#059669); }

  .amber { --glow:rgba(245,158,11,.35); }
  .amber .icon-pill { background:linear-gradient(145deg,#fcd34d,#f59e0b); }

  .violet{ --glow:rgba(139,92,246,.35); }
  .violet .icon-pill { background:linear-gradient(145deg,#a78bfa,#7c3aed); }

  .slate { --glow:rgba(100,116,139,.25); }
  .slate .icon-pill { background:linear-gradient(145deg,#94a3b8,#64748b); }

  .rose  { --glow:rgba(251,113,133,.35); }
  .rose  .icon-pill { background:linear-gradient(145deg,#fda4af,#e11d48); }

  /* TOOLTIP */
  .ib::after {
    content:attr(data-tip);
    position:absolute; bottom:-34px; left:50%;
    transform:translateX(-50%) translateY(4px);
    background:#1a1d26; color:#e8ecf4;
    font-size:11px; font-weight:500;
    padding:4px 9px; border-radius:7px;
    white-space:nowrap; pointer-events:none;
    opacity:0; transition:opacity .15s,transform .15s; z-index:99;
    box-shadow:0 4px 14px rgba(0,0,0,.25);
  }
  .ib::before {
    content:''; position:absolute; bottom:-10px; left:50%;
    transform:translateX(-50%) translateY(4px);
    border:5px solid transparent; border-bottom-color:#1a1d26;
    pointer-events:none; opacity:0;
    transition:opacity .15s,transform .15s; z-index:99;
  }
  .ib:hover::after,.ib:hover::before {
    opacity:1; transform:translateX(-50%) translateY(0);
  }

/* ══════════════════════════════════════════
   MODAL COMPONENT STYLES
   Tüm modal stilleri aşağıda tanımlıdır.
   Her modal kendi prefix'i ile ayrılmıştır.
══════════════════════════════════════════ */

/* === modals/SifreErisimModal.vue === */
.win-form { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.form-row { display: flex; flex-direction: column; gap: 5px; }
.form-row label { font-size: 11.5px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .4px; }
.form-row input { border: 1.5px solid #e2e8f0; border-radius: 6px; padding: 8px 10px; font-size: 13.5px; color: #1e293b; outline: none; transition: border-color .15s; font-family: inherit; }
.form-row input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }

/* === modals/SifreOnayModal.vue === */
.so-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
}
.so-dialog {
    width: fit-content;
    background: #f0f4f8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.3);
    animation: so-rise 0.25s ease;
}
@keyframes so-rise { from{opacity:0;transform:translateY(10px) scale(0.98)} to{opacity:1;transform:none} }

.so-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #16325a 60%, #0f2340 100%);
    padding: 7px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #3b82f6;
}
.so-header-left { display:flex; align-items:center; gap:8px; }
.so-title { font-size:13px; font-weight:700; color:#fff; letter-spacing:.2px; }

.so-win-btn {
    width:26px; height:24px;
    border-radius:5px;
    border:1px solid rgba(239,68,68,0.4);
    background:rgba(239,68,68,0.2);
    display:inline-flex; align-items:center; justify-content:center;
    cursor:pointer; transition:all .15s; color:#e2e8f0;
}
.so-win-btn:hover { background:#ef4444; color:#fff; }

.so-body { padding:18px 20px 16px; }

.so-dialog-title {
    text-align:center;
    color:#dc2626;
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;
    letter-spacing:.2px;
}

.so-form-row {
    display:flex;
    align-items:center;
    gap:12px;
}

.so-label {
    font-size: var(--modal-label-font-size);
    font-weight:500;
    color:#5a6a85;
    white-space:nowrap;
    width:42px;
    text-align:right;
    flex-shrink:0;
}

.so-input {
    flex:1;
    height:28px;
    background:#f8fafc;
    border:1px solid #c8d0dc;
    border-radius:6px;
    padding:2px 10px;
    font-size:13px;
    font-family:inherit;
    color:#0f172a;
    letter-spacing:3px;
    transition:border-color .15s, box-shadow .15s;
}
.so-input:focus { outline:none; border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,.12); background:#fff; }
.so-input-error { border-color:#dc2626 !important; box-shadow:0 0 0 3px rgba(220,38,38,.15) !important; }

.so-btn-group { display:flex; gap:8px; flex-shrink:0; }

.so-btn-ok {
    width:32px; height:32px;
    background:linear-gradient(135deg,#16a34a,#15803d);
    border:1px solid #16a34a;
    border-radius:8px;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; box-shadow:0 2px 8px rgba(22,163,74,.35);
    transition:all .15s;
}
.so-btn-ok:hover { background:linear-gradient(135deg,#22c55e,#16a34a); transform:translateY(-1px); }

.so-btn-cancel {
    width:32px; height:32px;
    background:linear-gradient(135deg,#dc2626,#b91c1c);
    border:1px solid #dc2626;
    border-radius:8px;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; box-shadow:0 2px 8px rgba(220,38,38,.35);
    transition:all .15s;
}
.so-btn-cancel:hover { background:linear-gradient(135deg,#ef4444,#dc2626); transform:translateY(-1px); }


.win-help h3 { font-size: 14px; font-weight: 700; color: #1e293b; margin: 0 0 12px; }
.win-help ul { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.win-help li { font-size: 13.5px; color: #475569; line-height: 1.5; }

.m-root { background:#f0f4f8; font-family:'Segoe UI',system-ui,sans-serif; font-size: var(--modal-root-font-size); }
.m-body { padding:40px 20px; text-align:center; }
.m-placeholder { color:#94a3b8; font-size:13px; }

/* Ortak yeni modal sınıfları (tüm modallarda tekrar kullanılabilir) */
.cm-root {
  background: #f0f4f8;
}
.cm-card {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
.cm-toolbar-card {
  padding: 5px 10px;
}
.cm-filter-card {
  padding: 6px 8px;
}
.cm-panel-card {
  overflow: hidden;
}
.cm-content {
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cm-table-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
.cm-table-wrap {
  background: #fff;
}
.cm-table {
  width: 100%;
}
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .cm-table-panel {
  background: #0f1824;
  border-color: #2a3a54;
  box-shadow: none;
}
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .cm-table-wrap {
  background: #0f1824;
}

/* Açık tema kilitli modallar: koyu temada bile aynı palet */
.m-root[data-bs-theme="light"] {
  color-scheme: light;
}

.av-root {
  background: #f0f4f8;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: var(--modal-root-font-size);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── Body ── */
.av-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Panel ── */
.av-panel {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #dde3ec;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.av-panel-head {
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Tablo ── */
.av-table {
  width: 100%;
  padding: 3px 8px;
  border-collapse: collapse;
}
.av-table tr { height: var(--modal-table-row-height); }

.av-lbl {
  text-align: right;
  padding: 1px 7px 1px 3px;
  vertical-align: middle;
  white-space: nowrap;
  color: #5a6a85;
  font-size: var(--modal-label-font-size);
  font-weight: 500;
}

.av-fi {
  height: var(--modal-input-height);
  font-size: var(--modal-input-font-size);
  font-family: inherit;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #f8fafc;
  padding: 1px 6px;
  color: #0f172a;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  box-sizing: border-box;
}
.av-fi:focus  { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,.12); background: #fff; }
.av-fi:hover  { border-color: #94a3b8; }

.av-textarea {
  height: auto;
  resize: none;
  padding: 4px 6px;
  line-height: 1.5;
  min-height: 58px;
}

.av-chk {
  width: 14px; height: 14px;
  accent-color: #3b82f6;
  cursor: pointer;
  margin-left: 2px;
}

/* ── Çift / üçlü giriş alanları ── */
.av-inline-pair,
.av-inline-triple {
  display: flex;
  align-items: center;
  gap: 4px;
}
.av-inline-pair .av-fi { flex: 1; }
.av-inline-triple .av-fi { flex: 1; }
.av-sep { color: #94a3b8; font-weight: 700; flex-shrink: 0; }

/* ── Ana iki kolon grid ── */
.av-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-items: start;
}

/* ── Kolon yığını ── */
.av-col-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Araç Bilgileri iki kolon ── */
.av-bilgi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ── İkon Butonlar ── */
.av-icon-btn {
  width: 24px; height: 24px;
  border-radius: 4px; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s; padding: 0;
}
.av-icon-btn--blue  { background: #2563eb; color: #fff; }
.av-icon-btn--blue:hover  { background: #1d4ed8; }
.av-icon-btn--amber { background: #d97706; color: #fff; }
.av-icon-btn--amber:hover { background: #b45309; }

/* ── Bilgi bar ── */
.av-info-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 6px 10px;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 600;
}

button:disabled .icon-pill { opacity: 0.4; }

/* === modals/lojistikYonetimi/AracSeyirSureleri.vue === */

/* === modals/lojistikYonetimi/BirimTanimlama.vue === */
.m-root {
  background: #f0f4f8;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: var(--modal-root-font-size);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bt-content { padding: 0 10px 10px; }

.bt-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.bt-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.bt-table thead tr { background: linear-gradient(135deg, #1e3a5f, #1a325a); }
.bt-table thead th {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  text-align: center;
  letter-spacing: .4px;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.bt-table thead th:last-child { border-right: none; }

.bt-table tbody tr { border-bottom: 1px solid #f1f5f9; transition: background .1s; cursor: pointer; }
.bt-table tbody tr:hover  { background: #eff6ff; }
.bt-table tbody tr.active { background: #dbeafe; }
.bt-table tbody tr.is-new { background: #f0fdf4; }
.bt-table tbody tr:last-child { border-bottom: none; }

.bt-table td {
  padding: 4px 10px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
  white-space: nowrap;
}
.bt-table td:last-child { border-right: none; }

.td-arrow   { width: 24px; text-align: center; color: #3b82f6; }
.td-editable { cursor: text; }
.p-0        { padding: 4px 2px !important; }

.bt-inline-input {
  width: 100%;
  height: 22px;
  border: 1.5px solid #3b82f6;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 13px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59,130,246,.15);
  box-sizing: border-box;
}

/* === modals/lojistikYonetimi/CinsAdiTanimlama.vue === */

.ct-content { padding: 0 10px 10px; }

.ct-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.ct-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.ct-table thead tr { background: linear-gradient(135deg, #1e3a5f, #1a325a); position: sticky; top: 0; z-index: 2; }
.ct-table thead th {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  text-align: center;
  letter-spacing: .4px;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.ct-table thead th:last-child { border-right: none; }

.ct-table tbody tr { border-bottom: 1px solid #f1f5f9; transition: background .1s; cursor: pointer; }
.ct-table tbody tr:hover  { background: #eff6ff; }
.ct-table tbody tr.active { background: #dbeafe; }
.ct-table tbody tr.is-new { background: #f0fdf4; }
.ct-table tbody tr:last-child { border-bottom: none; }

.ct-table td {
  padding: 4px 10px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
  white-space: nowrap;
}
.ct-table td:last-child { border-right: none; }
.td-renk-label { color: #374151; font-weight: 600; }
.td-swatch { width: 28px; text-align: center; }

.ct-swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.18);
  vertical-align: middle;
}

.ct-inline-input {
  width: 100%;
  height: 22px;
  border: 1.5px solid #3b82f6;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 13px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59,130,246,.15);
  box-sizing: border-box;
}

.ct-inline-select {
  height: 22px;
  border: 1.5px solid #3b82f6;
  border-radius: 3px;
  padding: 0 4px;
  font-size: 12px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59,130,246,.15);
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
}

/* === modals/lojistikYonetimi/DepoAdresTanimlama.vue === */

.da-content { padding: 0 10px 10px; }

.da-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.da-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.da-table thead tr { background: linear-gradient(135deg, #1e3a5f, #1a325a); }
.da-table thead th {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  text-align: center;
  letter-spacing: .4px;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.da-table thead th:last-child { border-right: none; }

.da-table tbody tr { border-bottom: 1px solid #f1f5f9; transition: background .1s; cursor: pointer; }
.da-table tbody tr:hover  { background: #eff6ff; }
.da-table tbody tr.active { background: #dbeafe; }
.da-table tbody tr.is-new { background: #f0fdf4; }
.da-table tbody tr:last-child { border-bottom: none; }

.da-table td {
  padding: 4px 10px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
  white-space: nowrap;
}
.da-table td:last-child { border-right: none; }
.td-bold     { font-weight: 700; }
.td-adres    { max-width: 0; overflow: hidden; text-overflow: ellipsis; }
.td-num      { text-align: center; font-variant-numeric: tabular-nums; color: #374151; }

.da-input {
  width: 100%;
  height: var(--modal-input-height);
  border: 1.5px solid #3b82f6;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: var(--modal-input-font-size);
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59,130,246,.15);
  box-sizing: border-box;
}
.da-input--wide { min-width: 220px; }

/* === modals/lojistikYonetimi/DepoBazindaMaliyetGirisi.vue === */

/* ── Filtre Çubuğu ── */
.dm-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #e9edf3;
  border-bottom: 1px solid #d0d8e4;
}

.dm-filter-lbl {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}

.dm-filter-input {
  height: 24px;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #f8fafc;
  padding: 1px 6px;
  font-family: inherit;
  font-size: 12.5px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
}
.dm-filter-input--sm { width: 64px; }
.dm-filter-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,.12); }

.dm-filter-select {
  height: 24px;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #f8fafc;
  padding: 0 6px;
  font-family: inherit;
  font-size: 12.5px;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  min-width: 90px;
}
.dm-filter-select:focus { border-color: #3b82f6; }

/* ── İçerik ── */
.dm-content { padding: 0 10px 10px; }

.dm-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* ── Tablo ── */
.dm-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.dm-table thead tr { background: linear-gradient(135deg, #1e3a5f, #1a325a); }
.dm-table thead th {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  letter-spacing: .4px;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.dm-table thead th:last-child { border-right: none; }

.dm-table tbody tr { border-bottom: 1px solid #f1f5f9; cursor: pointer; transition: background .1s; }
.dm-table tbody tr:hover  { background: #eff6ff; }
.dm-table tbody tr.active { background: #dbeafe; }
.dm-table tbody tr.is-new { background: #fefce8; }
.dm-table tbody tr:last-child { border-bottom: none; }

.dm-table td {
  padding: 3px 10px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
}
.dm-table td:last-child { border-right: none; }

.td-arrow {
  width: 22px;
  text-align: center;
  color: #3b82f6;
}
.p-0 { padding: 0 !important; }

.td-depo    { font-weight: 700; white-space: nowrap; }
.td-maliyet { padding: 2px 6px !important; }

/* ── Depo adı inline edit ── */
.dm-ad-input {
  width: 100%;
  height: 22px;
  border: 1px solid #3b82f6;
  border-radius: 3px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  padding: 0 5px;
  outline: none;
  box-sizing: border-box;
}

/* ── Maliyet input ── */
.dm-maliyet-input {
  width: 100%;
  height: 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  text-align: right;
  font-family: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: #374151;
  padding: 0 4px;
  outline: none;
  box-sizing: border-box;
  transition: border-color .12s, background .12s;
}
.dm-maliyet-input:hover  { border-color: #c8d0dc; background: #f8fafc; }
.dm-maliyet-input:focus  { border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 2px rgba(59,130,246,.15); }

/* ── Toplam satırı ── */
.dm-table tfoot { border-top: 2px solid #dde3ec; }
.dm-toplam-row { background: #f8fafc; }
.td-toplam-lbl {
  padding: 5px 10px;
  font-weight: 800;
  font-size: 12.5px;
  color: #0f172a;
}
.td-toplam-val {
  padding: 5px 10px;
  text-align: right;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: #0f172a;
}

/* === modals/lojistikYonetimi/DepoyaAlinmamaNedenleri.vue === */

/* ── İçerik ── */
.dn-content { padding: 0 10px 10px; }

.dn-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* ── Tablo ── */
.dn-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.dn-table thead tr { background: linear-gradient(135deg, #1e3a5f, #1a325a); }
.dn-table thead th {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  letter-spacing: .4px;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.dn-table thead th:last-child { border-right: none; }

.dn-table tbody tr { border-bottom: 1px solid #f1f5f9; cursor: pointer; transition: background .1s; }
.dn-table tbody tr:hover  { background: #eff6ff; }
.dn-table tbody tr.active { background: #dbeafe; }
.dn-table tbody tr.is-new { background: #fefce8; }
.dn-table tbody tr:last-child { border-bottom: none; }

.dn-table td {
  padding: 4px 10px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
}
.dn-table td:last-child { border-right: none; }

.td-editable { font-weight: 600; }

.td-check {
  text-align: center;
  width: 54px;
}

/* ── Input ── */
.dn-input {
  width: 100%;
  height: var(--modal-input-height);
  border: 1px solid #3b82f6;
  border-radius: 3px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  padding: 0 5px;
  outline: none;
  box-sizing: border-box;
}

/* ── Checkbox ── */
.dn-check {
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: #3b82f6;
}

/* === modals/lojistikYonetimi/DigerFatura.vue === */

/* === modals/lojistikYonetimi/Fatura.vue === */

/* === modals/lojistikYonetimi/FaturaFiyatlandirma.vue === */

/* === modals/lojistikYonetimi/FaturalanmamisNakliyeIrsaliyeleri.vue === */

/* === modals/lojistikYonetimi/GunlukAkaryakitFiyatlari.vue === */

/* ── Firma Bar ── */
.gf-firma-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #e9edf3;
  border-bottom: 1px solid #d0d8e4;
}
.gf-firma-lbl {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}
.gf-firma-input {
  flex: 1;
  height: 24px;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #f8fafc;
  padding: 1px 7px;
  font-family: inherit;
  font-size: 12.5px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  max-width: 320px;
}
.gf-firma-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,.12); }

/* ── İçerik ── */
.gf-content { padding: 0 10px 10px; }

.gf-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* ── Tablo ── */
.gf-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.gf-table thead tr { background: linear-gradient(135deg, #1e3a5f, #1a325a); }
.gf-table thead th {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  letter-spacing: .4px;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.gf-table thead th:last-child { border-right: none; }

.gf-table tbody tr { border-bottom: 1px solid #f1f5f9; cursor: pointer; transition: background .1s; }
.gf-table tbody tr:hover  { background: #eff6ff; }
.gf-table tbody tr.active { background: #dbeafe; }
.gf-table tbody tr.is-new { background: #fefce8; }
.gf-table tbody tr:last-child { border-bottom: none; }

.gf-table td {
  padding: 3px 10px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
}
.gf-table td:last-child { border-right: none; }
.td-stok  { font-weight: 600; }
.td-fiyat { padding: 2px 6px !important; }

/* ── Stok inline edit ── */
.gf-input {
  width: 100%;
  height: var(--modal-input-height);
  border: 1px solid #3b82f6;
  border-radius: 3px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  padding: 0 5px;
  outline: none;
  box-sizing: border-box;
}
.gf-input--stok { width: 100%; }

/* ── Fiyat input ── */
.gf-fiyat-input {
  width: 100%;
  height: 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  text-align: right;
  font-family: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: #374151;
  padding: 0 4px;
  outline: none;
  box-sizing: border-box;
  transition: border-color .12s, background .12s;
}
.gf-fiyat-input:hover  { border-color: #c8d0dc; background: #f8fafc; }
.gf-fiyat-input:focus  { border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 2px rgba(59,130,246,.15); }

/* ── Toplam ── */
.gf-table tfoot { border-top: 2px solid #dde3ec; }
.gf-toplam-row  { background: #f8fafc; }

/* === modals/lojistikYonetimi/KarayollariAracTasimaLimitleri.vue === */

.kt-content { padding: 0 10px 10px; }

.kt-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.kt-table { width: 100%; border-collapse: collapse; font-size: var(--modal-input-font-size); }

.kt-table thead tr { background: linear-gradient(135deg, #1e3a5f, #1a325a); }
.kt-table thead th {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  text-align: center;
  letter-spacing: .4px;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
  top: 0;
}
.kt-table thead th:last-child { border-right: none; }

.kt-table tbody tr { border-bottom: 1px solid #f1f5f9; transition: background .1s; cursor: pointer; }
.kt-table tbody tr:hover  { background: #eff6ff; }
.kt-table tbody tr.active { background: #dbeafe; }
.kt-table tbody tr.is-new { background: #f0fdf4; }
.kt-table tbody tr:last-child { border-bottom: none; }

.kt-table td {
  padding: 4px 10px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
  white-space: nowrap;
}
.kt-table td:last-child { border-right: none; }
.td-num { font-size: var(--modal-input-font-size); font-variant-numeric: tabular-nums; color: #374151; }

.kt-input {
  width: 100%;
  height: var(--modal-input-height);
  border: 1.5px solid #3b82f6;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: var(--modal-input-font-size);
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59,130,246,.15);
  box-sizing: border-box;
}
.kt-input--right { text-align: right; }

/* === modals/lojistikYonetimi/KdvHesapBaglanti.vue === */

/* ── Hesap Seçim Popup ── */
.hs-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hs-dialog {
  width: 480px;
  background: #f0f4f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.25);
  animation: hs-rise 0.2s ease;
  display: flex;
  flex-direction: column;
}
@keyframes hs-rise {
  from { opacity:0; transform:translateY(8px) scale(0.98); }
  to   { opacity:1; transform:none; }
}
.hs-header {
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  letter-spacing: .2px;
  border-bottom: 2px solid #3b82f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hs-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hs-sub-header {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.hs-list-wrap {
  border: 1px solid #dde3ec;
  border-radius: 6px;
  overflow: hidden;
  max-height: 240px;
  overflow-y: auto;
}
.hs-list-wrap::-webkit-scrollbar { width: 6px; }
.hs-list-wrap::-webkit-scrollbar-track { background: #f1f5f9; }
.hs-list-wrap::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 3px; }
.hs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.hs-table thead tr {
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
  position: sticky;
  top: 0;
}
.hs-table thead th {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.hs-table thead th:last-child { border-right: none; }
.hs-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background .08s;
}
.hs-table tbody tr:hover    { background: #eff6ff; }
.hs-table tbody tr.selected { background: #dbeafe; }
.hs-table tbody tr:last-child { border-bottom: none; }
.hs-td-kod {
  padding: 4px 8px;
  color: #1d4ed8;
  font-weight: 600;
  white-space: nowrap;
  border-right: 1px solid #f1f5f9;
  width: 130px;
}
.hs-td-ad {
  padding: 4px 8px;
  color: #1e293b;
}
.hs-arama-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e9edf3;
  border-radius: 6px;
  padding: 5px 10px;
}
.hs-arama-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}
.hs-radio-lbl {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
}
.hs-arama-input {
  width: 100%;
  height: 28px;
  border: 1px solid #c8d0dc;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 13px;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.hs-arama-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,.12); background: #fff; }
.hs-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.hs-btn {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
}
.hs-btn--ok {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  box-shadow: 0 2px 8px rgba(22,163,74,.3);
}
.hs-btn--ok:hover { background: linear-gradient(135deg, #22c55e, #16a34a); transform: translateY(-1px); }
.hs-btn--cancel {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  box-shadow: 0 2px 8px rgba(220,38,38,.3);
}
.hs-btn--cancel:hover { background: linear-gradient(135deg, #ef4444, #dc2626); transform: translateY(-1px); }

/* ── Filtre ── */
.kh-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: #e9edf3;
  border-bottom: 1px solid #d0d8e4;
  flex-wrap: wrap;
}
.kh-filter-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}
.kh-filter-input {
  height: 22px;
  border: 1px solid #c8d0dc;
  border-radius: 3px;
  background: #f8fafc;
  padding: 1px 5px;
  font-family: inherit;
  font-size: 12px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
}
.kh-filter-input--sm { width: 62px; }
.kh-filter-input:focus { border-color: #3b82f6; }
.kh-btn-giris {
  height: 22px;
  padding: 0 10px;
  background: #e2e8f0;
  border: 1px solid #b0bac8;
  border-radius: 3px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  color: #1e293b;
}
.kh-btn-giris:hover { background: #cbd5e1; }
.kh-info-text {
  font-size: 11px;
  color: #64748b;
  font-style: italic;
  margin-left: 4px;
}

/* ── İçerik ── */
.kh-content { padding: 0 10px 10px; flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.kh-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.kh-scroll { overflow: auto; flex: 1; }

/* ── Tablo ── */
.kh-table { width: 100%; border-collapse: collapse; font-size: 11.5px; table-layout: fixed; }
.kh-table thead tr { background: linear-gradient(135deg, #1e3a5f, #1a325a); }
.kh-table thead th {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  letter-spacing: .3px;
  border-right: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
  text-align: left;
}
.kh-table thead th:last-child { border-right: none; }
.th-ay { width: 64px; }

/* Satırlar */
.kh-table tbody tr { transition: background .08s; }
.kh-table tbody tr:hover td { background: #f0f7ff; color: #1e293b; }
.kh-table tbody tr.tr-active td { background: #dbeafe; color: #1e293b; }

.td-ay-label {
  background: #1e3a5f;
  color: #fff;
  font-weight: 700;
  font-size: 11.5px;
  text-align: center;
  padding: 4px 6px;
  border-right: 2px solid #2d5a8e;
  vertical-align: middle;
  white-space: nowrap;
}

.td-hesap {
  padding: 1px 6px;
  color: #1e293b;
  border-right: 1px solid #e9edf3;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 0;
}
.td-hesap:hover { background: #eff6ff !important;  }
.td-hesap:last-child { border-right: none; }

.td-kod { font-weight: 700; color: #1d4ed8; padding-top: 3px; }
.td-ad  { font-size: 10.5px; color: #475569; padding-bottom: 2px; }
.td-border-bottom { border-bottom: 1px solid #e9edf3; text-align: center; }

/* === modals/lojistikYonetimi/MahsuplasmayanTasimalar.vue === */

/* === modals/lojistikYonetimi/MasrafTipGirisi.vue === */

.mt-content { padding: 0 10px 10px; }

.mt-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.mt-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.mt-table thead tr { background: linear-gradient(135deg, #1e3a5f, #1a325a); }
.mt-table thead th {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  letter-spacing: .4px;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.mt-table thead th:last-child { border-right: none; }

.mt-table tbody tr { border-bottom: 1px solid #f1f5f9; cursor: pointer; transition: background .1s; }
.mt-table tbody tr:hover  { background: #eff6ff; }
.mt-table tbody tr.active { background: #dbeafe; }
.mt-table tbody tr.is-new { background: #fefce8; }
.mt-table tbody tr:last-child { border-bottom: none; }

.mt-table td {
  padding: 4px 10px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
}
.mt-table td:last-child { border-right: none; }

.mt-input {
  width: 100%;
  height: var(--modal-input-height);
  border: 1px solid #3b82f6;
  border-radius: 3px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  padding: 0 5px;
  outline: none;
  box-sizing: border-box;
}

/* === modals/lojistikYonetimi/PlanlanmisAracCikisiAcSecim.vue === */
.pace-ac-secim-root {
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pace-ac-secim-status {
  justify-content: center;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}
.pace-ac-secim-status-txt {
  font-weight: 700;
}

/* === modals/lojistikYonetimi/PlanlanmisAracCikisiSecim.vue === */
.pace-secim-root {
  min-height: 0;
}
.pace-secim-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 10px;
}
.pace-secim-ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 10px 8px;
  border-top: 1px solid #dde3ec;
  background: #f8fafc;
  flex-shrink: 0;
}
.pace-secim-ft-nav,
.pace-secim-ft-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* === modals/lojistikYonetimi/PlanlanmisAracCikisi.vue === */
/* Yerleşim: görseldeki iki sütun / satır hizası — renk ve panel sv-/cm- ile uyumlu */
.pac-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pac-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
@media (max-width: 1100px) {
  .pac-split {
    grid-template-columns: 1fr;
  }
}
.pac-left-table,
.pac-right-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.pac-left-table td,
.pac-right-table td {
  padding: 2px 4px;
  vertical-align: middle;
}
.pac-left-table select.sv-fi,
.pac-right-table select.sv-fi {
  cursor: pointer;
}
.pac-left-table .sv-lbl {
  width: 118px;
  max-width: 118px;
}
.pac-cell-inline {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pac-cell-inline .sv-fi {
  flex: 1;
  min-width: 0;
}
.pac-fi-fixed-sm {
  flex: 0 0 88px;
  max-width: 88px;
}
.pac-fi-fixed-md {
  flex: 0 0 100px;
  max-width: 100px;
}
.pac-fi-kdv {
  flex: 0 0 56px;
  max-width: 56px;
  text-align: right;
}
.pac-fi-tutar {
  flex: 0 0 72px;
  max-width: 72px;
  text-align: right;
}
.pac-nak-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  width: 100%;
}
.pac-nak-row .sv-fi:not(.pac-fi-kdv):not(.pac-fi-tutar) {
  flex: 1;
  min-width: 40px;
}
.pac-mini-lbl {
  font-size: var(--modal-label-font-size);
  font-weight: 600;
  color: #5a6a85;
  white-space: nowrap;
  flex-shrink: 0;
}
.pac-mini-action {
  flex-shrink: 0;
  height: var(--modal-input-height);
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  border: 1px solid #3b82f6;
  border-radius: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  cursor: pointer;
  white-space: nowrap;
}
.pac-mini-action:hover {
  background: #dbeafe;
}
.pac-spacer-row td {
  height: 8px;
  padding: 0 !important;
  line-height: 0;
  font-size: 0;
}
.pac-belge-panel {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pac-belge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 8px;
  padding: 10px 10px 8px;
}
.pac-belge-btn {
  min-height: 40px;
  margin: 0;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  font-family: inherit;
  color: #1e3a5f;
  border: 1.5px solid #8fa8c4;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #e4ebf4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 4px rgba(30, 58, 95, 0.1),
    0 1px 2px rgba(15, 23, 42, 0.06);
  cursor: default;
  pointer-events: none;
  user-select: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    transform 0.12s ease;
}
.pac-belge-btn--accent {
  border-color: #2563eb;
  color: #1d4ed8;
  background: linear-gradient(180deg, #f0f7ff 0%, #cfe4ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(37, 99, 235, 0.2),
    0 3px 10px rgba(37, 99, 235, 0.18);
}
.pac-belge-btn--clickable {
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
}
.pac-belge-btn--clickable:hover {
  border-color: #2563eb;
  color: #0c1e3c;
  background: linear-gradient(180deg, #fbfdff 0%, #dbeafe 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 4px 14px rgba(37, 99, 235, 0.22),
    0 2px 6px rgba(30, 58, 95, 0.12);
  transform: translateY(-1px);
}
.pac-belge-btn--clickable:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(30, 58, 95, 0.08),
    0 1px 3px rgba(15, 23, 42, 0.1);
}
.pac-belge-btn--clickable:focus-visible {
  outline: none;
  border-color: #1d4ed8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 3px rgba(59, 130, 246, 0.35),
    0 3px 10px rgba(37, 99, 235, 0.2);
}
.pac-belge-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pac-belge-yukleme-ozet {
  margin: 0 10px 6px;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  color: #1d4ed8;
}

/* === modals/lojistikYonetimi/VarisDeposunaAracGirisi.vue === */
.vda-root {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.vda-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px 10px;
  overflow: hidden;
}
.vda-depo-fbar .vda-depo-select {
  flex: 1;
  min-width: 0;
  width: 30%;
  max-width: 30%;
  font-size: 12px;
  color: #334155;
  background: #fff;
  cursor: pointer;
}
.vda-depo-fbar .vda-depo-select:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.vda-form-table {
  width: 100%;
  table-layout: fixed;
}
.vda-form-table .sv-fi {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.vda-txt-kirmizi {
  color: #dc2626 !important;
  font-weight: 700;
}
.vda-belge-cell {
  vertical-align: middle;
  text-align: right;
  width: 120px;
}
.vda-belge-yukle-btn {
  min-height: 36px;
  width: 100%;
  max-width: 140px;
}
.vda-table-wrap {
  flex: 1;
  min-height: 120px;
  overflow: auto;
  border: 1px solid rgba(30, 58, 95, 0.15);
  border-radius: 6px;
  background: #fff;
}
.vda-grid-panel {
  min-height: 50vh;
  max-height: 50vh;
  overflow: auto;
}
.vda-grid-table {
  font-size: 11px;
  white-space: nowrap;
}
.vda-grid-table th,
.vda-grid-table td {
  padding: 3px 4px;
  vertical-align: middle;
}
.vda-cell-txt {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  font-size: var(--modal-input-font-size);
  color: var(--modal-input-color);
}
.vda-grid-table .td-num .vda-cell-txt {
  text-align: right;
  width: 100%;
}
.vda-grid-table tbody tr.vda-row-kirmizi td {
  color: #b91c1c;
}
.vda-row-kirmizi .vda-cell-txt {
  color: #b91c1c !important;
}
.vda-row-kirmizi .form-check-input {
  accent-color: #b91c1c;
  border-color: #dc2626;
}
.vda-red-cell {
  min-width: 120px;
  max-width: 180px;
  white-space: normal;
}
.vda-red-neden-select {
  width: 100%;
  min-width: 0;
  font-size: 11px;
  padding: 2px 6px;
  min-height: 26px;
  box-sizing: border-box;
}
.vda-red-neden-select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background-color: #f1f5f9 !important;
  color: #64748b !important;
}
.vda-row-kirmizi .vda-red-neden-select {
  color: #b91c1c !important;
  border-color: #dc2626 !important;
  background-color: #fff5f5;
}
.vda-teslimat-trh-cell {
  min-width: 118px;
  max-width: 140px;
}
.vda-teslimat-trh-fi {
  width: 100%;
  min-width: 0;
  font-size: 11px;
  padding: 2px 4px;
  min-height: 26px;
  box-sizing: border-box;
}
.vda-row-kirmizi .vda-teslimat-trh-fi {
  color: #b91c1c !important;
  border-color: #dc2626;
  accent-color: #b91c1c;
}
.vda-teslim-cell {
  white-space: nowrap;
}
.vda-teslim-lbl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  color: #475569;
}
.vda-row-kirmizi .vda-teslim-lbl {
  color: #b91c1c !important;
}
.vda-chk-cell {
  text-align: center;
}
.vda-col-dosya {
  min-width: 72px;
  width: 72px;
  text-align: center;
}
.vda-action-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.vda-mini-folder,
.vda-mini-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 26px;
  padding: 0;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff 0%, #e2e8f0 100%);
  color: #475569;
  cursor: pointer;
}
.vda-mini-folder:hover,
.vda-mini-note:hover {
  border-color: #2563eb;
  color: #1d4ed8;
}
.vda-row-kirmizi .vda-mini-folder,
.vda-row-kirmizi .vda-mini-note {
  color: #b91c1c;
  border-color: #dc2626;
  background: linear-gradient(180deg, #fff5f5 0%, #fee2e2 100%);
}
.vda-row-kirmizi .vda-mini-folder svg,
.vda-row-kirmizi .vda-mini-note svg {
  stroke: #b91c1c;
}
.vda-row-kirmizi .vda-mini-folder:hover,
.vda-row-kirmizi .vda-mini-note:hover {
  border-color: #b91c1c;
  color: #991b1b;
  background: linear-gradient(180deg, #fff1f2 0%, #fecaca 100%);
}
.vda-row-kirmizi .vda-mini-folder:hover svg,
.vda-row-kirmizi .vda-mini-note:hover svg {
  stroke: #991b1b;
}
.vda-footer-notes {
  flex-shrink: 0;
  padding: 4px 2px 0;
  font-size: 11px;
  line-height: 1.35;
  color: #b91c1c;
  font-weight: 600;
}
.vda-footer-notes p {
  margin: 0 0 4px;
}
.vda-footer-ikon {
  display: inline-block;
  font-size: 13px;
  vertical-align: middle;
}
.vda-secim-root .pace-ac-secim-status-txt {
  font-weight: 700;
}

.pac-yuk-bilgi-panel {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(30, 58, 95, 0.12);
}

/* === modals/lojistikYonetimi/IrsaliyeNoGirisModal.vue === */
.pace-irsaliye-giris-root {
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pace-irsaliye-giris-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 12px 12px;
  gap: 12px;
}
.pace-irsaliye-giris-fields {
  display: grid;
  grid-template-columns: minmax(100px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 10px 12px;
  align-items: end;
}
.pace-irsaliye-giris-lbl {
  display: block;
  font-size: var(--modal-label-font-size);
  font-weight: 600;
  color: #5a6a85;
  margin-bottom: 4px;
}
.pace-irsaliye-giris-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}

/* === modals/lojistikYonetimi/TasimaEkMasrafModal.vue === */
.pace-ek-masraf-root {
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pace-ek-masraf-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pace-ek-masraf-table-wrap {
  flex: 0 1 auto;
  max-height: 55%;
  min-height: 120px;
  overflow: auto;
}
.pace-ek-masraf-table th,
.pace-ek-masraf-table td {
  vertical-align: middle;
  white-space: nowrap;
}
.pace-ek-masraf-table th:nth-child(1),
.pace-ek-masraf-table td:nth-child(1) {
  min-width: 160px;
}
.pace-ek-masraf-table th:nth-child(2),
.pace-ek-masraf-table td:nth-child(2) {
  min-width: 120px;
}
.pace-ek-masraf-table th:nth-child(3),
.pace-ek-masraf-table td:nth-child(3) {
  min-width: 120px;
}
.pace-ek-masraf-table th:nth-child(4),
.pace-ek-masraf-table td:nth-child(4) {
  min-width: 140px;
}
.pace-ek-masraf-fi {
  width: 100%;
  min-width: 0;
}
.pace-ek-masraf-tutar {
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.03);
}
.pace-ek-masraf-filler {
  flex: 1;
  min-height: 72px;
  background: linear-gradient(180deg, #dfe3e8 0%, #e8eaee 40%, #eceef1 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.pac-belge-foot {
  height: 10px;
  flex-shrink: 0;
  margin-top: 2px;
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
}
.pac-yuk-wrap {
  padding: 0 10px 8px;
}
.pac-right-table .sv-lbl {
  width: 108px;
  max-width: 108px;
}
.pac-fat-cell {
  width: 128px;
  min-width: 128px;
  max-width: 128px;
  vertical-align: top;
  padding: 8px 8px 8px 10px !important;
  background: #f1f5f9;
  border-left: 1px solid #e2e8f0;
  border-radius: 0 6px 6px 0;
}
.pac-fat-title {
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0;
  color: #334155;
  line-height: 1.25;
}
.pac-fat-chk label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin: 0 0 6px;
  cursor: pointer;
}
.pac-fat-chk input[type='checkbox'] {
  width: 14px;
  height: 14px;
  accent-color: #3b82f6;
  flex-shrink: 0;
}
.pac-fat-fields {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
}
.pac-fat-fields .pac-fat-f-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}
.pac-fat-fields .pac-fat-f-row:last-child {
  margin-bottom: 0;
}
.pac-fat-fields .pac-mini-lbl {
  font-size: 11px;
}
.pac-footer-note {
  font-size: 11px;
  font-weight: 600;
  color: #dc2626;
  margin: 0;
  padding: 4px 2px 0;
  line-height: 1.4;
  flex-shrink: 0;
}
.pac-depo-wide {
  flex: 1;
  min-width: 0;
}
/* PlanlanmisAracCikisi — Çıkış Deposu: önceki tam genişliğin ~%50’si */
.rsp-fbar-group .pac-cikis-depo-select {
  flex: 0 1 50%;
  max-width: 43.6%;
  min-width: 0;
}
.pac-body > .pac-split {
  flex-shrink: 0;
}
/* Araç Yük Bilgisi: kırmızı uyarı + alt sipariş tablosu birlikte aç/kapa */
.pac-arac-yuk-collapse {
  flex: 1 1 200px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.pac-sevkiyat-bottom {
  flex: 1;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
/* PlanlanmisAracCikisi — alt sevkiyat grid: ct-table / cm-table ile aynı dil (Seçim ekranı vb.) */
.pac-sevkiyat-ct.ct-content {
  padding: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.pac-sevkiyat-table-scroll.kt-panel.cm-table-panel {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: block;
}
.pac-sevkiyat-table-scroll.kt-panel.cm-table-panel .pac-sevkiyat-detail-table {
  display: table;
  width: 100%;
  table-layout: fixed;
  font-size: var(--modal-input-font-size, 13px);
}
.pac-sevkiyat-detail-table .pac-sevkiyat-col-sel {
  width: 30px;
  padding-left: 4px;
  padding-right: 4px;
}
.pac-sevkiyat-detail-table tbody td {
  vertical-align: middle;
}
.pac-sevkiyat-detail-table .sv-fi {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.pac-sevkiyat-detail-table .sv-fi.td-num {
  text-align: center;
}
.pac-sevkiyat-arrow {
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pac-sevkiyat-detail-table tfoot tr {
  border-top: 2px solid #dde3ec;
}
.pac-sevkiyat-detail-table tfoot td {
  background: #f1f5f9;
  font-weight: 700;
  color: #1e293b;
  border-right: 1px solid #e2e8f0;
  vertical-align: middle;
}
.pac-sevkiyat-detail-table tfoot td:last-child {
  border-right: none;
}
.pac-sevkiyat-tfoot-lbl {
  text-align: right;
  padding-right: 10px !important;
}
.pac-sevkiyat-tfoot-num {
  font-variant-numeric: tabular-nums;
}
.pac-sevkiyat-teslim-lbl {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--modal-label-font-size, 12px);
  white-space: nowrap;
  margin: 0;
  cursor: pointer;
  color: #374151;
}
.pac-sevkiyat-chk {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  accent-color: #2563eb;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pac-sevkiyat-detail-table tfoot tr {
  border-top-color: #2a3a54;
  box-shadow: 0 -6px 14px rgba(0, 0, 0, 0.35);
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pac-sevkiyat-detail-table tfoot td {
  background: #162032 !important;
  color: #e2e8f0 !important;
  border-right-color: #243047 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pac-sevkiyat-detail-table .pac-sevkiyat-tfoot-num {
  color: #cbd5e1 !important;
}

/* === modals/lojistikYonetimi/SeferDisiYakit.vue === */

/* === modals/lojistikYonetimi/SehiriciToplamaDagitim.vue === */

/* === modals/lojistikYonetimi/SevkiyatGrubuRaporu.vue === */

/* === modals/lojistikYonetimi/SevkiyatGruplariTanimi.vue === */

.sg-content { padding: 0 10px 10px; }

.sg-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.sg-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.sg-table thead tr { background: linear-gradient(135deg, #1e3a5f, #1a325a); }
.sg-table thead th {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  letter-spacing: .4px;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.sg-table thead th:last-child { border-right: none; }

.sg-table tbody tr { border-bottom: 1px solid #f1f5f9; cursor: pointer; transition: background .1s; }
.sg-table tbody tr:hover  { background: #eff6ff; }
.sg-table tbody tr.active { background: #dbeafe; }
.sg-table tbody tr.is-new { background: #fefce8; }
.sg-table tbody tr:last-child { border-bottom: none; }

.sg-table td {
  padding: 4px 10px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
}
.sg-table td:last-child { border-right: none; }

.sg-input {
  width: 100%;
  height: var(--modal-input-height);
  border: 1px solid #3b82f6;
  border-radius: 3px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  padding: 0 5px;
  outline: none;
  box-sizing: border-box;
}

/* === modals/lojistikYonetimi/SevkiyatPlanlama.vue === */

/* === modals/lojistikYonetimi/SevkiyatRaporu.vue === */

/* === modals/lojistikYonetimi/SevkiyatRaporuSehirici.vue === */

/* === modals/lojistikYonetimi/SiparisGozlem.vue === */

/* === modals/lojistikYonetimi/SurucuBilgisiTanimlama.vue === */
.sv-root {
  background: #f0f4f8;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: var(--modal-root-font-size);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── Body ── */
.sv-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Panel ── */
.sv-panel {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #dde3ec;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.sv-panel--no-mb { margin-bottom: 0; }
.sv-panel--compact { margin-bottom: 0; }

.sv-panel-head {
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Kimlik grid: sol form + sağ fotoğraf ── */
.sv-kimlik-grid {
  display: grid;
  grid-template-columns: 1fr 140px;
  align-items: start;
}

/* ── Photo box ── */
.sv-photo-box {
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-left: 1px solid #f1f5f9;
}
.sv-photo-label {
  font-size: 11px;
  font-weight: 600;
  color: #5a6a85;
  align-self: flex-start;
}
.sv-photo-area {
  width: 110px;
  height: 130px;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sv-photo-img  { width: 100%; height: 100%; object-fit: cover; }
.sv-photo-placeholder { display: flex; align-items: center; justify-content: center; }
.sv-resim-btn {
  width: 110px;
  height: 24px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: 1px solid #dc2626;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all .15s;
}
.sv-resim-btn:hover { background: linear-gradient(135deg, #ef4444, #dc2626); }

/* ── Table ── */
.sv-table {
  width: 100%;
  padding: 3px 8px;
  border-collapse: collapse;
}
.sv-table tr { height: var(--modal-table-row-height); }

.sv-lbl {
  text-align: right;
  padding: 1px 7px 1px 3px;
  vertical-align: middle;
  white-space: nowrap;
  color: #5a6a85;
  font-size: var(--modal-label-font-size);
  font-weight: 500;
}

.sv-fi {
  height: var(--modal-input-height);
  font-size: var(--modal-input-font-size);
  font-family: inherit;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #f8fafc;
  padding: 1px 6px;
  color: #0f172a;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  box-sizing: border-box;
}
.sv-fi:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,.12);
  background: #fff;
}
.sv-fi:hover { border-color: #94a3b8; }

.sv-textarea {
  height: auto;
  resize: none;
  padding: 4px 6px;
  line-height: 1.5;
}

/* ── Triple inputs (Cilt/Sıra/Aile) ── */
.sv-triple {
  display: flex;
  gap: 8px;
  padding: 2px 0;
}
.sv-triple > div { flex: 1; }
.sv-sub-lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: #5a6a85;
  margin-bottom: 2px;
}

/* ── Ana iki kolon grid (Kimlik sol / geri kalan sağ) ── */
.sv-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-items: stretch;
}

/* ── Sağ yığın: Ehliyet + Alt grid + Maaş ── */
.sv-right-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Alt grid ── */
.sv-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-items: start;
}
.sv-left-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sv-left-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sv-right-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Maaş icon butonlar ── */
.sv-icon-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
  padding: 0;
}
.sv-icon-btn--blue  { background: #2563eb; color: #fff; }
.sv-icon-btn--blue:hover  { background: #1d4ed8; }
.sv-icon-btn--green { background: #059669; color: #fff; }
.sv-icon-btn--green:hover { background: #047857; }


/* === modals/firmaTanimlama/BolgeTanımlamaModal.vue === */
.bt-root { background:#f0f4f8; font-family:'Segoe UI',system-ui,sans-serif; font-size: var(--modal-root-font-size); }

.bt-content { padding:0 10px 10px; }
.bt-right-panel { background:#fff; border:1px solid #dde3ec; border-radius:7px; overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,.06); }

.bt-table { width:100%; border-collapse:collapse; font-size:14px; }
.bt-table thead tr { background:linear-gradient(135deg,#1e3a5f,#1a325a); }
.bt-table thead th { color:#fff; font-size:11px; font-weight:700; padding:6px 10px; text-align:center; letter-spacing:.4px; border-right:1px solid rgba(255,255,255,.1); white-space:nowrap; }
.bt-table thead th:last-child { border-right:none; }
.bt-table tbody tr { border-bottom:1px solid #f1f5f9; transition:background .1s; cursor:pointer; }
.bt-table tbody tr:hover { background:#eff6ff; }
.bt-table tbody tr.active { background:#dbeafe; }
.bt-table tbody tr.dirty { outline:2px solid #fbbf24; outline-offset:-2px; }
.bt-table tbody tr.is-new { background:#f0fdf4; }
.bt-table tbody tr:last-child { border-bottom:none; }
.bt-table td { padding:4px 10px; color:#1e293b; border-right:1px solid #f1f5f9; white-space:nowrap; }
.bt-table td:last-child { border-right:none; }

.td-arrow { width:24px; text-align:center; color:#3b82f6; }
.td-num { font-variant-numeric:tabular-nums; color:#374151; }
.td-code { text-align:center; font-weight:600; color:#1d4ed8; width:28px; }
.td-editable { cursor:text; }

/* Inline input */
.bt-inline-input--center { text-align:center; font-weight:600; color:#1d4ed8; }
.bt-inline-input--right  { text-align:right; }
.bt-inline-input--sm     { width:36px; }

/* Toolbar extras */
.bt-loading {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  color: #64748b;
}
.bt-spin {
  width: 14px;
  height: 14px;
  animation: bt-rotate 0.8s linear infinite;
}
@keyframes bt-rotate { to { transform: rotate(360deg); } }

.bt-hata {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #dc2626;
}

/* Disabled buton */

/* Skeleton */
.bt-skeleton-row td { padding: 6px 10px; }
.bt-skeleton {
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: bt-shimmer 1.2s infinite;
}
.bt-skeleton--sm { width: 30px; margin: 0 auto; }
.bt-skeleton--md { width: 80px; margin: 0 auto; }
@keyframes bt-shimmer { to { background-position: -200% 0; } }

/* === modals/firmaTanimlama/CariKartModal.vue === */
.cf-root {
  background: #f0f4f8;
  padding: 4px 6px 6px;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: var(--modal-root-font-size);
}

.cf-panel {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #dde3ec;
  overflow: hidden;
  margin-bottom: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.cf-panel-head {
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cf-table {
  width: 100%;
  padding: 3px 10px;
  border-collapse: collapse;
}

.cf-table tr {
  height: var(--modal-table-row-height);
}

.cf-divider {
  padding-top: 3px;
  border-top: 1px solid #eef0f4;
  font-size: 0;
}

.cf-lbl {
  text-align: right;
  padding: 1px 7px 1px 3px;
  vertical-align: middle;
  white-space: nowrap;
  color: #5a6a85;
  font-size: var(--modal-label-font-size);
  font-weight: 500;
}

.cf-fi {
  height: var(--modal-input-height);
  font-size: var(--modal-input-font-size);
  font-family: inherit;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #f8fafc;
  padding: 1px 6px;
  color: #0f172a;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  box-sizing: border-box;
}

.cf-fi:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, .12);
  background: #fff;
}

.cf-fi:hover {
  border-color: #94a3b8;
}

select.cf-fi {
  appearance: auto;
}

.cf-chk {
  width: 13px;
  height: 13px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.cf-check {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #5a6a85;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
}

.cf-check input {
  accent-color: #3b82f6;
}

.cf-footer-bar {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.cf-footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
  animation: cf-blink 1.8s infinite;
}

.cf-footer-text {
  font-size: 11px;
  color: #dc2626;
  font-weight: 500;
}

.cf-footer-text strong {
  color: #b91c1c;
}

@keyframes cf-blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .25
  }
}

/* ── Not Butonu ── */
.cf-not-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #93c5fd;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: all .15s;
  flex-shrink: 0;
  margin-left: 6px;
  transform: translate(15px, -12px);
}

.cf-not-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #60a5fa;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, .2);
}

.cf-btn-guncelle {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  border: 1px solid #1d4ed8;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .15s;
  box-shadow: 0 2px 6px rgba(29, 78, 216, .3);
}

.cf-btn-guncelle:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-1px);
}

.cf-btn-kaydet {
  background: linear-gradient(135deg, #059669, #047857);
  border: 1px solid #059669;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .15s;
  box-shadow: 0 2px 6px rgba(5, 150, 105, .3);
}

.cf-btn-kaydet:hover {
  background: linear-gradient(135deg, #10b981, #059669);
  transform: translateY(-1px);
}

/* === modals/firmaTanimlama/DosyaAcModal.vue === */
.file-list { display: flex; flex-direction: column; gap: 4px; }
.file-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 13px; color: #334155; transition: background .12s; }
.file-item:hover { background: #f1f5f9; }
.file-date { margin-left: auto; font-size: 11.5px; color: #94a3b8; }

/* === modals/firmaTanimlama/DovizTanımlama.vue === */

/* İçerik alanı */
.dv-content {
  padding: 8px 10px 4px;
  flex: 1;
  min-height: 0;
  display: flex;
}

.dv-panel {
  flex: 1;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  overflow-y: auto;
}

/* Tablo */
.dv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.dv-table thead tr {
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
  position: sticky;
  top: 0;
  z-index: 1;
}

.dv-table thead th {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 8px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .1);
  white-space: nowrap;
  letter-spacing: .3px;
}

.dv-table thead th:last-child { border-right: none; }

.th-arrow { width: 20px; }
.th-kod   { width: 80px; }
.th-ad    { min-width: 120px; }

.dv-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background .1s;
}

.dv-table tbody tr:hover  { background: #eff6ff; }
.dv-table tbody tr.active { background: #dbeafe; }
.dv-table tbody tr.is-new { background: #f0fdf4; }
.dv-table tbody tr:last-child { border-bottom: none; }

.dv-table td {
  padding: 4px 8px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
}

.dv-table td:last-child { border-right: none; }

.td-arrow {
  width: 20px;
  text-align: center;
  color: #1d4ed8;
  font-size: 10px;
  padding: 4px 2px;
}

.td-kod {
  text-align: center;
  font-weight: 600;
  color: #1d4ed8;
}

.td-name { text-align: center; }

/* Arama çubuğu */
.dv-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-bottom: 1px solid #dde3ec;
  background: #e9edf3;
}

.dv-search-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  min-width: 38px;
}

.dv-search-input {
  flex: 1;
  height: 22px;
  border: 1px solid #b0bec5;
  border-radius: 3px;
  padding: 0 6px;
  font-family: inherit;
  font-size: 12px;
  color: #1e293b;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.dv-search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, .2);
}

/* Inline input */
.dv-inline-input {
  height: 22px;
  border: 1px solid #93c5fd;
  border-radius: 3px;
  padding: 0 6px;
  font-family: inherit;
  font-size: 13px;
  background: #eff6ff;
  outline: none;
}

.dv-inline-input.wide {
  width: 100%;
  min-width: 140px;
}

/* === modals/firmaTanimlama/FirmaAciklamaModal.vue === */
.fa-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
}
.fa-dialog {
    width: 400px;
    background: #f0f4f8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.3);
    animation: fa-rise 0.25s ease;
}
@keyframes fa-rise {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}

/* ── Header ── */
.fa-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #16325a 60%, #0f2340 100%);
    padding: 7px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #3b82f6;
}
.fa-header-left { display: flex; align-items: center; gap: 8px; }
.fa-title { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .2px; }

.fa-win-btn {
    width: 26px; height: 24px;
    border-radius: 5px;
    border: 1px solid rgba(239,68,68,0.4);
    background: rgba(239,68,68,0.2);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .15s; color: #e2e8f0;
}
.fa-win-btn:hover { background: #ef4444; color: #fff; }

/* ── Body ── */
.fa-body {
    padding: 12px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fa-textarea {
    width: 100%;
    height: 140px;
    background: #1a7a6a;
    border: 1px solid #15967f;
    border-radius: 6px;
    color: #e0f7f3;
    font-size: 12.5px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    padding: 9px 11px;
    resize: vertical;
    box-sizing: border-box;
    outline: none;
    line-height: 1.6;
    transition: border-color .15s, box-shadow .15s;
}
.fa-textarea::placeholder { color: rgba(224,247,243,0.5); }
.fa-textarea:focus {
    border-color: #2dd4bf;
    box-shadow: 0 0 0 3px rgba(45,212,191,0.2);
}
.fa-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: #475569;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ── Footer ── */
.fa-footer {
    padding: 10px 14px 12px;
    background: #f0f4f8;
    border-top: 1px solid #dde3ec;
    display: flex;
    justify-content: flex-end;
}
.fa-btn-group { display: flex; gap: 8px; }

.fa-btn-ok {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    border: 1px solid #16a34a;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(22,163,74,.35);
    transition: all .15s;
}
.fa-btn-ok:hover { background: linear-gradient(135deg, #22c55e, #16a34a); transform: translateY(-1px); }

.fa-btn-cancel {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: 1px solid #dc2626;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(220,38,38,.35);
    transition: all .15s;
}
.fa-btn-cancel:hover { background: linear-gradient(135deg, #ef4444, #dc2626); transform: translateY(-1px); }

/* === modals/firmaTanimlama/FirmaDepolariModal.vue === */
.fd-root {
    background: #f0f4f8;
    padding-bottom: 8px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: var(--modal-root-font-size);
}

.fd-toolbar {
    background: #e8edf3;
    border-bottom: 1px solid #d0d8e4;
    padding: 5px 10px;
    display: flex;
    gap: 4px;
}

.fd-adres-bar {
    background: #fff;
    border-bottom: 1px solid #dde3ec;
    padding: 6px 12px;
    display: flex;
    gap: 6px;
}

.fd-form-box {
    background: #fff;
    margin: 6px 8px 0;
    border-radius: 7px;
    border: 1px solid #dde3ec;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.section-title {
    background: linear-gradient(135deg, #1e3a5f, #1a325a);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    letter-spacing: .6px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 7px;
}

.form-table {
    width: 100%;
    padding: 4px 8px 6px;
    border-collapse: collapse;
}

.form-table tr {
    height: 23px;
}

.form-table td {
    padding: 1px 3px;
    vertical-align: middle;
    white-space: nowrap;
}

.lbl {
    text-align: right;
    padding-right: 8px !important;
    color: #5a6a85;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    width: 109px;
}

.fi {
    height: 24px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid #c8d0dc;
    border-radius: 4px;
    background: #f8fafc;
    padding: 1px 6px;
    color: #0f172a;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
    box-sizing: border-box;
}

.fi:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, .12);
    background: #fff;
}

.fi:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    border-color: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.6;
}

.fi:hover {
    border-color: #94a3b8;
}

.sonuc-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #3b82f6;
    border-top: none;
    border-radius: 0 0 7px 7px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    z-index: 9999;
    max-height: 180px;
    overflow-y: auto;
}

.sonuc-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1e293b;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background .1s;
}

.sonuc-item:hover {
    background: #eff6ff;
}

.sonuc-item:last-child {
    border-bottom: none;
}

.footer-bar {
    margin: 6px 8px 0;
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 7px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

.footer-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    animation: blink 1.8s infinite;
    flex-shrink: 0;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .25
    }
}

.footer-text {
    font-size: 11px;
    color: #dc2626;
    font-weight: 500;
}

/* === modals/firmaTanimlama/FirmaListesiModal.vue === */

/* === modals/firmaTanimlama/FirmaSecimEkrani.vue === */
.ca-root { background:#f0f4f8; font-family:'Segoe UI',system-ui,sans-serif; font-size: var(--modal-root-font-size); }

/* TABLE AREA */
.ca-table-area { margin:10px 10px 6px; background:#fff; border:1px solid #dde3ec; border-radius:7px; overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,.06); }

.ca-header-table { width:100%; border-collapse:collapse; font-size:12px; table-layout:fixed; }
.ca-header-table thead tr { background:linear-gradient(135deg,#1e3a5f,#1a325a); }
.ca-header-table thead th { color:#fff; font-size:11px; font-weight:700; padding:6px 10px; text-align:left; letter-spacing:.4px; border-right:1px solid rgba(255,255,255,.1); white-space:nowrap; }
.ca-header-table thead th:last-child { border-right:none; }

.ca-input-row td { padding:3px 4px; border-bottom:2px solid #dde3ec; background:#f8fafc; }

.ca-fi { width:100%; height: var(--modal-input-height); background:#fff; border:1px solid #c8d0dc; border-radius:5px; padding:1px 7px; font-size:12px; font-family:inherit; color:#0f172a; transition:border-color .15s,box-shadow .15s; }
.ca-fi:focus { outline:none; border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,.12); }

.ca-scroll-wrap { max-height:280px; min-height:280px; overflow-y:auto; overflow-x:hidden; }
.ca-scroll-wrap::-webkit-scrollbar { width:7px; }
.ca-scroll-wrap::-webkit-scrollbar-track { background:#f1f5f9; }
.ca-scroll-wrap::-webkit-scrollbar-thumb { background:#94a3b8; border-radius:4px; }
.ca-scroll-wrap::-webkit-scrollbar-thumb:hover { background:#3b82f6; }

.ca-scroll-table { width:100%; border-collapse:collapse; font-size:14px; table-layout:fixed; }
.ca-scroll-table tbody tr { border-bottom:1px solid #f1f5f9; cursor:pointer; transition:background .1s; }
.ca-scroll-table tbody tr:hover { background:#eff6ff; }
.ca-scroll-table tbody tr.active { background:#dbeafe; }
.ca-scroll-table tbody td { padding:5px 10px; color:#1e293b; border-right:1px solid #f1f5f9; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:14px;}
.ca-scroll-table tbody td:last-child { border-right:none; }

/* BOTTOM BAR */
.ca-bottom-bar { margin:0 10px 10px; padding:8px 10px; background:#fff; border:1px solid #dde3ec; border-radius:7px; display:flex; align-items:center; justify-content:space-between; box-shadow:0 1px 4px rgba(0,0,0,.04); }
.ca-action-group { display:flex; gap:6px; align-items:center; }

.ca-btn-liste { background:linear-gradient(135deg,#1d4ed8,#1e40af); border:1px solid #1d4ed8; color:#fff; font-family:inherit; font-size:12px; font-weight:600; padding:5px 14px; border-radius:6px; cursor:pointer; display:inline-flex; align-items:center; gap:5px; transition:all .15s; box-shadow:0 2px 6px rgba(29,78,216,.3); }
.ca-btn-liste:hover { background:linear-gradient(135deg,#2563eb,#1d4ed8); transform:translateY(-1px); }

.ca-btn-ok { width:36px; height:32px; background:linear-gradient(135deg,#16a34a,#15803d); border:1px solid #16a34a; border-radius:6px; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 2px 6px rgba(22,163,74,.3); transition:all .15s; }
.ca-btn-ok:hover { background:linear-gradient(135deg,#22c55e,#16a34a); transform:translateY(-1px); }

/* === modals/firmaTanimlama/FirmaUrunTanimlama.vue === */

.st-content {
  display: flex;
  gap: 8px;
  padding: 8px 10px 10px;
  flex: 1;
  min-height: 0;
}

.st-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  min-width: 0;
  min-height: 450px;
  max-height: 65vh;
}

.st-panel-title {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 8px;
  letter-spacing: .3px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.st-panel-title--primary {
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
  color: #fff;
}

.st-panel-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.st-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.st-table thead tr {
  background: #eef2f7;
  position: sticky;
  top: 0;
  z-index: 1;
}

.st-table thead th {
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px;
  text-align: center;
  border-bottom: 1px solid #dde3ec;
  border-right: 1px solid #dde3ec;
  white-space: nowrap;
}

.st-table thead th:last-child { border-right: none; }
.th-arrow { width: 18px; }

.st-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background .1s;
}

.st-table tbody tr:hover  { background: #eff6ff; }
.st-table tbody tr.active { background: #dbeafe; }
.st-table tbody tr.is-new { background: #f0fdf4; }
.st-table tbody tr:last-child { border-bottom: none; }

.st-table td {
  padding: 4px 8px;
  color: #1e293b;
  white-space: nowrap;
  border-right: 1px solid #f1f5f9;
}

.st-table td:last-child {
  border-right: none;
  white-space: normal;
}

.td-arrow {
  width: 18px;
  text-align: center;
  color: #1d4ed8;
  font-size: 10px;
  padding: 4px 2px;
}

.inline-input {
  height: var(--modal-input-height);
  border: 1px solid #93c5fd;
  border-radius: 3px;
  padding: 0 6px;
  font-family: inherit;
  font-size: 13px;
  background: #eff6ff;
  outline: none;
}

.inline-input.wide {
  width: 100%;
  min-width: 180px;
}

/* === modals/firmaTanimlama/MusteriTipiTanimlama.vue === */

/* === modals/firmaTanimlama/SektorFirmaListModal.vue === */

/* === modals/firmaTanimlama/SektorTanımlamaModal.vue === */

.fd-toolbar-container {
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e9edf3;
  border-bottom: 1px solid #d0d8e4;
}

.st-gozlem-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 14px;
  border: 1px solid #b0bec5;
  border-radius: 4px;
  background: #f5f7fa;
  color: #37474f;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.st-gozlem-btn:hover { background: #e3eaf2; border-color: #90a4ae; }

/* 3-panel layout */

.st-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  min-width: 0;
  min-height: 450px;
  max-height: 65vh;
  cursor: default;
}

.st-panel-title {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 8px;
  letter-spacing: .3px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.st-panel-title--primary   { background: linear-gradient(135deg,#1e3a5f,#1a325a); color:#fff; }
.st-panel-title--secondary { background: #d8dfe8; color:#3d4f61; transition: background .2s, color .2s; }

.st-panel:hover .st-panel-title--secondary,
.st-panel--active .st-panel-title--secondary {
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
  color: #fff;
}

.st-table { width:100%; border-collapse:collapse; font-size:14px; }
.st-table thead tr { background:#eef2f7; position:sticky; top:0; z-index:1; }
.st-table thead th { color:#374151; font-size:14px; font-weight:700; padding:4px 8px; text-align:center; border-bottom:1px solid #dde3ec; border-right:1px solid #dde3ec; white-space:nowrap; }
.st-table thead th:last-child { border-right:none; }
.th-arrow { width:18px; }

.st-table tbody tr { border-bottom:1px solid #f1f5f9; cursor:pointer; transition:background .1s; }
.st-table tbody tr:hover  { background:#eff6ff; }
.st-table tbody tr.active { background:#dbeafe; }
.st-table tbody tr.dirty  { outline:2px solid #fbbf24; outline-offset:-2px; }
.st-table tbody tr.is-new { background:#f0fdf4; }
.st-table tbody tr:last-child { border-bottom:none; }

.st-table td { padding:4px 8px; color:#1e293b; white-space:nowrap; border-right:1px solid #f1f5f9; }
.st-table td:last-child { border-right:none; }
.td-arrow { width:18px; text-align:center; color:#1d4ed8; font-size:10px; padding:4px 2px; max-width:18px; }

/* Inline input */
.st-inline-input {
  width: 100%;
  height: 20px;
  border: 1.5px solid #3b82f6;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 13px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59,130,246,.15);
  box-sizing: border-box;
}

/* Toolbar extras */
.st-loading { display:inline-flex; align-items:center; margin-left:6px; color:#64748b; }
.st-spin { width:14px; height:14px; animation:st-rotate .8s linear infinite; }
@keyframes st-rotate { to { transform:rotate(360deg); } }
.st-hata { margin-left:8px; font-size:11px; font-weight:600; color:#dc2626; }

button:disabled .icon-pill { opacity:0.4; }

/* Skeleton */
.st-skeleton-row { padding:6px 10px; }
.st-skeleton { height:13px; border-radius:4px; margin:4px 10px; background:linear-gradient(90deg,#e2e8f0 25%,#f1f5f9 50%,#e2e8f0 75%); background-size:200% 100%; animation:st-shimmer 1.2s infinite; }
@keyframes st-shimmer { to { background-position:-200% 0; } }

/* === modals/firmaTanimlama/SubeSevkYerleri.vue === */

/* TABLE AREA */
.ca-scroll-table tbody td { padding:5px 10px; color:#1e293b; border-right:1px solid #f1f5f9; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:14px; }

/* BOTTOM BAR */

/* === modals/firmaTanimlama/UetdsModal.vue === */

/* ── Toolbar ── */

/* ── Arama çubuğu ── */
.ue-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-bottom: 1px solid #dde3ec;
  background: #e9edf3;
}

.ue-search-label {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  min-width: 38px;
}

.ue-search-input {
  flex: 1;
  height: 22px;
  border: 1px solid #b0bec5;
  border-radius: 3px;
  padding: 0 6px;
  font-family: inherit;
  font-size: 12px;
  color: #1e293b;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.ue-search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, .2);
}

/* ── İçerik ── */
.ue-content {
  padding: 8px 10px 4px;
  flex: 1;
  min-height: 0;
  display: flex;
}

.ue-panel {
  flex: 1;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  overflow-y: auto;
}

/* ── Tablo ── */
.ue-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ue-table thead tr {
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
  position: sticky;
  top: 0;
  z-index: 1;
}

.ue-table thead th {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 8px;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
  letter-spacing: .3px;
}

.ue-table thead th:last-child { border-right: none; }

.th-arrow { width: 20px; text-align: center; }
.th-ad    { width: 140px; }

.ue-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background .1s;
}

.ue-table tbody tr:hover  { background: #eff6ff; }
.ue-table tbody tr.active { background: #dbeafe; }
.ue-table tbody tr.is-new { background: #f0fdf4; }
.ue-table tbody tr:last-child { border-bottom: none; }

.ue-table td {
  padding: 5px 8px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
  vertical-align: top;
}

.ue-table td:last-child { border-right: none; }

.td-arrow {
  width: 20px;
  text-align: center;
  color: #1d4ed8;
  font-size: 10px;
  padding: 5px 2px;
}

.td-name {
  font-weight: 600;
  color: #1e3a5f;
  white-space: nowrap;
}

.td-detay {
  color: #374151;
  line-height: 1.4;
}

/* Inline input */
.ue-inline-input {
  height: 22px;
  border: 1px solid #93c5fd;
  border-radius: 3px;
  padding: 0 6px;
  font-family: inherit;
  font-size: 13px;
  background: #eff6ff;
  outline: none;
}

.ue-inline-input.wide {
  width: 100%;
  min-width: 200px;
}

/* === modals/firmaTanimlama/UlkeSehirIlceTanımlama.vue === */

.st-content {
  display: flex; gap: 6px; padding: 8px 10px 10px;
  flex: 1; min-height: 0; overflow-x: auto;
}

.st-panel {
  flex: 1; min-width: 120px; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #dde3ec; border-radius: 6px;
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06);
  min-height: 450px;
  max-height: 65vh;
}

.st-panel-title {
  text-align: center; font-size: 11.5px; font-weight: 700;
  padding: 5px 8px; letter-spacing: .3px; white-space: nowrap;
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: background .15s, color .15s;
}
.st-panel-title--secondary { background: #d8dfe8; color: #3d4f61; }
.st-panel-title--active    { background: linear-gradient(135deg,#1e3a5f,#1a325a); color: #fff; }

.st-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.st-table thead th {
  color: #374151; font-size: 11px; font-weight: 700; padding: 4px 6px;
  text-align: left; border-bottom: 1px solid #dde3ec;
  border-right: 1px solid #dde3ec; white-space: nowrap;
}
.th-arrow  { width: 16px; }
.th-center { text-align: center; }
.st-table tbody tr.dirty  { outline: 2px solid #fbbf24; outline-offset: -2px; }

.st-table td {
  padding: 3px 6px; color: #1e293b; white-space: nowrap;
  border-right: 1px solid #f1f5f9;
}
.st-table td:last-child { border-right: none; }
.td-arrow  { width: 16px; text-align: center; color: #1d4ed8; font-size: 10px; padding: 3px 2px; max-width: 16px; }
.td-center { text-align: center; }

.st-inline-input {
  width: 100%; height: 20px; border: 1.5px solid #3b82f6; border-radius: 3px;
  padding: 1px 4px; font-size: 12px; font-family: inherit; color: #0f172a;
  background: #fff; outline: none; box-shadow: 0 0 0 2px rgba(59,130,246,.15);
  box-sizing: border-box;
}

.st-chk { cursor: pointer; width: 13px; height: 13px; accent-color: #1d4ed8; }

.st-loading { display: inline-flex; align-items: center; margin-left: 6px; color: #64748b; }
.st-spin { width: 14px; height: 14px; animation: st-rotate .8s linear infinite; }
@keyframes st-rotate { to { transform: rotate(360deg); } }
.st-hata { margin-left: 8px; font-size: 11px; font-weight: 600; color: #dc2626; }

.st-skeleton-row { padding: 5px 8px; }
.st-skeleton {
  height: 12px; border-radius: 4px; margin: 3px 6px;
  background: linear-gradient(90deg,#e2e8f0 25%,#f1f5f9 50%,#e2e8f0 75%);
  background-size: 200% 100%; animation: st-shimmer 1.2s infinite;
}
@keyframes st-shimmer { to { background-position: -200% 0; } }

/* === modals/firmaTanimlama/UnvanTanimlama.vue === */

/* === modals/firmaTanimlama/VadeFaizTanımlama.vue === */

.vf-content {
  padding: 8px 10px 10px;
  flex: 1;
  min-height: 0;
  display: flex;
}

.vf-panel {
  flex: 1;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

/* Tablo */
.vf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.vf-table thead tr {
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
  position: sticky;
  top: 0;
  z-index: 1;
}

.vf-table thead th {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 8px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .1);
  white-space: nowrap;
  letter-spacing: .3px;
}

.vf-table thead th:last-child {
  border-right: none;
}
.th-vade  { width: 90px; }
.th-faiz  { min-width: 90px; }

.vf-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background .1s;
}

.vf-table tbody tr:hover  { background: #eff6ff; }
.vf-table tbody tr.active { background: #dbeafe; }
.vf-table tbody tr.is-new { background: #f0fdf4; }
.vf-table tbody tr:last-child { border-bottom: none; }

.vf-table td {
  padding: 4px 8px;
  color: #1e293b;
  border-right: 1px solid #f1f5f9;
}

.vf-table td:last-child { border-right: none; }

.td-vade {
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.td-faiz {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #374151;
}

/* Inline input */
.vf-input {
  width: 100%;
  border: 1px solid #93c5fd;
  border-radius: 3px;
  padding: 1px 4px;
  font-family: inherit;
  font-size: var(--modal-input-font-size);
  color: #1e293b;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

.vf-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, .2);
}

.vf-input--right {
  text-align: right;
}

/* Sayı input okları gizle */
.vf-input[type=number]::-webkit-inner-spin-button,
.vf-input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.vf-input[type=number] { -moz-appearance: textfield; appearance: textfield; }

/* === modals/firmaTanimlama/VergiDaireModal.vue === */

.vd-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-bottom: 1px solid #dde3ec;
  background: #e9edf3;
}

.vd-search-label {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  min-width: 38px;
}

.vd-search-input {
  flex: 1;
  height: 22px;
  border: 1px solid #b0bec5;
  border-radius: 3px;
  padding: 0 6px;
  font-family: inherit;
  font-size: 12px;
  color: #1e293b;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.vd-search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, .2);
}

.st-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  min-width: 0;
  min-height: 450px;
  max-height: 65vh;
}

.st-panel--wide { flex: 2; }
.th-kod   { width: 60px; text-align: center; }
.td-kod { text-align: center; color: #374151; font-weight: 600; }

/* Inline input */
.st-inline-input {
  width: 100%;
  height: 22px;
  border: 1.5px solid #3b82f6;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 13px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59,130,246,.15);
  box-sizing: border-box;
}
.st-inline-input--center { text-align: center; font-weight: 600; color: #1d4ed8; }

/* Toolbar extras */
.win-controls { display: flex; align-items: center; gap: 5px; }
.win-btn {
    width: 26px; height: 22px;
    border-radius: 5px;
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all .15s;
}
.win-btn svg { width: 10px; height: 10px; }
.win-btn-min   { background: rgba(251,191,36,.2); border: 1px solid rgba(251,191,36,.45); color: #fde68a; }
.win-btn-min:hover   { background: #fbbf24; color: #1e293b; }
.win-btn-close { background: rgba(239,68,68,.2); border: 1px solid rgba(239,68,68,.45); color: #fca5a5; }
.win-btn-close:hover { background: #ef4444; color: #fff; }

/* === modals/firmaTanimlama/GunlukDovizKurRaporu.vue === */

/* ── Filtre Çubuğu ── */
.gdr-fbar {
  background: #f4f6f9;
  border-bottom: 2px solid #d0d8e4;
  padding: 7px 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.gdr-fbar-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.gdr-fbar-row--alt {
  border-top: 1px dashed #d0d8e4;
  padding-top: 5px;
}

.gdr-fbar-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gdr-fbar-group--wide { min-width: 180px; }

.gdr-fbar-group--inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.gdr-fbar-lbl {
  font-size: 14px;
  font-weight: 600;
  color: #5a6a85;
  white-space: nowrap;
}

.gdr-fbar-group--inline .gdr-fbar-lbl {
  font-size: 14px;
  color: #374151;
  border-right: 1px solid #d0d8e4;
  padding-right: 8px;
  margin-right: 2px;
}

.gdr-fbar-input,
.gdr-fbar-select {
  height: 28px;
  font-size: 12px;
  font-family: inherit;
  border: 1px solid #c8d0dc;
  border-radius: 5px;
  background: #fff;
  padding: 0 8px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}

.gdr-fbar-select { cursor: pointer; min-width: 130px; }

.gdr-fbar-input:focus,
.gdr-fbar-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,.12);
}

/* ── FİLTRELE / TEMİZLE butonları ── */
.gdr-fbar-btns {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.gdr-btn-filtrele,
.gdr-btn-temizle {
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border: none;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: .3px;
  transition: filter .15s;
}

.gdr-btn-filtrele { background: #d97706; color: #fff; }
.gdr-btn-temizle  { background: #dc2626; color: #fff; }
.gdr-btn-filtrele:hover { filter: brightness(1.1); }
.gdr-btn-temizle:hover  { filter: brightness(1.1); }
.gdr-btn-filtrele svg,
.gdr-btn-temizle svg    { width: 13px; height: 13px; stroke: #fff; flex-shrink: 0; }

.gdr-filtre-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.gdr-fieldset {
  border: 1px solid #9ab0cc;
  border-radius: 3px;
  padding: 4px 8px 6px;
  background: #e8eef6;
  font-size: 11.5px;
  flex: 1;
}

.gdr-fieldset legend {
  font-size: 11px;
  font-weight: 700;
  color: #1e3a5f;
  padding: 0 4px;
}

.gdr-ortam-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gdr-printer-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b0c4de;
  border-radius: 3px;
  background: #d8e4f0;
  cursor: pointer;
  color: #2a5298;
  flex-shrink: 0;
  transition: background .15s;
}
.gdr-printer-icon:hover { background: #c5d8ee; }
.gdr-printer-icon.gdr-printer-active { background: #b8d0ea; border-color: #2a5298; }
.gdr-printer-icon svg { width: 22px; height: 22px; }

.gdr-ortam-radios {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gdr-radio-lbl {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.gdr-disabled {
  color: #a0a8b8;
  cursor: default;
}

.gdr-secim-fieldset {
  margin: 0;
}

.gdr-secim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  padding: 2px 0;
}

.gdr-secim-grid.cf-lbl{
  text-align: left;
}

/* ── Hint ── */
.gdr-yazici-hint {
  font-size: 10.5px;
  color: #607090;
  font-style: italic;
  line-height: 1.5;
  padding: 4px 6px;
  border: 1px solid #d0d8e4;
  border-radius: 3px;
  background: #eaf0f8;
  align-self: flex-start;
  white-space: nowrap;
}

/* ── Form Tablosu ── */
.gdr-form-table {
  width: 100%;
  border-collapse: collapse;
  padding: 4px 10px;
}

.gdr-form-table tr { height: 26px; }
.gdr-form-table td { padding: 2px 4px; vertical-align: middle; }

.gdr-lbl {
  text-align: right;
  padding-right: 8px !important;
  font-size: 11.5px;
  font-weight: 600;
  color: #3a4a62;
  white-space: nowrap;
  width: 115px;
}

.gdr-date-input,
.gdr-text-input,
.gdr-select-input {
  height: 22px;
  font-size: 11.5px;
  font-family: inherit;
  border: 1px solid #9ab0cc;
  border-radius: 3px;
  background: #fff;
  padding: 1px 5px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  width: 177px;
}

.gdr-select-input { cursor: pointer; padding: 0 4px; }

.gdr-date-input:focus,
.gdr-text-input:focus,
.gdr-select-input:focus {
  border-color: #2a5298;
  box-shadow: 0 0 0 2px rgba(42,82,152,.12);
}

/* ── Footer ── */
.gdr-dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 6px 10px 8px;
  border-top: 1px solid #d0d8e4;
}

.gdr-btn-ok,
.gdr-btn-cancel {
  width: 32px;
  height: 28px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter .15s;
}
.gdr-btn-ok    { background: #3a8f3a; }
.gdr-btn-cancel { background: #c0392b; }
.gdr-btn-ok:hover    { filter: brightness(1.15); }
.gdr-btn-cancel:hover { filter: brightness(1.15); }
.gdr-btn-ok svg,
.gdr-btn-cancel svg  { width: 16px; height: 16px; stroke: #fff; }

/* ── Rapor Wrap ── */
.gdr-rapor-wrap {
  flex: 1;
  min-width: 0;
  overflow: auto;
  background: linear-gradient(160deg, #eef2f7 0%, #e4eaf3 100%);
  padding: 20px;
}

.gdr-rapor-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(30,58,95,.12), 0 1px 4px rgba(0,0,0,.06);
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 13px;
}
.gdr-rapor-card .gdr-rapor-banner { border-radius: 10px 10px 0 0; }

/* ── Banner ── */
.gdr-rapor-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #2a5298 100%);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: -20px;
  z-index: 4;
}

.gdr-rapor-banner-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
}

.gdr-rapor-banner-title svg { width: 18px; height: 18px; opacity: .85; }

.gdr-rapor-banner-meta {
  display: flex;
  gap: 16px;
  color: rgba(255,255,255,.75);
  font-size: 11.5px;
}

/* ── Bilgi Kartları ── */
.gdr-rapor-info-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e8eef6;
  background: #f8fafd;
  position: sticky;
  top: 25px;
  z-index: 3;
}

.gdr-rapor-info-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  border-right: 1px solid #e8eef6;
}

.gdr-rapor-info-card:last-child { border-right: none; }

.gdr-ric-lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: #8096b4;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.gdr-ric-val {
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
}

/* ── Tablo ── */
.gdr-rapor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.gdr-rapor-table thead tr {
  background: linear-gradient(135deg, #1e3a5f, #1a325a);
  position: sticky;
  top: 83px;
  z-index: 2;
}

.gdr-rapor-table th {
  text-align: center;
  padding: 9px 12px;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.1);
}

.gdr-rapor-table th:last-child { border-right: none; }

.gdr-rapor-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background .1s;
}

.gdr-rapor-table tbody tr:hover       { background: #eff6ff; }
.gdr-rapor-table tbody tr:nth-child(even) { background: #f8fafc; }
.gdr-rapor-table tbody tr:nth-child(even):hover { background: #eff6ff; }

.gdr-rapor-table td {
  padding: 6px 12px;
  color: #334155;
  text-align: center;
}

.gdr-td-tarih {
  color: #1d4ed8;
  font-weight: 600;
  white-space: nowrap;
}

.gdr-td-sayi {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #374151;
}

.gdr-td-yuzde {
  text-align: right;
  font-weight: 700;
  color: #059669;
}

.gdr-td-empty {
  text-align: center;
  padding: 40px 0;
  color: #94a3b8;
  font-size: 13px;
  font-style: italic;
}

/* ── Dark mode ── */
[data-bs-theme="dark"] .gdr-fbar { background: #151e2e; border-color: #2a3a54; }
[data-bs-theme="dark"] .gdr-fbar-row--alt { border-color: #2a3a54; }
[data-bs-theme="dark"] .gdr-fbar-lbl { color: #90a8cc; }
[data-bs-theme="dark"] .gdr-fbar-input,
[data-bs-theme="dark"] .gdr-fbar-select { background: #1a2436; border-color: #3a5080; color: #e0eaf8; }
[data-bs-theme="dark"] .gdr-fieldset { background: #252f42; border-color: #3a5080; }
[data-bs-theme="dark"] .gdr-fieldset legend { color: #90b4e8; }
[data-bs-theme="dark"] .gdr-yazici-hint { background: #1a2436; color: #8090a8; }
[data-bs-theme="dark"] .gdr-lbl { color: #90a8cc; }
[data-bs-theme="dark"] .gdr-date-input,
[data-bs-theme="dark"] .gdr-text-input,
[data-bs-theme="dark"] .gdr-select-input { background: #1a2436; border-color: #3a5080; color: #e0eaf8; }
[data-bs-theme="dark"] .gdr-radio-lbl { color: #c8d8f0; }
[data-bs-theme="dark"] .gdr-rapor-wrap { background: linear-gradient(160deg, #0f1824 0%, #111e2e 100%); }
[data-bs-theme="dark"] .gdr-rapor-card { background: #1a2436; box-shadow: 0 4px 20px rgba(0,0,0,.4); }
[data-bs-theme="dark"] .gdr-rapor-info-row { background: #151e2e; border-color: #2a3a54; }
[data-bs-theme="dark"] .gdr-rapor-info-card { border-color: #2a3a54; }
[data-bs-theme="dark"] .gdr-ric-lbl { color: #5a7a9a; }
[data-bs-theme="dark"] .gdr-ric-val { color: #90b4e8; }
[data-bs-theme="dark"] .gdr-rapor-table tbody tr { border-color: #222e42; }
[data-bs-theme="dark"] .gdr-rapor-table tbody tr:nth-child(even) { background: #1e2a3e; }
[data-bs-theme="dark"] .gdr-rapor-table tbody tr:hover { background: #1e3050; }
[data-bs-theme="dark"] .gdr-rapor-table td { color: #c8d8f0; }
[data-bs-theme="dark"] .gdr-td-tarih { color: #60a5fa; }
[data-bs-theme="dark"] .gdr-td-sayi { color: #cbd5e1; }
[data-bs-theme="dark"] .gdr-td-yuzde { color: #34d399; }

/* Rapor modalları (ör. Aylık/Günlük Döviz Kur): açık uygulama temasında bile koyu rapor görünümü */
.m-root.m-root--report-dark {
  background: #1a202c !important;
  color: #e2e8f0;
  color-scheme: dark;
}

.m-root.m-root--report-dark .fd-toolbar {
  background: #2c5282 !important;
  border-bottom: 2px solid #00bfff !important;
  box-shadow: inset 0 -1px 0 rgba(0, 191, 255, 0.25);
}

.m-root.m-root--report-dark .gdr-fbar { background: #151e2e; border-color: #2a3a54; }
.m-root.m-root--report-dark .gdr-fbar-row--alt { border-color: #2a3a54; }
.m-root.m-root--report-dark .gdr-fbar-lbl { color: #90a8cc; }
.m-root.m-root--report-dark .gdr-fbar-input,
.m-root.m-root--report-dark .gdr-fbar-select {
  background: #0d1117;
  border-color: #30363d;
  color: #f1f5f9;
}
.m-root.m-root--report-dark .gdr-fieldset { background: #252f42; border-color: #3a5080; }
.m-root.m-root--report-dark .gdr-fieldset legend { color: #90b4e8; }
.m-root.m-root--report-dark .gdr-yazici-hint { background: #1a2436; color: #8090a8; }
.m-root.m-root--report-dark .gdr-lbl { color: #90a8cc; }
.m-root.m-root--report-dark .gdr-date-input,
.m-root.m-root--report-dark .gdr-text-input,
.m-root.m-root--report-dark .gdr-select-input { background: #0d1117; border-color: #30363d; color: #e0eaf8; }
.m-root.m-root--report-dark .gdr-radio-lbl { color: #c8d8f0; }
.m-root.m-root--report-dark .gdr-rapor-wrap { background: linear-gradient(160deg, #0f1824 0%, #111e2e 100%); }
.m-root.m-root--report-dark .gdr-rapor-card { background: #1a2436; box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.m-root.m-root--report-dark .gdr-rapor-info-row { background: #151e2e; border-color: #2a3a54; }
.m-root.m-root--report-dark .gdr-rapor-info-card { border-color: #2a3a54; }
.m-root.m-root--report-dark .gdr-ric-lbl { color: #5a7a9a; }
.m-root.m-root--report-dark .gdr-ric-val { color: #90b4e8; }
.m-root.m-root--report-dark .gdr-rapor-table thead tr {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%);
}
.m-root.m-root--report-dark .gdr-rapor-table tbody tr { border-color: #222e42; }
.m-root.m-root--report-dark .gdr-rapor-table tbody tr:nth-child(even) { background: #1e2a3e; }
.m-root.m-root--report-dark .gdr-rapor-table tbody tr:hover { background: #1e3050; }
.m-root.m-root--report-dark .gdr-rapor-table td { color: #c8d8f0; }
.m-root.m-root--report-dark .gdr-td-empty { color: #94a3b8; }
.m-root.m-root--report-dark .gdr-td-tarih { color: #60a5fa; }
.m-root.m-root--report-dark .gdr-td-sayi { color: #cbd5e1; }
.m-root.m-root--report-dark .gdr-td-yuzde { color: #34d399; }

/* Ülke/Şehir vb. çok sütunlu paneller — firma rapor modalları ile aynı koyu tema */
.m-root.m-root--report-dark .fd-toolbar-container {
  background: #111820;
  border-bottom: 1px solid #2a3a54;
}

.m-root.m-root--report-dark .st-content {
  background: #0f1724;
}

.m-root.m-root--report-dark .st-panel {
  background: #162032;
  border-color: #2a3a54;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.m-root.m-root--report-dark .st-panel-title {
  border-bottom-color: #2a3a54;
}

.m-root.m-root--report-dark .st-panel-title--secondary {
  background: #1e293b;
  color: #94a3b8;
}

.m-root.m-root--report-dark .st-panel-title--active {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%);
  color: #fff;
}

.m-root.m-root--report-dark .st-table thead tr {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%);
}

.m-root.m-root--report-dark .st-table thead th {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  border-right-color: rgba(255, 255, 255, 0.1);
}

.m-root.m-root--report-dark .st-table tbody tr {
  border-bottom-color: #243047;
}

.m-root.m-root--report-dark .st-table tbody tr:nth-child(even) {
  background: #1e2a3e;
}

.m-root.m-root--report-dark .st-table tbody tr:hover {
  background: #1e3050;
}

.m-root.m-root--report-dark .st-table tbody tr.active {
  background: rgba(44, 82, 130, 0.55);
}

.m-root.m-root--report-dark .st-table tbody tr.is-new {
  background: rgba(16, 185, 129, 0.14);
}

.m-root.m-root--report-dark .st-table tbody tr.dirty {
  outline-color: #fbbf24;
}

.m-root.m-root--report-dark .st-table td {
  color: #e2e8f0;
  border-right-color: #243047;
}

.m-root.m-root--report-dark .td-arrow {
  color: #60a5fa;
}

.m-root.m-root--report-dark .st-inline-input {
  background: #0d1117;
  border-color: #3b82f6;
  color: #f1f5f9;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.m-root.m-root--report-dark .st-chk {
  accent-color: #60a5fa;
}

.m-root.m-root--report-dark .st-loading {
  color: #94a3b8;
}

.m-root.m-root--report-dark .st-hata {
  color: #f87171;
}

.m-root.m-root--report-dark .st-skeleton {
  background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
  background-size: 200% 100%;
}

/* === modals/firmaTanimlama/FirmaListesiModal.vue === */

/* ── Firma Dropdown ── */
.fl-dd-wrap {
  position: relative;
  flex: 1;
}

.fl-dd-trigger {
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid #c8d0dc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 12px;
  color: #1e293b;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, box-shadow .15s;
}
.fl-dd-trigger:hover  { border-color: #94a3b8; }
.fl-dd-trigger:focus  { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,.15); }
.fl-dd-trigger > svg:first-child { width: 13px; height: 13px; stroke: #64748b; flex-shrink: 0; }

.fl-dd-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #374151; }

.fl-dd-badge {
  background: #1e3a5f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  padding: 1px 6px;
  flex-shrink: 0;
}

.fl-dd-chevron {
  width: 13px;
  height: 13px;
  stroke: #94a3b8;
  flex-shrink: 0;
  transition: transform .2s;
}
.fl-dd-chevron.open { transform: rotate(180deg); }

/* Dropdown Paneli */
.fl-dd-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 200;
  width: 320px;
  background: #fff;
  border: 1px solid #d0d8e8;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Arama */
.fl-dd-search {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px 10px;
  border-bottom: 1px solid #e8eef6;
  position: relative;
}
.fl-dd-search > svg {
  position: absolute;
  left: 18px;
  width: 13px;
  height: 13px;
  stroke: #9babc0;
  pointer-events: none;
}
.fl-dd-search-input {
  flex: 1;
  height: 28px;
  border: 1px solid #d0d8e4;
  border-radius: 5px;
  background: #f8fafc;
  font-family: inherit;
  font-size: 12px;
  color: #1e293b;
  padding: 0 28px 0 30px;
  outline: none;
  width: 100%;
}
.fl-dd-search-input:focus { border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 2px rgba(59,130,246,.12); }
.fl-dd-search-clear {
  position: absolute;
  right: 16px;
  width: 18px;
  height: 18px;
  border: none;
  background: #d0d8e4;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.fl-dd-search-clear svg { width: 10px; height: 10px; stroke: #475569; }
.fl-dd-search-clear:hover { background: #b0bccf; }

/* Hepsi/İptal */
.fl-dd-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: #f4f7fb;
  border-bottom: 1px solid #e8eef6;
}
.fl-dd-act-btn {
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: filter .12s;
}
.fl-dd-act-btn svg { width: 11px; height: 11px; }
.fl-dd-act-btn:hover { filter: brightness(1.1); }
.fl-dd-act-all  { background: #1e3a5f; color: #fff; }
.fl-dd-act-none { background: #e2e8f0; color: #475569; }
.fl-dd-act-none svg { stroke: #475569; }
.fl-dd-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
  border-radius: 8px;
  padding: 1px 8px;
}

/* Liste */
.fl-dd-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 3px 0;
}

.fl-dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background .1s;
  user-select: none;
}
.fl-dd-item:hover           { background: #f0f5ff; }
.fl-dd-item.checked         { background: #eff6ff; }
.fl-dd-item.checked:hover   { background: #dbeafe; }
.fl-dd-item input[type="checkbox"] { flex-shrink: 0; accent-color: #1e3a5f; width: 13px; height: 13px; cursor: pointer; }
.fl-dd-item-kod { font-size: 11px; font-weight: 700; color: #1d4ed8; white-space: nowrap; width: 58px; flex-shrink: 0; }
.fl-dd-item-ad  { font-size: 12px; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.fl-dd-empty {
  padding: 12px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

/* ── Dark mode ── */
[data-bs-theme="dark"] .fl-dd-trigger        { background: #1a2436; border-color: #3a5080; color: #c8d8f0; }
[data-bs-theme="dark"] .fl-dd-trigger:hover  { border-color: #5a7aa0; }
[data-bs-theme="dark"] .fl-dd-label          { color: #c8d8f0; }
[data-bs-theme="dark"] .fl-dd-panel          { background: #1a2436; border-color: #2a3a54; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
[data-bs-theme="dark"] .fl-dd-search         { border-color: #2a3a54; }
[data-bs-theme="dark"] .fl-dd-search-input   { background: #111820; border-color: #3a5080; color: #c8d8f0; }
[data-bs-theme="dark"] .fl-dd-search-input:focus { border-color: #3b82f6; background: #151e2e; }
[data-bs-theme="dark"] .fl-dd-search-clear   { background: #2a3a54; }
[data-bs-theme="dark"] .fl-dd-actions        { background: #111820; border-color: #2a3a54; }
[data-bs-theme="dark"] .fl-dd-act-none       { background: #2a3a54; color: #7a9ab8; }
[data-bs-theme="dark"] .fl-dd-count          { background: #2a3a54; color: #7a9ab8; }
[data-bs-theme="dark"] .fl-dd-item:hover     { background: #1e2e44; }
[data-bs-theme="dark"] .fl-dd-item.checked   { background: #1e3a5f; }
[data-bs-theme="dark"] .fl-dd-item-ad        { color: #c8d8f0; }

/* === modals/lojistikYonetimi/Resepsiyon.vue === */
/* kt-content / kt-panel / kt-table: KarayollariAracTasimaLimitleri ile aynı tablo tipografisi (13px) */

.resepsiyon-root {
  display: flex;
  flex-direction: column;
  height: 82vh;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f4f8;
}

.resepsiyon-root .fd-toolbar.fd-toolbar-custom {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  margin: 6px 8px 0;
}

.resepsiyon-fill {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 6px 8px 8px;
  gap: 6px;
}

.resepsiyon-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

/* Sticky thead: üstteki .kt-panel overflow:hidden sticky’yi kırıyordu */
.resepsiyon-scroll > .kt-panel {
  overflow: visible;
}

.resepsiyon-bolge {
  width: min(420px, 36vw) !important;
}

/* Sabit sütun genişlikleri: düzenleme / içerik değişince kayma olmaz (colgroup + fixed) */
.kt-table.resepsiyon-grid {
  table-layout: fixed;
  width: 2030px;
  min-width: 2030px;
}

.kt-table.resepsiyon-grid col.resepsiyon-col--arrow { width: 24px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--sip { width: 96px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--sip-tarih { width: 106px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--firma { width: 227px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--il { width: 96px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--ilce { width: 102px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--bolge { width: 112px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--cins { width: 92px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--mik { width: 70px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--kg { width: 88px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--m3 { width: 84px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--plaka { width: 106px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--sofor { width: 104px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--acil { width: 76px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--durum { width: 96px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--not { width: 48px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--mal-tarih { width: 118px; }
.kt-table.resepsiyon-grid col.resepsiyon-col--son-tarih { width: 108px; }

/* Metinler komşu hücrelere taşmasın (üst üste binme) */
.resepsiyon-grid th,
.resepsiyon-grid td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  box-sizing: border-box;
}

/* Hücre içi düzenleme kontrolleri sütunu şişirmez (tarih overlay hariç) */
.resepsiyon-grid td input.kt-input:not(.resepsiyon-tarih-input-overlay),
.resepsiyon-grid td select.kt-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.resepsiyon-grid td.resepsiyon-col-firma {
  max-width: none;
}

.resepsiyon-grid td.td-arrow {
  overflow: visible;
  width: 24px;
  max-width: 24px;
}

.resepsiyon-grid td.resepsiyon-durum-cell {
  max-width: none;
}

.resepsiyon-grid td.resepsiyon-empty {
  white-space: normal;
  overflow: visible;
  max-width: none;
}

.resepsiyon-grid thead tr:first-child th {
  position: sticky;
  top: 0;
  z-index: 4;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.resepsiyon-th-group {
  background: rgba(255, 255, 255, 0.08);
}

.resepsiyon-thead-sub {
  background: #1a325a !important;
}

.resepsiyon-thead-sub th {
  position: sticky;
  top: 36px;
  z-index: 3;
  background: #1a325a !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 6px 8px !important;
  vertical-align: top;
  overflow: visible;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.resepsiyon-th-sub-arrow {
  width: 24px;
  max-width: 24px;
  padding: 6px 4px !important;
}
.resepsiyon-th-sub-lbl {
  display: block;
  text-align: center;
  line-height: 1.2;
  padding: 4px 0;
}
.resepsiyon-th-sub-lblfiltre {
  min-width: 0;
}
.resepsiyon-th-sub-lblfiltre .resepsiyon-th-sub-lbl {
  padding-bottom: 2px;
}
.resepsiyon-th-filter-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  height: 26px;
  padding: 2px 6px;
  font-size: 11px;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #fff;
  color: #1e293b;
}
.resepsiyon-th-filter-input::placeholder {
  color: #94a3b8;
  font-size: 10px;
}
.resepsiyon-th-filter-select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  height: 26px;
  padding: 2px 4px;
  font-size: 11px;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #fff;
  color: #1e293b;
  cursor: pointer;
}

[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .resepsiyon-th-filter-input,
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .resepsiyon-th-filter-select {
  background: #1a2436;
  border-color: #3a5080;
  color: #c8d8f0;
}

.resepsiyon-grid tbody tr.resepsiyon-acil {
  background: #fee2e2;
}
.resepsiyon-grid tbody tr.resepsiyon-acil:hover {
  background: #fecaca;
}
.resepsiyon-grid tbody tr.resepsiyon-isaretli {
  background: #fffbeb;
}

/* Karayollari kt-table tbody ile aynı gövde tipografisi */
.resepsiyon-sip {
  color: #1e293b;
  font-weight: 400;
}
.resepsiyon-tarih {
  color: #1e293b;
  font-size: 13px;
  white-space: nowrap;
}
.resepsiyon-plaka {
  font-weight: 400;
  color: #374151;
  text-align: center;
}
.resepsiyon-td-c {
  text-align: center;
}

.resepsiyon-durum-cell {
  vertical-align: middle;
  padding: 2px 6px !important;
}
.resepsiyon-durum-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 26px;
  min-width: 0;
  max-width: 100%;
}
.resepsiyon-durum-inner--sade {
  gap: 0;
}
.resepsiyon-not-cell {
  text-align: center !important;
  vertical-align: middle;
  width: 44px;
  max-width: 48px;
  padding: 2px 4px !important;
}
.resepsiyon-th-sub-not-skip {
  padding: 6px 4px !important;
}
.resepsiyon-durum-val {
  min-width: 1.25em;
  font-weight: 600;
}
.resepsiyon-durum-input {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  padding: 2px 4px !important;
  height: 24px !important;
  font-size: var(--modal-input-font-size, 13px);
}
.resepsiyon-aciklama-btn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #f1f5f9;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: background 0.12s, border-color 0.12s;
}
.resepsiyon-aciklama-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #1e3a5f;
}
.resepsiyon-aciklama-btn svg {
  width: 14px;
  height: 14px;
}

.resepsiyon-empty {
  text-align: center;
  padding: 20px;
  color: #94a3b8;
  font-size: 13px;
}

.resepsiyon-cell-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  height: var(--modal-input-height, 28px);
  font-size: var(--modal-input-font-size, 13px);
}
.resepsiyon-cell-input--center {
  text-align: center;
}
.resepsiyon-select {
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
}
select.kt-input.resepsiyon-select {
  padding-top: 2px;
  padding-bottom: 2px;
}

/* Tarih hücresi: metin + takvim butonu + gizli type=date */
.resepsiyon-tarih-edit {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 28px;
  width: 100%;
  outline: none;
}
.resepsiyon-tarih-display {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: #1e293b;
}
/* İkon = görünen yüzey; tıklama doğrudan üstteki type=date input’a gider (showPicker güvenilmez) */
.resepsiyon-tarih-cal-wrap {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 26px;
}
.resepsiyon-tarih-cal-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: linear-gradient(180deg, #f8fafc, #e2e8f0);
  color: #1e3a5f;
  pointer-events: none;
  z-index: 0;
  transition: filter 0.12s, border-color 0.12s;
}
.resepsiyon-tarih-cal-wrap:hover .resepsiyon-tarih-cal-face {
  filter: brightness(1.05);
  border-color: #3b82f6;
}
.resepsiyon-tarih-cal-face svg {
  width: 15px;
  height: 15px;
}
.resepsiyon-tarih-input-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  opacity: 0;
  font-size: 16px;
  line-height: 26px;
}
.resepsiyon-tarih-input-overlay::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
}

.rsp-popup--wide {
  width: min(520px, 94vw) !important;
  max-width: 94vw;
}

.rsp-popup-toolbar {
  padding: 6px 10px 6px 14px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

/* Toolbar */
.rsp-toolbar { flex-shrink: 0; }
.rsp-tb-sep {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.25);
  margin: 0 4px;
  flex-shrink: 0;
}

/* Filtre Çubuğu */
.rsp-fbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 12px;
  background: #eef2f7;
  border-bottom: 1px solid #d0d8e4;
  flex-shrink: 0;
  flex-wrap: wrap;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  background: #fff;
}
.rsp-fbar-left  { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rsp-fbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.rsp-fbar-sep   { width: 1px; height: 24px; background: #c8d0dc; margin: 0 4px; }
.rsp-fbar-group { display: flex; align-items: center; gap: 6px; }
.rsp-fbar-lbl   { font-size: 11.5px; font-weight: 700; color: #475569; white-space: nowrap; }
.rsp-arama-radios { display: flex; align-items: center; gap: 6px; }

.rsp-select {
  height: 36px;
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-family: inherit;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #fff;
  color: #1e293b;
  padding: 0 6px;
  outline: none;
  min-width: 140px;
}
.rsp-select:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,.12); }
select.rsp-select {
  cursor: pointer;
}

.rsp-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.rsp-search-input {
  height: 26px;
  width: 200px;
  font-size: 12px;
  font-family: inherit;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #fff;
  color: #1e293b;
  padding: 0 24px 0 8px;
  outline: none;
}
.rsp-search-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,.12); }
.rsp-search-clear {
  position: absolute; right: 4px;
  width: 16px; height: 16px;
  border: none; background: #d0d8e4; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.rsp-search-clear svg { width: 9px; height: 9px; stroke: #475569; }
.rsp-search-clear:hover { background: #b0bccf; }

.rsp-btn-yenile {
  height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: #1e3a5f;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: filter .15s;
}
.rsp-btn-yenile svg { width: 12px; height: 12px; stroke: #fff; }
.rsp-btn-yenile:hover { filter: brightness(1.2); }

/* Servis butonu + toplamlar */
.rsp-servis-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s;
  white-space: nowrap;
}
.rsp-servis-btn svg { width: 14px; height: 14px; stroke: #fff; }
.rsp-servis-btn:hover { filter: brightness(1.1); }

.rsp-toplamlar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding: 8px 14px;
  min-width: 220px;
  background: linear-gradient(165deg, #ffffff 0%, #eff6ff 55%, #dbeafe 100%);
  border: 1px solid #93c5fd;
  border-radius: 10px;
  box-shadow:
    0 2px 12px rgba(30, 58, 95, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.rsp-tarih {
  font-size: 11px;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: 0.02em;
}
.rsp-toplam-label {
  font-size: 10px;
  color: #1e40af;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.rsp-toplam-val {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.rsp-m3,
.rsp-kg {
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(30, 58, 95, 0.18);
  box-shadow: 0 1px 3px rgba(30, 58, 95, 0.08);
  line-height: 1.2;
}

/* Alt Bilgi Çubuğu */
.rsp-statusbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px;
  background: #e8edf4;
  border-top: 1px solid #c8d0dc;
  font-size: 11px;
  flex-shrink: 0;
  flex-wrap: wrap;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  background: #fff;
}

.rsp-status-info  { color: #1e3a5f; display: flex; align-items: center; gap: 4px; }
.rsp-status-uyari { color: #dc2626; display: flex; align-items: center; gap: 4px; font-weight: 600; }
.rsp-status-totals { margin-left: auto; display: flex; gap: 12px; color: #0f172a; font-weight: 700; font-size: 12px; }

/* Açıklama Popup */
.rsp-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
}
.rsp-popup {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  width: 400px;
  overflow: hidden;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.rsp-popup-header {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #0e7490, #0891b2);
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.rsp-popup-header svg { width: 15px; height: 15px; }
.rsp-popup-body { padding: 12px 14px; }
.rsp-popup-ta {
  width: 100%;
  resize: vertical;
  border: 1px solid #c8d0dc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 12px;
  color: #1e293b;
  padding: 8px;
  outline: none;
  background: #f8fafc;
}
.rsp-popup-ta:focus { border-color: #3b82f6; background: #fff; }
.rsp-popup-hint { font-size: 11px; color: #64748b; margin-top: 6px; }
.rsp-popup-footer {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 8px 14px 12px;
}
.rsp-popup-ok, .rsp-popup-cancel {
  width: 36px; height: 36px;
  border: none; border-radius: 6px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: filter .15s;
}
.rsp-popup-ok     { background: #16a34a; }
.rsp-popup-cancel { background: #dc2626; }
.rsp-popup-ok svg, .rsp-popup-cancel svg { width: 16px; height: 16px; }
.rsp-popup-ok:hover, .rsp-popup-cancel:hover { filter: brightness(1.1); }

/* ResepsiyonFirmaSecimModal: DraggableModal içinde m-root (SeferSecimEkrani ile aynı yapı) */
.rsp-firma-secim-ktc {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 0 !important;
}
.rsp-firma-secim-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
}
.rsp-firma-secim-scroll {
  overflow: auto;
  flex: 1;
  min-height: 120px;
  max-height: min(44vh, 380px);
}
.rsp-firma-secim-table {
  font-size: 13px;
}
.rsp-firma-secim-fbar {
  margin: 0;
  flex-shrink: 0;
}
.rsp-firma-secim-arama-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rsp-firma-secim-arama-input {
  flex: 1;
  min-width: 120px;
  width: auto !important;
  max-width: none;
}
.resepsiyon-th-firma {
  vertical-align: middle;
  text-align: left;
}
.resepsiyon-th-firma-lbl {
  margin-right: 4px;
}
.resepsiyon-th-firma-ico {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  opacity: 0.85;
}
.resepsiyon-firma-cell {
  padding: 2px 6px !important;
}
.resepsiyon-firma-cell-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.resepsiyon-firma-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rsp-status-firma-hint {
  margin-left: 10px;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
}

/* Dark mode — yalnızca m-root üzerinde açık tema kilidi YOKSA (modal-lock-light + data-bs-theme="light" hariç) */
[data-bs-theme="dark"] .m-root.resepsiyon-root:not([data-bs-theme="light"]) {
  background: #0f1724;
}
[data-bs-theme="dark"] .m-root.resepsiyon-root:not([data-bs-theme="light"]) .fd-toolbar.fd-toolbar-custom {
  background: #111820;
  border-color: #2a3a54;
}
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-fbar         { background: #111820; border-color: #2a3a54; }
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-select       { background: #1a2436; border-color: #3a5080; color: #c8d8f0; }
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-search-input { background: #1a2436; border-color: #3a5080; color: #c8d8f0; }
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .resepsiyon-scroll { background: #0f1824; border-color: #2a3a54; box-shadow: none; }
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .resepsiyon-grid td { color: #c8d8f0; border-color: #1e2a3e; }
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .resepsiyon-grid tbody tr:hover { background: #1e2e44; }
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .resepsiyon-grid tbody tr.resepsiyon-acil { background: #3b1515; }
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .resepsiyon-grid tbody tr.resepsiyon-isaretli { background: #2a2010; }
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-statusbar    { background: #111820; border-color: #2a3a54; }
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-popup        { background: #1a2436; }
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-popup-ta     { background: #111820; border-color: #3a5080; color: #c8d8f0; }
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-toplamlar {
  background: linear-gradient(165deg, #1e293b 0%, #172554 50%, #0f172a 100%);
  border-color: #3b82f6;
  box-shadow:
    0 2px 16px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-tarih {
  color: #f87171;
}
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-toplam-label {
  color: #93c5fd;
  text-shadow: none;
}
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-m3,
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-kg {
  color: #e0f2fe;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* Sidebar: toplam kutusu (.m-root dışı — yalnızca Sidebar.vue / .app-menu) */
html[data-bs-theme="dark"] .app-menu .rsp-toplamlar {
  background: linear-gradient(165deg, #1e293b 0%, #172554 50%, #0f172a 100%);
  border-color: #3b82f6;
  box-shadow:
    0 2px 16px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
html[data-bs-theme="dark"] .app-menu .rsp-tarih {
  color: #f87171;
}
html[data-bs-theme="dark"] .app-menu .rsp-toplam-label {
  color: #93c5fd;
  text-shadow: none;
}
html[data-bs-theme="dark"] .app-menu .rsp-m3,
html[data-bs-theme="dark"] .app-menu .rsp-kg {
  color: #e0f2fe;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .resepsiyon-aciklama-btn {
  background: #2a3a54;
  border-color: #3a5080;
  color: #94a3b8;
}
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .resepsiyon-aciklama-btn:hover {
  background: #1e3a5f;
  border-color: #3b82f6;
  color: #c8d8f0;
}
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-firma-secim-fbar {
  background: #111820;
  border-color: #2a3a54;
}
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-firma-secim-panel {
  background: #0f1824;
  border-color: #2a3a54;
}
[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .rsp-status-firma-hint { color: #94a3b8; }

/* === modals/firmaTanimlama/VergiNoOlmayanFirmaListesi.vue === */
.vnol-search-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.vnol-search-wrap > svg {
  position: absolute;
  left: 8px;
  width: 13px;
  height: 13px;
  stroke: #9babc0;
  pointer-events: none;
}
.vnol-search-input {
  width: 100%;
  height: 28px;
  font-size: 12px;
  font-family: inherit;
  border: 1px solid #c8d0dc;
  border-radius: 5px;
  background: #fff;
  padding: 0 28px 0 28px;
  color: #0f172a;
  outline: none;
}
.vnol-search-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,.12); }
.vnol-search-clear {
  position: absolute;
  right: 6px;
  width: 18px; height: 18px;
  border: none;
  background: #d0d8e4;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.vnol-search-clear svg { width: 10px; height: 10px; stroke: #475569; }
.vnol-search-clear:hover { background: #b0bccf; }

.vnol-toplam-lbl { color: #475569; font-size: 12px; display: flex; align-items: center; gap: 4px; }
.vnol-toplam-sayi {
  background: #1e3a5f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  padding: 1px 8px;
}

.vnol-tr-iptal td { color: #94a3b8; }
.vnol-td-iptal { color: #ef4444 !important; font-weight: 500; }

[data-bs-theme="dark"] .vnol-search-input  { background: #1a2436; border-color: #3a5080; color: #c8d8f0; }
[data-bs-theme="dark"] .vnol-search-clear  { background: #2a3a54; }
[data-bs-theme="dark"] .vnol-search-clear svg { stroke: #7a9ab8; }
[data-bs-theme="dark"] .vnol-tr-iptal td  { color: #475569; }

/* === modals/firmaTanimlama/AylikDovizKurRaporu.vue === */
.adr-donem-wrap { display: flex; gap: 4px; }
.adr-select-yil { width: 72px !important; flex: 0 0 72px; }
.adr-select-ay  { width: 100px !important; flex: 0 0 100px; }

/* === modals/firmaTanimlama/SektorFirmaListModal.vue === */
.sfl-tr-grup td {
  background: linear-gradient(90deg, #e8f0fc, #f0f5ff);
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #1e3a5f;
  letter-spacing: .3px;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.sfl-td-grup {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sfl-td-grup svg { width: 12px; height: 12px; stroke: #1e3a5f; flex-shrink: 0; }
.sfl-grup-sayac {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 600;
  color: #5a7aaa;
  background: #dce8fb;
  border-radius: 8px;
  padding: 1px 8px;
}

[data-bs-theme="dark"] .sfl-tr-grup td { background: linear-gradient(90deg, #1a2e4a, #1e3050); color: #93c5fd; }
[data-bs-theme="dark"] .sfl-td-grup svg { stroke: #93c5fd; }
[data-bs-theme="dark"] .sfl-grup-sayac { background: #1e3a5f; color: #7aa8d8; }

/* ═══════════════════════════════════════════════════════════
   modals/lojistikYonetimi/SevkiyatPlanlama.vue
   — yalnızca rsp-/gdr-/fd- class'larıyla karşılanamayan
     yeni ihtiyaçlar için minimal sp- tanımları
   ═══════════════════════════════════════════════════════════ */

/* Filtre çubuğunda Bölge input genişliği */
.sp-bolge-input { width: 260px !important; }

/* Filtre çubuğu sağ taraf: açıklama metinleri */
.sp-hints      { display: flex; flex-direction: column; gap: 1px; font-size: 10.5px; color: #475569; }
.sp-hint-mavi  { color: #1d4ed8; font-weight: 700; }
.sp-hint-yesil { color: #15803d; font-weight: 700; }

/* Araç Bağlama etiketi */
.sp-arac-baglama-lbl {
  font-size: 11px; font-weight: 700;
  color: #92400e;
  padding: 2px 8px;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 4px;
  white-space: nowrap;
}

/* ── Split body ─────────────────────────────────────────── */
.sp-body            { display: flex; flex: 1; overflow: hidden; }
.sp-left            { display: flex; flex-direction: column; width: 57%; border-right: 2px solid #c8d8ea; overflow: hidden; }
.sp-right           { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
.sp-panel-tablo-wrap { flex: 1; overflow: auto; }

/* Sağ panel sütun grup başlıkları */
.sp-sag-col-hdrs {
  display: flex; gap: 0;
  background: #dce8f7; border-bottom: 1px solid #b8cce0;
  font-size: 10.5px; font-weight: 700; color: #1e3a5f;
  flex-shrink: 0;
}
.sp-sag-col-hdrs span { padding: 3px 10px; }
.sp-sag-col-hdrs span:first-child { border-right: 1px solid #b8cce0; min-width: 230px; }

/* Alt arama fbar'ı için border-radius sıfırlama */
.sp-arama-fbar { border-radius: 0; border-top: 1px solid #c8d8ea; }

/* ── Tablo satır tipleri (rsp-tr üzerine ek) ─────────────── */
.sp-tr-mavi td     { background: #dbeafe !important; }
.sp-tr-kalin td    { font-weight: 700; }
.sp-tr-plansiz td  { background: #fffbeb; }

.sp-tr-depo-hdr td {
  background: linear-gradient(90deg, #dce8fb, #eef4ff);
  font-size: 11px; font-weight: 700; color: #1e3a5f;
  padding: 5px 10px; border-top: 2px solid #b8cce0;
}
.sp-tr-plansiz-hdr td {
  background: #fff7e6; font-size: 10.5px; font-weight: 700;
  color: #92400e; padding: 4px 10px; border-top: 1px dashed #fbbf24;
}
.sp-tr-subtotal td  { background: #f0f7ee; }
.sp-tr-depo-total td { background: #e8f3e8; }
.sp-tr-grand-total td { background: #d0ecd0; border-top: 2px solid #5a9a5a; }

.sp-td-subtotal-lbl { text-align: right; font-size: 10.5px; font-weight: 600; color: #365a2e; padding-right: 10px; }
.sp-td-subtotal     { font-weight: 700; color: #1e5c1e; }
.sp-tr-depo-total  .sp-td-subtotal-lbl,
.sp-tr-depo-total  .sp-td-subtotal     { color: #1a4a1a; font-weight: 700; }
.sp-tr-grand-total .sp-td-subtotal-lbl,
.sp-tr-grand-total .sp-td-subtotal     { font-size: 11px; font-weight: 800; color: #0f3b0f; }

/* ── Araç expand butonu ──────────────────────────────────── */
.sp-td-expand { color: #1d4ed8; cursor: pointer; user-select: none; text-align: center; }

/* ── Genişletilmiş araç detay ───────────────────────────── */
.sp-arac-det-row .sp-arac-det-td {
  padding: 0 !important;
  background: #f0f7ff !important;
  border-top: 1px solid #93c5fd;
  border-bottom: 2px solid #93c5fd;
}
/* sp-det-tablo rsp-table'ı override eder; thead arka planı biraz farklı */
.sp-det-tablo thead tr:first-child th { background: linear-gradient(180deg, #1e3a5f, #163055); }

/* ── Durum renk kareleri ─────────────────────────────────── */
.sp-durum-sq    { display:inline-block; width:12px; height:12px; border-radius:2px; border:1px solid rgba(0,0,0,.2); vertical-align:middle; }
.sp-durum-green { background: #22c55e; }
.sp-durum-red   { background: #ef4444; }

/* ── Sağ panel toplam satırı ─────────────────────────────── */
.sp-sag-toplam {
  display: flex; align-items: center; gap: 14px;
  padding: 5px 12px;
  background: #e8f3e8; border-top: 2px solid #7aba7a;
  font-size: 11.5px; font-weight: 600; color: #1a4a1a;
  flex-shrink: 0;
}
.sp-sag-toplam b { color: #0f3b0f; }

/* ── Notlar alanı ────────────────────────────────────────── */
.sp-notes {
  display: flex; flex-direction: column; gap: 1px;
  padding: 4px 10px 3px;
  background: #f8fafc; border-top: 1px solid #e2ecf5;
  font-size: 10.5px; color: #475569; line-height: 1.5;
  flex-shrink: 0;
}

/* ── Mavi uyarı satırı ───────────────────────────────────── */
.sp-mavi-uyari {
  padding: 4px 10px;
  background: #eff6ff; border-top: 1px solid #93c5fd;
  font-size: 11px; font-weight: 600; color: #1d4ed8;
  flex-shrink: 0;
}

/* ── Dark mode ───────────────────────────────────────────── */
[data-bs-theme="dark"] .sp-left              { border-right-color: #1e3a5f; }
[data-bs-theme="dark"] .sp-sag-col-hdrs      { background: #1a2e4a; border-bottom-color: #1e3a5f; color: #93c5fd; }
[data-bs-theme="dark"] .sp-sag-col-hdrs span:first-child { border-right-color: #1e3a5f; }
[data-bs-theme="dark"] .sp-hints             { color: #94a3b8; }
[data-bs-theme="dark"] .sp-hint-mavi         { color: #60a5fa; }
[data-bs-theme="dark"] .sp-hint-yesil        { color: #4ade80; }
[data-bs-theme="dark"] .sp-arac-baglama-lbl  { background: #2a1f0a; border-color: #92400e; color: #fbbf24; }
[data-bs-theme="dark"] .sp-tr-mavi td        { background: #0e2a44 !important; }
[data-bs-theme="dark"] .sp-tr-plansiz td     { background: #1a160a; }
[data-bs-theme="dark"] .sp-tr-depo-hdr td    { background: linear-gradient(90deg,#1a2e4a,#1e3050); color: #93c5fd; }
[data-bs-theme="dark"] .sp-tr-plansiz-hdr td { background: #2a1f0a; color: #fbbf24; }
[data-bs-theme="dark"] .sp-tr-subtotal td    { background: #0f2a1a; }
[data-bs-theme="dark"] .sp-tr-depo-total td  { background: #0a2015; }
[data-bs-theme="dark"] .sp-tr-grand-total td { background: #082010; border-top-color: #4ade80; }
[data-bs-theme="dark"] .sp-td-subtotal-lbl   { color: #6ddc8b; }
[data-bs-theme="dark"] .sp-td-subtotal       { color: #4ade80; }
[data-bs-theme="dark"] .sp-tr-depo-total  .sp-td-subtotal-lbl,
[data-bs-theme="dark"] .sp-tr-depo-total  .sp-td-subtotal     { color: #4ade80; }
[data-bs-theme="dark"] .sp-tr-grand-total .sp-td-subtotal-lbl,
[data-bs-theme="dark"] .sp-tr-grand-total .sp-td-subtotal     { color: #86efac; }
[data-bs-theme="dark"] .sp-arac-det-row .sp-arac-det-td { background: #0e1e35 !important; border-color: #3b82f6; }
[data-bs-theme="dark"] .sp-sag-toplam    { background: #0a2015; border-top-color: #4ade80; color: #86efac; }
[data-bs-theme="dark"] .sp-sag-toplam b  { color: #bbf7d0; }
[data-bs-theme="dark"] .sp-notes         { background: #0f172a; border-top-color: #1e3a5f; color: #94a3b8; }
[data-bs-theme="dark"] .sp-mavi-uyari    { background: #0c1a35; border-top-color: #1d4ed8; color: #60a5fa; }

/* ═══════════════════════════════════════════════════════════
   modals/lojistikYonetimi/PlanlanmisAracCikisi.vue
   ═══════════════════════════════════════════════════════════ */

/* ── Split body ─────────────────────────────────────────── */
.pac-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  gap: 6px;
}
.pac-left  { display: flex; flex-direction: column; flex: 1; overflow: hidden; }

/* ── Sol panel üst satırları ───────────────────────────── */
.pac-top-row    { display: flex; align-items: center; gap: 6px; padding: 4px 8px; background: #f0f5fb; border-bottom: 1px solid #dce8f0; flex-shrink: 0; }
.pac-plaka-row  { display: flex; align-items: center; gap: 6px; padding: 4px 8px; background: #fff; border-bottom: 1px solid #e8f0f8; flex-shrink: 0; }
.pac-surucu-row { display: flex; align-items: center; gap: 6px; padding: 4px 8px; background: #f8fafc; border-bottom: 1px solid #e8f0f8; flex-shrink: 0; }
.pac-driver-name { padding: 3px 10px; font-size: 12px; font-weight: 700; color: #1e3a5f; background: #eef4fb; border-bottom: 1px solid #dce8f0; flex-shrink: 0; }
.pac-ml { margin-left: 12px; }
.pac-depo-input { width: 100% !important; max-width: 480px; }

/* Plaka / Sefer no renkli gösterim */
.pac-plaka-val {
  display: inline-block; padding: 1px 10px;
  background: #fee2e2; color: #b91c1c;
  border: 1px solid #fca5a5; border-radius: 3px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
}
.pac-sefer-val {
  display: inline-block; padding: 1px 10px;
  background: #dbeafe; color: #1d4ed8;
  border: 1px solid #93c5fd; border-radius: 3px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
}

/* ── İç split: form | belge ────────────────────────────── */
.pac-inner-split { display: flex; flex-shrink: 0; }
.pac-form-area   { flex: 1; padding: 4px 6px; border-right: 1px solid #dce8f0; }
.pac-belge-area  { width: 500px; flex-shrink: 0; display: flex; flex-direction: column; }

/* Form tablo yardımcıları */
.pac-form-lbl { white-space: nowrap; font-size: 11px !important; color: #475569 !important; }
.pac-input-xs   { width: 50px !important; }
.pac-input-sm   { width: 80px !important; }
.pac-input-md   { width: 120px !important; }
.pac-input-wide { width: 160px !important; }
.pac-input-full { width: 100% !important; }
.pac-tutar-cell { display: flex; align-items: center; gap: 4px; }
.pac-kdv-lbl    { font-size: 10.5px; color: #64748b; white-space: nowrap; }

/* ── Belge alanı ─────────────────────────────────────────  */
.pac-belge-header {
  padding: 4px 8px;
  background: linear-gradient(90deg, #1e3a5f, #2a5298);
  color: #e0ecff; font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.pac-belge-tabs { display: flex; background: #dce8f7; border-bottom: 1px solid #b8cce0; flex-shrink: 0; }
.pac-belge-tab  {
  flex: 1; padding: 4px 6px;
  border: none; border-right: 1px solid #b8cce0;
  background: transparent; font-size: 10.5px; color: #475569;
  cursor: pointer; transition: background .12s;
}
.pac-belge-tab:last-child { border-right: none; }
.pac-belge-tab:hover      { background: #c8dcf0; }
.pac-belge-tab--active    { background: #1e3a5f; color: #fff; font-weight: 600; }

.pac-main-tabs { display: flex; background: #f0f5fb; border-bottom: 1px solid #c8d8ea; flex-shrink: 0; }
.pac-main-tab  {
  flex: 1; padding: 3px 4px;
  border: none; border-right: 1px solid #c8d8ea;
  background: transparent; font-size: 10.5px; color: #475569;
  cursor: pointer; transition: background .12s;
}
.pac-main-tab:last-child { border-right: none; }
.pac-main-tab:hover      { background: #e2ecf8; }
.pac-main-tab--active    { background: #2a5298; color: #fff; font-weight: 600; }

.pac-tab-panel    { padding: 4px 6px; }
.pac-tab-empty    { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #94a3b8; font-size: 12px; }
.pac-tab-empty svg { width: 28px; height: 28px; }
.pac-belge-form   { width: 100%; }

/* Araç Yük Bilgisi özel alanlar */
.pac-faturalanacak { font-size: 11px; font-weight: 700; color: #d97706; }
.pac-bakiye-val    { font-size: 12px; font-weight: 800; color: #dc2626; }

/* ── Uyarı metni ─────────────────────────────────────────  */
.pac-uyari {
  padding: 3px 8px;
  background: #fff7f7; border-top: 1px solid #fca5a5;
  font-size: 10.5px; color: #b91c1c;
  flex-shrink: 0;
}
.pac-gri-badge {
  display: inline-block; padding: 0 5px;
  background: #94a3b8; color: #fff;
  border-radius: 2px; font-weight: 700; font-size: 10px;
}

/* ── Sipariş tablosu ─────────────────────────────────────  */
.pac-orders-wrap { flex: 1; min-height: 60px; border-radius: 0 !important; }
.pac-td-teslim   { display: flex; align-items: center; gap: 3px; }
.pac-teslim-ok   { color: #16a34a; font-weight: 700; font-size: 12px; }

/* ── Toplam satırı ───────────────────────────────────────  */
.pac-total-row {
  display: flex; align-items: center; gap: 14px;
  padding: 4px 10px;
  background: #e8f3e8; border-top: 2px solid #7aba7a;
  font-size: 11.5px; font-weight: 600; color: #1a4a1a;
  flex-shrink: 0;
}
.pac-total-row b { color: #0f3b0f; }

/* ── Seçim Ekranı (sağ panel) ────────────────────────────  */

/* ── Dark mode ───────────────────────────────────────────  */
[data-bs-theme="dark"] .pac-left         { border-right-color: #1e3a5f; }
[data-bs-theme="dark"] .pac-top-row      { background: #111820; border-bottom-color: #1e3a5f; }
[data-bs-theme="dark"] .pac-plaka-row    { background: #0f172a; border-bottom-color: #1e3a5f; }
[data-bs-theme="dark"] .pac-surucu-row   { background: #111820; border-bottom-color: #1e3a5f; }
[data-bs-theme="dark"] .pac-driver-name  { background: #0e1824; border-bottom-color: #1e3a5f; color: #93c5fd; }
[data-bs-theme="dark"] .pac-plaka-val    { background: #3b0a0a; color: #fca5a5; border-color: #7f1d1d; }
[data-bs-theme="dark"] .pac-sefer-val    { background: #0e2a44; color: #93c5fd; border-color: #1e3a5f; }
[data-bs-theme="dark"] .pac-form-area    { border-right-color: #1e3a5f; }
[data-bs-theme="dark"] .pac-belge-tabs   { background: #1a2e4a; border-bottom-color: #1e3a5f; }
[data-bs-theme="dark"] .pac-belge-tab    { color: #94a3b8; border-right-color: #1e3a5f; }
[data-bs-theme="dark"] .pac-belge-tab:hover    { background: #1e3050; }
[data-bs-theme="dark"] .pac-belge-tab--active  { background: #0e2a44; }
[data-bs-theme="dark"] .pac-main-tabs    { background: #111820; border-bottom-color: #1e3a5f; }
[data-bs-theme="dark"] .pac-main-tab     { color: #94a3b8; border-right-color: #1e3a5f; }
[data-bs-theme="dark"] .pac-main-tab:hover    { background: #1a2e4a; }
[data-bs-theme="dark"] .pac-main-tab--active  { background: #1e3a5f; }
[data-bs-theme="dark"] .pac-uyari        { background: #2a0a0a; border-top-color: #7f1d1d; color: #fca5a5; }
[data-bs-theme="dark"] .pac-total-row    { background: #0a2015; border-top-color: #4ade80; color: #86efac; }
[data-bs-theme="dark"] .pac-total-row b  { color: #bbf7d0; }

/* ── Sidebar: collapse okları (tema MDI ::after yerine MenuNavChevron SVG) ── */
.navbar-menu .navbar-nav .nav-link[data-bs-toggle="collapse"]::after,
.navbar-menu .navbar-nav .nav-link[data-bs-toggle="collapse"].collapsed.active::after {
  display: none !important;
  content: none !important;
}

.navbar-menu .navbar-nav .nav-link[data-bs-toggle="collapse"] .nav-menu-chevron {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: inherit;
  opacity: 0.88;
}

.navbar-menu .navbar-nav .nav-link[data-bs-toggle="collapse"] .nav-menu-chevron svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.2s ease;
}

.navbar-menu .navbar-nav .nav-link[data-bs-toggle="collapse"][aria-expanded="true"] .nav-menu-chevron svg {
  transform: rotate(90deg);
}

[data-layout="horizontal"] .navbar-menu .navbar-nav > .nav-item > .nav-link[data-bs-toggle="collapse"] .nav-menu-chevron svg {
  transform: rotate(90deg);
}

[data-layout="horizontal"] .navbar-menu .navbar-nav > .nav-item > .nav-link[data-bs-toggle="collapse"][aria-expanded="true"] .nav-menu-chevron svg {
  transform: rotate(90deg);
}

[data-layout="horizontal"] .navbar-menu .navbar-nav .nav-sm .nav-link[data-bs-toggle="collapse"] .nav-menu-chevron svg {
  transform: rotate(0deg);
}

[data-layout="horizontal"] .navbar-menu .navbar-nav .nav-sm .nav-link[data-bs-toggle="collapse"][aria-expanded="true"] .nav-menu-chevron svg {
  transform: rotate(90deg);
}

[dir="rtl"] .navbar-menu .navbar-nav .nav-link[data-bs-toggle="collapse"] .nav-menu-chevron svg {
  transform: rotate(180deg);
}

[dir="rtl"] .navbar-menu .navbar-nav .nav-link[data-bs-toggle="collapse"][aria-expanded="true"] .nav-menu-chevron svg {
  transform: rotate(270deg);
}

[dir="rtl"][data-layout="horizontal"] .navbar-menu .navbar-nav > .nav-item > .nav-link[data-bs-toggle="collapse"] .nav-menu-chevron svg {
  transform: rotate(-90deg);
}

[dir="rtl"][data-layout="horizontal"] .navbar-menu .navbar-nav > .nav-item > .nav-link[data-bs-toggle="collapse"][aria-expanded="true"] .nav-menu-chevron svg {
  transform: rotate(-90deg);
}

[dir="rtl"][data-layout="horizontal"] .navbar-menu .navbar-nav .nav-sm .nav-link[data-bs-toggle="collapse"] .nav-menu-chevron svg {
  transform: rotate(-180deg);
}

[dir="rtl"][data-layout="horizontal"] .navbar-menu .navbar-nav .nav-sm .nav-link[data-bs-toggle="collapse"][aria-expanded="true"] .nav-menu-chevron svg {
  transform: rotate(-90deg);
}

/* === DepoKabuluGercekOlcum — referans pencere düzeni === */
.dkgo-root {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.dkgo-win-toolbar {
  flex-shrink: 0;
}
.dkgo-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 8px 14px 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-bottom: 1px solid #d0d8e4;
  font-size: 12px;
}
.dkgo-meta-lbl {
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.dkgo-meta-val {
  font-weight: 700;
}
.dkgo-meta-sip,
.dkgo-meta-firma {
  color: #dc2626;
}
.dkgo-meta-firma {
  max-width: min(720px, 85vw);
}
.dkgo-main-split {
  display: flex;
  flex: 1;
  min-height: 0;
  gap: 0;
  border-bottom: 1px solid #d0d8e4;
}
.dkgo-side-rail {
  flex: 0 0 112px;
  display: flex;
  flex-direction: column;
  background: #e2e8f0;
  border-right: 1px solid #c8d0dc;
  min-height: 180px;
}
.dkgo-dim-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  justify-content: center;
}
.dkgo-dim-btn {
  min-width: 48px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #94a3b8;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.dkgo-dim-btn:hover {
  background: #fff;
  border-color: #64748b;
}
.dkgo-side-placeholder {
  flex: 1;
  min-height: 80px;
  margin: 0 8px 8px;
  background: #cbd5e1;
  border: 1px solid #94a3b8;
  border-radius: 4px;
}
.dkgo-table-wrap {
  flex: 1;
  min-width: 0;

  overflow: auto;
}
.dkgo-scroll {
  min-height: 215px;
  max-height: 215px;
}
.dkgo-table {
  min-width: 1100px;
}
.dkgo-select {
  width: 100%;
  min-width: 0;
  font-size: 12px;
  height: 28px;
  padding: 2px 6px;
}
.dkgo-ico-th {
  padding: 0 !important;
}
.dkgo-ico-cell {
  text-align: center;
  vertical-align: middle;
  padding: 2px !important;
  color: #64748b;
}
.dkgo-birim-ico {
  display: inline-flex;
  opacity: 0.85;
}
.dkgo-tfoot-sum td {
  font-weight: 700;
  font-size: 12px;
  background: #f1f5f9 !important;
  border-top: 2px solid #cbd5e1 !important;
}
.dkgo-tfoot-muted {
  color: #334155;
  font-variant-numeric: tabular-nums;
}
.dkgo-footer-hint {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  color: #dc2626;
  background: #fff7ed;
  border-top: 1px solid #fed7aa;
}
.dkgo-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px 12px;
  border-top: 1px solid #d0d8e4;
  background: #f1f5f9;
}
.dkgo-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
}
.dkgo-btn--primary {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  border-color: #1d4ed8;
}
.dkgo-btn--primary:hover {
  filter: brightness(1.05);
}
.dkgo-btn--secondary {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  color: #1e293b;
  border-color: #94a3b8;
}
.dkgo-btn--secondary:hover {
  background: #fff;
}

/* Depo kabulu: koyu tema yalnızca modal-lock-light yoksa */
[data-bs-theme="dark"] .m-root.dkgo-root:not([data-bs-theme="light"]) .dkgo-meta {
  background: linear-gradient(180deg, #1a2436 0%, #141c2c 100%);
  border-color: #2d3a4f;
}
[data-bs-theme="dark"] .m-root.dkgo-root:not([data-bs-theme="light"]) .dkgo-meta-lbl {
  color: #94a3b8;
}
[data-bs-theme="dark"] .m-root.dkgo-root:not([data-bs-theme="light"]) .dkgo-side-rail {
  background: #1e293b;
  border-color: #334155;
}
[data-bs-theme="dark"] .m-root.dkgo-root:not([data-bs-theme="light"]) .dkgo-side-placeholder {
  background: #334155;
  border-color: #475569;
}
[data-bs-theme="dark"] .m-root.dkgo-root:not([data-bs-theme="light"]) .dkgo-dim-btn {
  background: #334155;
  color: #e2e8f0;
  border-color: #64748b;
}
[data-bs-theme="dark"] .m-root.dkgo-root:not([data-bs-theme="light"]) .dkgo-footer-hint {
  background: #2a2010;
  border-color: #854d0e;
  color: #fdba74;
}
[data-bs-theme="dark"] .m-root.dkgo-root:not([data-bs-theme="light"]) .dkgo-footer-actions {
  background: #141c2c;
  border-color: #2d3a4f;
}
[data-bs-theme="dark"] .m-root.dkgo-root:not([data-bs-theme="light"]) .dkgo-tfoot-sum td {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0;
}

/* modals/lojistikYonetimi/MusteriIrsaliyeSiparisleriModal.vue */
.mis-irs-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
}
.mis-irs-dialog {
  width: min(920px, 96vw);
  max-height: min(86vh, 720px);
  background: #e8ecf0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.mis-irs-toolbar {
  padding: 8px 12px !important;
  flex-shrink: 0;
  border-bottom: 1px solid #cbd5e1;
  background: #dfe6ee;
}
.mis-irs-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  flex: 1;
  background: #e8ecf0;
}
.mis-irs-scroll {
  overflow: auto;
  max-height: 42vh;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  background: #fff;
  max-height: 195px;
  min-height: 195px;
}
.mis-irs-table {
  width: 100%;
  font-size: 12px;
}
.mis-irs-table th {
  white-space: nowrap;
  padding: 6px 8px !important;
}
.mis-irs-table td {
  padding: 4px 6px !important;
  vertical-align: middle;
}
.mis-irs-table tbody tr.active {
  background: #dbeafe;
}
.mis-irs-row--stok {
  background: #fee2e2 !important;
}
.mis-irs-hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}
.mis-irs-hint--blue {
  color: #2563eb;
}
.mis-irs-hint--red {
  color: #dc2626;
}
.mis-irs-dialog .fa-footer {
  flex-shrink: 0;
}
.dkgo-mirs-cell {
  padding: 4px 6px !important;
  vertical-align: middle !important;
}

.dkgo-mirs-btn {
  display: block;
  width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 4px 8px;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #e8eef4 100%);
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.12s,
    background 0.12s,
    box-shadow 0.12s,
    color 0.12s;
}

.dkgo-mirs-btn:hover {
  border-color: #94a3b8;
  background: linear-gradient(180deg, #f8fafc 0%, #dbeafe 100%);
  color: #1e3a5f;
  box-shadow: 0 2px 6px rgba(30, 58, 95, 0.12);
}

.dkgo-mirs-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.dkgo-mirs-btn:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 1px;
}

[data-bs-theme="dark"] .m-root.dkgo-root:not([data-bs-theme="light"]) .dkgo-mirs-btn {
  border-color: #3a5080;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #cbd5e1;
  box-shadow: none;
}

[data-bs-theme="dark"] .m-root.dkgo-root:not([data-bs-theme="light"]) .dkgo-mirs-btn:hover {
  border-color: #60a5fa;
  background: linear-gradient(180deg, #1e3a5f 0%, #172554 100%);
  color: #e2e8f0;
}

thead{
  position: sticky;
  top: 0;
  z-index: 9;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Global modal dark theme (html tema: koyu) — görsel paleti: #1a202c, #2c5282,
   vurgu #00bfff, input #0d1117, metin açık gri/beyaz
   modal-lock-light kaldırıldığında uygulanır
   ═══════════════════════════════════════════════════════════════════════════ */
html[data-bs-theme="dark"] .m-root {
  background: #1a202c !important;
  color: #e2e8f0;
  color-scheme: dark;
}

html[data-bs-theme="dark"] .m-root .fd-toolbar {
  background: #2c5282 !important;
  border-bottom: 2px solid #00bfff !important;
  box-shadow: inset 0 -1px 0 rgba(0, 191, 255, 0.25);
}

html[data-bs-theme="dark"] .m-root .cm-card {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

html[data-bs-theme="dark"] .m-root .rsp-fbar {
  background: #111820 !important;
  border-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .m-root .rsp-fbar-lbl,
html[data-bs-theme="dark"] .m-root .rsp-status-info {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .m-root .rsp-select,
html[data-bs-theme="dark"] .m-root .rsp-search-input {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
}

html[data-bs-theme="dark"] .m-root .sv-panel {
  background: #162032 !important;
  border-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .m-root .sv-panel-head {
  background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%) !important;
  border-bottom: 2px solid #00bfff !important;
  color: #fff !important;
}

html[data-bs-theme="dark"] .m-root .sv-lbl {
  color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .m-root .sv-sub-lbl {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .m-root input.sv-fi:not([type="checkbox"]):not([type="radio"]),
html[data-bs-theme="dark"] .m-root select.sv-fi,
html[data-bs-theme="dark"] .m-root textarea.sv-fi {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f8fafc !important;
}

html[data-bs-theme="dark"] .m-root input.sv-fi:focus,
html[data-bs-theme="dark"] .m-root select.sv-fi:focus,
html[data-bs-theme="dark"] .m-root textarea.sv-fi:focus {
  background: #111827 !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
}

html[data-bs-theme="dark"] .m-root .cm-table-panel,
html[data-bs-theme="dark"] .m-root .cm-table-wrap {
  background: #0f1724 !important;
  border-color: #2a3a54 !important;
}

/* ct-panel / kt-panel: koyu temada beyaz kalıyordu; zebra sadece çift satıra renk verince tek satırlar beyaz + soluk metin oluyordu */
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .ct-panel,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kt-panel,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .da-panel,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .mt-panel,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .sg-panel,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .gf-panel,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-panel {
  background: #0f1724 !important;
  border-color: #2a3a54 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .ct-inline-input,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .ct-inline-select {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .ct-inline-input:focus,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .ct-inline-select:focus {
  border-color: #3b82f6 !important;
  background: #111827 !important;
}

html[data-bs-theme="dark"] .m-root .ct-table thead th,
html[data-bs-theme="dark"] .m-root .cm-table thead th,
html[data-bs-theme="dark"] .m-root .kt-table thead th {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-bs-theme="dark"] .m-root .ct-table tbody td,
html[data-bs-theme="dark"] .m-root .cm-table tbody td {
  color: #e2e8f0 !important;
  border-color: #243047 !important;
}

html[data-bs-theme="dark"] .m-root .pac-left-table .sv-lbl,
html[data-bs-theme="dark"] .m-root .pac-right-table .sv-lbl {
  color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .m-root .pac-belge-btn:not(:disabled) {
  background: linear-gradient(180deg, #2d3748 0%, #1e293b 100%) !important;
  border-color: #4a5568 !important;
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .m-root .pac-belge-btn--clickable:hover {
  border-color: #00bfff !important;
  color: #fff !important;
}

html[data-bs-theme="dark"] .m-root .vda-depo-fbar .vda-depo-select {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
}

html[data-bs-theme="dark"] .m-root .vda-table-wrap {
  background: #0f1724 !important;
  border-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .m-root .vda-cell-txt {
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .m-root .vda-row-kirmizi .vda-cell-txt {
  color: #fca5a5 !important;
}

html[data-bs-theme="dark"] .m-root .vda-red-neden-select {
  background: #0d1117 !important;
}

html[data-bs-theme="dark"] .m-root .vda-red-neden-select:disabled {
  background: #1e293b !important;
  opacity: 0.65 !important;
}

html[data-bs-theme="dark"] .m-root .vda-teslimat-trh-fi {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
  color-scheme: dark;
}

html[data-bs-theme="dark"] .m-root .vda-mini-folder,
html[data-bs-theme="dark"] .m-root .vda-mini-note {
  background: linear-gradient(180deg, #2d3748 0%, #1e293b 100%) !important;
  border-color: #4a5568 !important;
  color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .m-root .vda-footer-notes {
  color: #f87171 !important;
}

html[data-bs-theme="dark"] .m-root .pace-ac-secim-status-txt {
  color: #f87171 !important;
}

/* ── Koyu tema: Firma rapor / Firma Listesi ile aynı palet (tüm modal gövdeleri) ── */
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kt-table tbody td {
  color: #e2e8f0 !important;
  border-color: #243047 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kt-table tbody tr {
  border-bottom-color: #243047 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kt-table tbody tr:nth-child(even) {
  background: #1e2a3e !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kt-table tbody tr:hover {
  background: #1e3050 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kt-table tbody tr.active {
  background: rgba(44, 82, 130, 0.55) !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kt-table tbody tr.is-new {
  background: rgba(16, 185, 129, 0.14) !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .td-num {
  color: #cbd5e1 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .td-arrow {
  color: #60a5fa !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kt-input {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18) !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kt-input:focus {
  border-color: #3b82f6 !important;
  background: #111827 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .ct-table tbody tr:nth-child(odd),
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .cm-table tbody tr:nth-child(odd) {
  background: #162032 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .ct-table tbody tr:nth-child(even),
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .cm-table tbody tr:nth-child(even) {
  background: #1e2a3e !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kt-table tbody tr:nth-child(odd) {
  background: #162032 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .ct-table tbody tr:hover,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .cm-table tbody tr:hover {
  background: #1e3050 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .ct-table tbody tr.active,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .cm-table tbody tr.active {
  background: rgba(44, 82, 130, 0.55) !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .ct-table tbody tr.is-new,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .cm-table tbody tr.is-new {
  background: rgba(16, 185, 129, 0.14) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-table thead tr {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%) !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-table thead th {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  border-right-color: rgba(255, 255, 255, 0.1) !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-table tbody tr {
  border-bottom-color: #243047 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-table tbody tr:nth-child(even) {
  background: #1e2a3e !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-table tbody tr:hover {
  background: #1e3050 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-table tbody tr.active {
  background: rgba(44, 82, 130, 0.55) !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-table tbody tr.is-new {
  background: rgba(16, 185, 129, 0.14) !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-table td {
  color: #e2e8f0 !important;
  border-right-color: #243047 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-inline-input {
  background: #0d1117 !important;
  border-color: #3b82f6 !important;
  color: #f1f5f9 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .gdr-rapor-table thead tr {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pac-mini-lbl {
  color: #94a3b8 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pac-mini-action {
  background: #1e293b !important;
  border-color: #3b82f6 !important;
  color: #93c5fd !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pac-mini-action:hover {
  background: #1e3a5f !important;
  color: #e0f2fe !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pac-belge-yukleme-ozet {
  color: #60a5fa !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pac-fat-cell {
  background: #162032 !important;
  border-left-color: #2a3a54 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pac-fat-title {
  color: #cbd5e1 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pace-irsaliye-giris-lbl {
  color: #94a3b8 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pace-ek-masraf-filler {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border-top-color: #2a3a54 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .pace-ek-masraf-tutar {
  background: rgba(0, 0, 0, 0.2) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .mis-irs-body {
  background: transparent !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .mis-irs-scroll {
  background: #0f1724 !important;
  border-color: #2a3a54 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .mis-irs-hint--blue {
  color: #60a5fa !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .mis-irs-hint--red {
  color: #f87171 !important;
}
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .mis-irs-row--stok {
  background: rgba(127, 29, 29, 0.35) !important;
}

/* ── Parametre Girişleri: bt-* (Bölge Tanımlama = .bt-root; Birim Tanımlama = .m-root içi .bt-panel/.bt-table) ── */
html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) {
  background: #1a202c !important;
  color: #e2e8f0;
  color-scheme: dark;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .fd-toolbar {
  background: #2c5282 !important;
  border-bottom: 2px solid #00bfff !important;
  box-shadow: inset 0 -1px 0 rgba(0, 191, 255, 0.25);
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-right-panel,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-panel {
  background: #0f1724 !important;
  border-color: #2a3a54 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-table thead tr,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-table thead tr {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%) !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-table tbody td,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-table tbody td {
  color: #e2e8f0 !important;
  border-color: #243047 !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-table tbody tr,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-table tbody tr {
  border-bottom-color: #243047 !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-table tbody tr:nth-child(even),
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-table tbody tr:nth-child(even) {
  background: #1e2a3e !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-table tbody tr:hover,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-table tbody tr:hover {
  background: #1e3050 !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-table tbody tr.active,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-table tbody tr.active {
  background: rgba(44, 82, 130, 0.55) !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-table tbody tr.is-new,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-table tbody tr.is-new {
  background: rgba(16, 185, 129, 0.14) !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-table tbody tr.dirty,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-table tbody tr.dirty {
  outline-color: #fbbf24 !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-inline-input,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-inline-input {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-inline-input:focus,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-inline-input:focus {
  border-color: #3b82f6 !important;
  background: #111827 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35) !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-inline-input--center,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-inline-input--center {
  color: #93c5fd !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .td-num,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-table .td-num {
  color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .td-code,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-table .td-code {
  color: #93c5fd !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .td-arrow,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .bt-table .td-arrow {
  color: #60a5fa !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-loading {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-hata {
  color: #f87171 !important;
}

html[data-bs-theme="dark"] .bt-root:not([data-bs-theme="light"]) .bt-skeleton {
  background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%) !important;
  background-size: 200% 100%;
}

/* ── m-root: kt/ct/cm dışı veri tabloları + çok panelli st-* (Sektör, VF, UE, depo tabloları vb.) ── */
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) :is(
  .da-table, .dm-table, .dn-table, .gf-table, .mt-table, .sg-table,
  .vf-table, .ue-table, .dv-table
) thead th {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) :is(
  .da-table, .dm-table, .dn-table, .gf-table, .mt-table, .sg-table,
  .vf-table, .ue-table, .dv-table
) tbody td {
  color: #e2e8f0 !important;
  border-color: #243047 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) :is(
  .da-table, .dm-table, .dn-table, .gf-table, .mt-table, .sg-table,
  .vf-table, .ue-table, .dv-table
) tbody tr {
  border-bottom-color: #243047 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) :is(
  .da-table, .dm-table, .dn-table, .gf-table, .mt-table, .sg-table,
  .vf-table, .ue-table, .dv-table
) tbody tr:nth-child(odd) {
  background: #162032 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) :is(
  .da-table, .dm-table, .dn-table, .gf-table, .mt-table, .sg-table,
  .vf-table, .ue-table, .dv-table
) tbody tr:nth-child(even) {
  background: #1e2a3e !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) :is(
  .da-table, .dm-table, .dn-table, .gf-table, .mt-table, .sg-table,
  .vf-table, .ue-table, .dv-table
) tbody tr:hover {
  background: #1e3050 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) :is(
  .da-table, .dm-table, .dn-table, .gf-table, .mt-table, .sg-table,
  .vf-table, .ue-table, .dv-table
) tbody tr.active {
  background: rgba(44, 82, 130, 0.55) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) :is(
  .da-table, .dm-table, .dn-table, .gf-table, .mt-table, .sg-table,
  .vf-table, .ue-table, .dv-table
) tbody tr.is-new {
  background: rgba(16, 185, 129, 0.14) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) :is(.dm-table, .gf-table) tfoot {
  border-top-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) :is(.dm-table, .gf-table) tfoot td {
  color: #e2e8f0 !important;
  background: #141c2c !important;
  border-color: #243047 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .dm-panel,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .dn-panel {
  background: #0f1724 !important;
  border-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .dm-toplam-row {
  background: #141c2c !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .gf-toplam-row {
  background: #141c2c !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .gf-firma-bar {
  background: #111820 !important;
  border-bottom-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .gf-firma-lbl {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .gf-firma-input {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .gf-firma-input:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .mt-input,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .sg-input,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .gf-input {
  background: #0d1117 !important;
  border-color: #3b82f6 !important;
  color: #f1f5f9 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .gf-fiyat-input {
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .gf-fiyat-input:hover {
  background: #1e293b !important;
  border-color: #475569 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .gf-fiyat-input:focus {
  background: #0d1117 !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .td-toplam-lbl,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .td-toplam-val {
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-table thead th {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-table tbody tr:hover td {
  background: #1e3050 !important;
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-table tbody tr.tr-active td {
  background: rgba(44, 82, 130, 0.55) !important;
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-table .td-hesap {
  color: #e2e8f0 !important;
  border-color: #243047 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-filter-bar {
  background: #111820 !important;
  border-bottom-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-filter-lbl {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-filter-input {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-filter-input:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-btn-giris {
  background: #2c5282 !important;
  border-color: #3b82f6 !important;
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-btn-giris:hover {
  background: #3568a8 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-info-text {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-table .td-kod {
  color: #93c5fd !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-table .td-ad {
  color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .kh-table .td-border-bottom {
  border-color: #243047 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .hs-table thead th {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .hs-table tbody tr {
  border-bottom-color: #243047 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .hs-table tbody tr:hover {
  background: #1e3050 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .hs-table tbody tr.selected {
  background: rgba(44, 82, 130, 0.55) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .hs-td-kod {
  color: #93c5fd !important;
  border-color: #243047 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .hs-td-ad {
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .hs-list-wrap::-webkit-scrollbar-track {
  background: #1e293b !important;
}

/* KDV: Hesap seçim popup Teleport (.m-root dışı — ayrı seçiciler) */
html[data-bs-theme="dark"] .hs-dialog {
  background: #1a202c !important;
  color: #e2e8f0;
  color-scheme: dark;
}

html[data-bs-theme="dark"] .hs-sub-header {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .hs-list-wrap {
  border-color: #2a3a54 !important;
  background: #0f1724 !important;
}

html[data-bs-theme="dark"] .hs-list-wrap::-webkit-scrollbar-track {
  background: #1e293b !important;
}

html[data-bs-theme="dark"] .hs-arama-bar {
  background: #111820 !important;
}

html[data-bs-theme="dark"] .hs-arama-lbl,
html[data-bs-theme="dark"] .hs-radio-lbl {
  color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .hs-arama-input {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
}

html[data-bs-theme="dark"] .hs-arama-input:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
  background: #111827 !important;
}

html[data-bs-theme="dark"] .hs-table thead th {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%) !important;
}

html[data-bs-theme="dark"] .hs-table tbody tr {
  border-bottom-color: #243047 !important;
}

html[data-bs-theme="dark"] .hs-table tbody tr:hover {
  background: #1e3050 !important;
}

html[data-bs-theme="dark"] .hs-table tbody tr.selected {
  background: rgba(44, 82, 130, 0.55) !important;
}

html[data-bs-theme="dark"] .hs-td-kod {
  color: #93c5fd !important;
  border-color: #243047 !important;
}

html[data-bs-theme="dark"] .hs-td-ad {
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-panel {
  background: #162032 !important;
  border-color: #2a3a54 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-panel-title {
  border-bottom-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-panel-title--secondary {
  background: #1e293b !important;
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-panel:hover .st-panel-title--secondary,
html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-panel--active .st-panel-title--secondary {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%) !important;
  color: #fff !important;
}

html[data-bs-theme="dark"] .m-root:not([data-bs-theme="light"]) .st-panel-body {
  background: #0f1724;
}

/* ── m-root dışı kökler: Cari / Firma seçim / Araç-Sürücü / Depo (tablo + formlar koyu tema) ── */
html[data-bs-theme="dark"] :is(.cf-root, .ca-root, .av-root, .sv-root, .fd-root):not([data-bs-theme="light"]) {
  background: #1a202c !important;
  color: #e2e8f0;
  color-scheme: dark;
}

html[data-bs-theme="dark"] :is(.cf-root, .ca-root, .av-root, .sv-root, .fd-root):not([data-bs-theme="light"]) .fd-toolbar {
  background: #2c5282 !important;
  border-bottom: 2px solid #00bfff !important;
  box-shadow: inset 0 -1px 0 rgba(0, 191, 255, 0.25);
}

html[data-bs-theme="dark"] .cf-root:not([data-bs-theme="light"]) .fd-toolbar-container {
  background: #111820 !important;
  border-bottom-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .cf-root:not([data-bs-theme="light"]) .cf-panel,
html[data-bs-theme="dark"] .cf-root:not([data-bs-theme="light"]) .cf-footer-bar {
  background: #162032 !important;
  border-color: #2a3a54 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

html[data-bs-theme="dark"] .cf-root:not([data-bs-theme="light"]) .cf-divider {
  border-top-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .cf-root:not([data-bs-theme="light"]) .cf-lbl,
html[data-bs-theme="dark"] .cf-root:not([data-bs-theme="light"]) .cf-check {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .cf-root:not([data-bs-theme="light"]) .cf-fi {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
}

html[data-bs-theme="dark"] .cf-root:not([data-bs-theme="light"]) .cf-fi:focus {
  background: #111827 !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
}

html[data-bs-theme="dark"] .ca-root:not([data-bs-theme="light"]) .ca-table-area,
html[data-bs-theme="dark"] .ca-root:not([data-bs-theme="light"]) .ca-bottom-bar {
  background: #0f1724 !important;
  border-color: #2a3a54 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .ca-root:not([data-bs-theme="light"]) .ca-header-table thead th {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%) !important;
}

html[data-bs-theme="dark"] .ca-root:not([data-bs-theme="light"]) .ca-input-row td {
  background: #111820 !important;
  border-bottom-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .ca-root:not([data-bs-theme="light"]) .ca-fi {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
}

html[data-bs-theme="dark"] .ca-root:not([data-bs-theme="light"]) .ca-scroll-table tbody td {
  color: #e2e8f0 !important;
  border-color: #243047 !important;
}

html[data-bs-theme="dark"] .ca-root:not([data-bs-theme="light"]) .ca-scroll-table tbody tr {
  border-bottom-color: #243047 !important;
}

html[data-bs-theme="dark"] .ca-root:not([data-bs-theme="light"]) .ca-scroll-table tbody tr:nth-child(even) {
  background: #1e2a3e !important;
}

html[data-bs-theme="dark"] .ca-root:not([data-bs-theme="light"]) .ca-scroll-table tbody tr:hover {
  background: #1e3050 !important;
}

html[data-bs-theme="dark"] .ca-root:not([data-bs-theme="light"]) .ca-scroll-table tbody tr.active {
  background: rgba(44, 82, 130, 0.55) !important;
}

html[data-bs-theme="dark"] .ca-root:not([data-bs-theme="light"]) .ca-scroll-wrap::-webkit-scrollbar-track {
  background: #1e293b !important;
}

html[data-bs-theme="dark"] .av-root:not([data-bs-theme="light"]) .av-panel {
  background: #162032 !important;
  border-color: #2a3a54 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

html[data-bs-theme="dark"] .av-root:not([data-bs-theme="light"]) .av-lbl {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .av-root:not([data-bs-theme="light"]) .av-fi {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
}

html[data-bs-theme="dark"] .av-root:not([data-bs-theme="light"]) .av-fi:focus {
  background: #111827 !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
}

html[data-bs-theme="dark"] .sv-root:not([data-bs-theme="light"]) .sv-panel {
  background: #162032 !important;
  border-color: #2a3a54 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

html[data-bs-theme="dark"] .sv-root:not([data-bs-theme="light"]) .sv-panel-head {
  background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%) !important;
  border-bottom: 2px solid #00bfff !important;
}

html[data-bs-theme="dark"] .sv-root:not([data-bs-theme="light"]) .sv-lbl {
  color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .sv-root:not([data-bs-theme="light"]) .sv-fi {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f8fafc !important;
}

html[data-bs-theme="dark"] .sv-root:not([data-bs-theme="light"]) .sv-fi:focus {
  background: #111827 !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
}

html[data-bs-theme="dark"] .fd-root:not([data-bs-theme="light"]) .fd-adres-bar {
  background: #111820 !important;
  border-bottom-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .fd-root:not([data-bs-theme="light"]) .fd-form-box {
  background: #162032 !important;
  border-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .fd-root:not([data-bs-theme="light"]) .lbl {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .fd-root:not([data-bs-theme="light"]) .fi {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
}

/* === modals/lojistikYonetimi/SevkiyatPlanlama.vue (.svp-root scoped açık tema — koyu uyum) === */
html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) {
  background: transparent !important;
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-left,
html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-right {
  background: #162032 !important;
  border-color: #2a3a54 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-right-title {
  background: #111820 !important;
  color: #cbd5e1 !important;
  border-bottom-color: #2a3a54 !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-notes {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-help {
  background: #141c2c !important;
  border-top-color: #2a3a54 !important;
  color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-right-total {
  background: #141c2c !important;
  border-top-color: #2a3a54 !important;
  color: #93c5fd !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-empty {
  color: #94a3b8 !important;
  background: #162032 !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-empty-panel {
  background: #162032 !important;
  border-color: #2a3a54 !important;
  color: #94a3b8 !important;
  padding: 10px 8px !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-group td {
  color: #cbd5e1 !important;
  background: #1e293b !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-group:not(.svp-group--clickable) td {
  color: #e2e8f0 !important;
  background: linear-gradient(180deg, #243047 0%, #1a2436 100%) !important;
  border-top-color: #334155 !important;
  border-bottom-color: #334155 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-grand td {
  color: #93c5fd !important;
  background: #141c2c !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-row:hover {
  background: #1e3050 !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-link {
  color: #93c5fd !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-table thead tr {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%) !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-table thead th {
  color: #eef4ff !important;
  border-bottom-color: rgba(255, 255, 255, 0.18) !important;
  border-right-color: rgba(255, 255, 255, 0.15) !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-table th,
html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-table td {
  border-color: #243047 !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-table-vehicle tbody tr.active {
  background: rgba(44, 82, 130, 0.55) !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-checkbox {
  background-color: #0d1117 !important;
  border-color: #4b5563 !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .sp-td-expand {
  color: #60a5fa !important;
}

html[data-bs-theme="dark"] .m-root.svp-root:not([data-bs-theme="light"]) .svp-mini-btn {
  background: #1e293b !important;
  border-color: #3a5080 !important;
  color: #cbd5e1 !important;
}

/* Teleport: FirmaAciklamaModal — .m-root dışında */
html[data-bs-theme="dark"] .fa-dialog {
  background: #1a202c !important;
  border: 1px solid #334155;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 191, 255, 0.12);
}

html[data-bs-theme="dark"] .fa-header {
  background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%) !important;
  border-bottom: 2px solid #00bfff !important;
}

html[data-bs-theme="dark"] .fa-body {
  background: #1a202c !important;
}

html[data-bs-theme="dark"] .fa-textarea {
  background: #0d1117 !important;
  border-color: #30363d !important;
  color: #f1f5f9 !important;
}

html[data-bs-theme="dark"] .fa-textarea:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3) !important;
}

html[data-bs-theme="dark"] .fa-hint {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .fa-footer {
  background: #162032 !important;
  border-top-color: #334155 !important;
}

/* === modals/lojistikYonetimi/SehiriciToplamaDagitim.vue — koyu rapor yerleşimi === */
.m-root.std-root {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.std-main {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px 10px;
}

/* Şehiriçi T.D. — üst şerit: araç + bölge + arama tek satır, kontrol yüksekliği 36px */
.std-top-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 6px 12px;
}

.m-root.std-root .std-top-strip .fd-toolbar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.std-top-toolbar {
  flex-shrink: 0;
  padding-left: 16px !important;
}

.m-root.std-root .std-top-strip .ib {
  width: 36px;
  height: 36px;
}

.m-root.std-root .std-top-strip .ib .icon-pill {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.m-root.std-root .std-top-strip .ib .icon-pill svg {
  width: 18px;
  height: 18px;
}

.std-top-filters {
  display: flex;
  flex: 1;
  min-width: 200px;
  align-items: center;
  gap: 8px;
}

.std-top-strip .rsp-select,
.std-top-strip .rsp-search-input {
  height: 36px !important;
  min-height: 36px;
  box-sizing: border-box;
}

.std-top-strip .rsp-search-input {
  line-height: 1.2;
}

.std-top-strip .std-mini-btn {
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.std-arama-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  flex: 0 1 auto;
  min-width: 0;
}

.std-arama-inline .std-arama-input {
  width: min(200px, 28vw);
  min-width: 120px;
  flex: 0 1 200px;
}

.std-arama-inline .std-chk-lbl,
.std-arama-inline .std-radio-group label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.std-radio-group--nowrap {
  flex-wrap: nowrap;
}

.std-bolge-select {
  min-width: 120px;
}

.std-bolge-txt {
  flex: 1;
  min-width: 180px;
  max-width: none;
}

.std-chk-lbl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #cbd5e1;
  cursor: pointer;
  user-select: none;
}

.std-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 12px;
  color: #94a3b8;
}

.std-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.std-arama-input {
  width: min(280px, 100%);
}

.std-mini-btn {
  height: 28px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  border: 1px solid #3b82f6;
  border-radius: 4px;
  background: linear-gradient(180deg, #1e3a5f 0%, #172554 100%);
  color: #e2e8f0;
  cursor: pointer;
}

.std-mini-btn:hover {
  filter: brightness(1.08);
}

.std-split-top {
  align-items: stretch;
}

.std-split-bot {
  align-items: start;
}

.std-fs {
  margin: 0;
  padding: 8px 10px 10px;
  border: 1px solid #2a3a54;
  border-radius: 8px;
  background: #111820;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.std-fs-legend {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #93c5fd;
}

.std-table-panel {
  max-height: 240px;
  min-height: 120px;
}

.std-mall-table {
  font-size: 12px;
}

.std-mall-table th,
.std-mall-table td {
  white-space: nowrap;
}

.std-fs-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
}

.std-fs-sum {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}

.std-sum-kirmizi {
  color: #f87171 !important;
}

.std-sum-mavi {
  color: #60a5fa !important;
}

.std-arac-panel {
  min-height: 0;
}

.std-mini-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 8px;
  border-bottom: 1px solid #2a3a54;
  background: #0f1724;
}

.std-tb-btn {
  height: 26px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 700;
  font-family: inherit;
  border: 1px solid #334155;
  border-radius: 4px;
  background: #1e293b;
  color: #cbd5e1;
  cursor: pointer;
}

.std-tb-btn:hover {
  border-color: #00bfff;
  color: #fff;
}

.std-arac-table {
  margin: 6px 8px 8px;
}

.std-plan-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.std-fs--plan {
  flex: 1;
  min-height: 280px;
}

.std-plan-table {
  font-size: 12px;
}

.std-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.std-tag--t {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}

.std-tag--d {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.std-plan-alt {
  padding: 8px 10px;
  border-top: 1px solid #2a3a54;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.std-plan-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.std-plan-row .sv-fi {
  flex: 1;
  min-width: 100px;
}

.std-plan-not {
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 1.45;
  color: #94a3b8;
}

.std-not-k {
  color: #f87171;
  font-weight: 700;
}

.std-not-m {
  color: #94a3b8;
  font-weight: 700;
}

.std-fs-footer--plan {
  border-top: 1px solid #2a3a54;
  padding-top: 8px;
  margin-top: auto;
}

/* Sefer seçim overlay */
.std-sefer-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 16px;
}

.std-sefer-dialog {
  width: min(720px, 100%);
  max-height: min(560px, 90vh);
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 191, 255, 0.15);
}

.std-sefer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%);
  border-bottom: 2px solid #00bfff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.std-sefer-x {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.25);
  color: #fecaca;
  cursor: pointer;
}

.std-sefer-x:hover {
  background: #ef4444;
  color: #fff;
}

.std-sefer-tb {
  flex-shrink: 0;
}

.std-sefer-fbar {
  flex-shrink: 0;
}

.std-sefer-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0;
}

.std-sefer-status {
  flex-shrink: 0;
}

.m-root.m-root--report-dark .std-fs {
  border-color: #2a3a54;
  background: #111820;
}

.m-root.m-root--report-dark .std-sefer-dialog {
  background: #1a202c;
}

/* Şehiriçi: depo grupları + plan bölümleri */
.std-grup-bar td {
  padding: 6px 10px !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none !important;
}

.std-grup-bar--topla td {
  background: linear-gradient(135deg, #1e4976 0%, #2c5282 100%);
  color: #e0f2fe;
  border-bottom: 2px solid #00bfff !important;
}

.std-grup-bar--dagit td {
  background: linear-gradient(135deg, #1a3d5c 0%, #2563a8 100%);
  color: #e0f2fe;
  border-bottom: 2px solid #38bdf8 !important;
}

.std-grup-bar--plan td,
.std-grup-bar--plan-d td {
  background: linear-gradient(135deg, #2c5282 0%, #1e4976 100%);
  color: #f8fafc;
  border-bottom: 2px solid #00bfff !important;
  font-size: 11.5px;
}

.std-grup-sum td {
  padding: 4px 8px !important;
  font-size: 11px;
  font-weight: 700;
  border-top: 1px solid #334155 !important;
}

.std-grup-sum--topla .std-grup-sum-lbl,
.std-grup-sum--topla .std-grup-sum-val {
  color: #f87171 !important;
}

.std-grup-sum--dagit .std-grup-sum-lbl,
.std-grup-sum--dagit .std-grup-sum-val {
  color: #60a5fa !important;
}

.std-grup-sum-lbl {
  text-align: right;
  padding-right: 12px !important;
}

.std-grup-sum--plan .std-grup-sum-lbl--plan {
  text-align: right;
  color: #fca5a5 !important;
  font-weight: 700;
}

.std-grup-sum--plan .std-grup-sum-val {
  color: #fca5a5 !important;
}

.std-plan-sec td {
  padding: 8px 10px !important;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #450a0a !important;
  color: #fecaca !important;
  border: 1px solid #7f1d1d !important;
}

.std-plan-sec--dagit td {
  background: #1e3a5f !important;
  color: #bfdbfe !important;
  border-color: #2c5282 !important;
}

.std-sip-cell {
  color: #60a5fa !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: default;
}

.std-plan-scroll {
  max-height: 320px;
}

.std-plan-foot-hint {
  margin: 8px 10px 0;
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.5;
  color: #94a3b8;
  background: #0f1724;
  border: 1px solid #2a3a54;
  border-radius: 6px;
}

.std-plan-foot-hint ol {
  margin: 4px 0 0 18px;
  padding: 0;
}

/* ═══ Şehiriçi Toplama Dağıtım (.m-root.std-root) — açık / koyu tema uyumu ═══
   Açık temada std-fs vb. sabit koyu kalıp cm-tablo/sv-panel beyaz kalıyordu; koyu temada
   tüm gövde ile aynı palete çekilir. */
html:not([data-bs-theme="dark"]) .m-root.std-root .std-fs {
  background: #ffffff;
  border-color: #dde3ec;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-fs-legend {
  color: #1e3a5f;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-chk-lbl {
  color: #475569;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-radio-group,
html:not([data-bs-theme="dark"]) .m-root.std-root .std-radio-group label {
  color: #64748b;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-fs-sum:not(.std-sum-kirmizi):not(.std-sum-mavi) {
  color: #64748b;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-mini-toolbar {
  background: #f1f5f9;
  border-bottom-color: #e2e8f0;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-tb-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-tb-btn:hover {
  border-color: #3b82f6;
  color: #1e3a5f;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-plan-alt {
  border-top-color: #e2e8f0;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-plan-not {
  color: #64748b;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-fs-footer--plan {
  border-top-color: #e2e8f0;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-sip-cell {
  color: #2563eb !important;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-plan-sec td {
  background: #fef2f2 !important;
  color: #991b1b !important;
  border-color: #fecaca !important;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-plan-sec--dagit td {
  background: #eff6ff !important;
  color: #1e40af !important;
  border-color: #bfdbfe !important;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-plan-foot-hint {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #64748b;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-grup-sum td {
  border-top-color: #e2e8f0 !important;
}
html:not([data-bs-theme="dark"]) .m-root.std-root .std-mini-btn {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #3b82f6;
  color: #1e40af;
}

html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-fs {
  background: #111820;
  border-color: #2a3a54;
  box-shadow: none;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-fs-legend {
  color: #93c5fd;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-chk-lbl {
  color: #cbd5e1;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-radio-group,
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-radio-group label {
  color: #94a3b8;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-fs-sum:not(.std-sum-kirmizi):not(.std-sum-mavi) {
  color: #94a3b8;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-mini-toolbar {
  background: #0f1724;
  border-bottom-color: #2a3a54;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-tb-btn {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-plan-alt {
  border-top-color: #2a3a54;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-plan-not {
  color: #94a3b8;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-fs-footer--plan {
  border-top-color: #2a3a54;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-sip-cell {
  color: #60a5fa !important;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-plan-foot-hint {
  background: #0f1724;
  border-color: #2a3a54;
  color: #94a3b8;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .kt-panel.cm-table-panel,
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .cm-table-panel.std-table-panel {
  background: #0f1724 !important;
  border-color: #2a3a54 !important;
  box-shadow: none !important;
}
html[data-bs-theme="dark"] .m-root.std-root:not([data-bs-theme="light"]) .std-mini-btn {
  background: linear-gradient(180deg, #1e3a5f 0%, #172554 100%);
  border-color: #3b82f6;
  color: #e2e8f0;
}

html[data-bs-theme="dark"] .m-root.std-root .std-top-strip .fd-toolbar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.sv-panel--no-mb-c{
  max-height: 350px;
  overflow: auto;
}

.sv-panel--no-mb-c .sv-panel-head{
  position: sticky;
  top: 0;
}