/* ============================================================
   Bekleyen Teslimatlar (teslimatlar) — kısmi teslimat takibi.
   ============================================================ */
.tes { display: flex; flex-direction: column; gap: var(--space-4); }
.tes-title { font-size: var(--fs-xl); font-weight: 900; color: var(--navy); margin: 0; }
.tes-sub { margin: 2px 0 0; color: var(--text-muted); font-size: var(--fs-sm); }
.tes-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tes-tab { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--border); background: var(--surface);
  color: var(--text); padding: 7px 14px; border-radius: var(--radius-full); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.tes-tab:hover { border-color: var(--brand); color: var(--brand); }
.tes-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tes-tab-ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tes-tab-count { font-weight: 800; }
.tes-tab.is-active .tes-tab-count { color: #fff; }
.tes-tab-count:not(:empty) { background: var(--brand); color: #fff; border-radius: var(--radius-full); padding: 0 7px; font-size: var(--fs-xs); }
.tes-tab.is-active .tes-tab-count:not(:empty) { background: rgba(255,255,255,.25); }

.tes-table { width: 100%; }
/* Satır hover (diğer tablolardaki standart vurgu). */
.tes-table tbody tr:hover { background: var(--row-hover); }
.tes-table .tes-kalan { font-weight: 800; color: var(--brand); }
.tes-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-muted); text-align: center; padding: var(--space-8) var(--space-4); }
.tes-empty svg { width: 44px; height: 44px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn--xs { padding: 3px 10px; font-size: var(--fs-xs); min-height: 0; }
