/* =========================
   FONT
========================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

/* =========================
   LAYOUT
========================= */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  height: 100vh;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  height: 50vh;
}
.sidebar-nav a.active {
  background: #2563eb;
  color: #ffffff;
}

.sidebar-nav a.active i {
  color: #ffffff;
}


/* LOGO */
.logo-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 190px;
  margin-bottom: 60px;
}

.logo-box img {
  max-width: 150px;
  max-height: 150px;
  width: auto;
  height: auto;
  display: block;
}

/* NAV */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 12px;
  border-radius: 12px;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  transition: all .25s ease;
}

.sidebar-nav a i {
  font-size: 18px;
  width: 22px;
  text-align: center;
  color: #64748b;
}

/* HOVER */
.sidebar-nav a:hover {
  background: #2563eb;
  color: #ffffff;
}

.sidebar-nav a:hover i {
  color: #ffffff;
}

/* LOGOUT */
.sidebar-nav .logout {
  margin-top: auto;
  background: #fee2e2;
  color: #b91c1c;
}

.sidebar-nav .logout i {
  color: #b91c1c;
}

.sidebar-nav .logout:hover {
  background: #ef4444;
  color: #ffffff;
}

.sidebar-nav .logout:hover i {
  color: #ffffff;
}

/* =========================
   MAIN CONTENT
========================= */
.main {
  padding: 40px;
  overflow-y: auto;
}

/* =========================
   CARDS (GENEL)
========================= */
/* TABLO GENEL */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table thead th,
.data-table tbody td {
  padding: 14px 18px;
  text-align: left;
}

/* SATIRLAR */
.data-table tbody td {
  color: #111827;
  border-bottom: 1px solid #f1f5f9;
}

/* HOVER */
.data-table tbody tr:hover {
  background: #f9fafb;
}

/* =========================
   KPI KARTLAR
========================= */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 35px;
}

.kpi-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
  text-align: right;
}

.kpi-title {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

.kpi-value {
  font-size: 36px;
  font-weight: 700;
}

.kpi-blue .kpi-value {
  color: #2563eb;
}

.kpi-green .kpi-value {
  color: #10b981;
}

/* =========================
   DASHBOARD ORTA ALAN
========================= */
.dashboard-middle {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
  margin-bottom: 50px;
}

.chart-card {
  padding: 20px 25px 30px;
}

.chart-card canvas {
  max-height: 220px;
}

/* =========================
   TABLE – ZENGİN
========================= */
.modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.modern-table thead th {
  text-align: left;              /* ← SOLA YASLA */
  font-size: 20px;
  color: #64748b;
  padding: 0 18px 10px 18px;     /* ← td ile AYNI */
  font-weight: 600;
}

/* TD ile birebir hizalama */
.modern-table tbody td {
  text-align: left;
  padding: 20px 25px;
}
.modern-table thead {
  border-bottom: 1px solid #e5e7eb;
}

.modern-table tbody tr {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.modern-table tbody td {
  padding: 16px 18px;
}

.modern-table tbody tr td:first-child {
  border-radius: 12px 0 0 12px;
}

.modern-table tbody tr td:last-child {
  border-radius: 0 12px 12px 0;
}

/* =========================
   STATUS BADGE
========================= */
.status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.status-badge.açık,
.status-badge.acik {
  background: rgba(37,99,235,.15);
  color: #2563eb;
}

.status-badge.kapalı,
.status-badge.kapali {
  background: rgba(16,185,129,.15);
  color: #10b981;
}

/* =========================
   FORM
========================= */
form input,
form select,
form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

form button {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
}
.status-badge.devamediyor {
  background: rgba(245,158,11,.15);
  color: #f59e0b;
}

/* =========================
   LOGIN
========================= */
.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-box {
  background: #ffffff;
  padding: 45px;
  border-radius: 24px;
  width: 380px;
  box-shadow: 0 40px 80px rgba(0,0,0,.12);
  text-align: center;
}

.login-box h2 {
  margin-bottom: 25px;
}

.login-box input {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.login-box button {
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
}
/* === WORKORDERS TABLE FINAL FIX === */
.main table.workorders-table thead th {
  display: table-cell !important;     /* 🔥 FLEX'İ ÖLDÜRÜR */
  text-align: left !important;        /* 🔥 SOLA YASLA */
  padding-left: 30px !important;      /* ← senin istediğin mesafe */
  padding-right: 18px !important;
  vertical-align: middle;
}

.main table.workorders-table tbody td {
  display: table-cell !important;
  text-align: left !important;
  padding-left: 30px !important;
  padding-right: 18px !important;
}
/* Badge bozulmasın */
.workorders-table td .status-badge {
  display: inline-block;
}
/* === ABSOLUTE FINAL FIX === */
.workorders-table th {
  padding: 0 !important;          /* th etkisiz */
}

.workorders-table th .th-text {
  display: block;                 /* kritik */
  text-align: left;               /* SOL */
  padding-left: 30px;             /* senin istediğin mesafe */
  padding-right: 18px;
  font-weight: 700;
}
/* === FIRMS TABLE HEADER FIX === */
.firms-table th {
  padding: 0 !important;
}

.firms-table th .th-text {
  display: block;
  text-align: left;
  padding-left: 50px;
  padding-right: 18px;
  font-weight: 700;
}

/* satır hizası */
.firms-table td {
  padding-left: 0px !important;
  padding-right: 30px !important;
}
/* İŞ EMRİNİ KAPAT BUTONU */
.btn-close-workorder {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 26px;
  margin-top: 20px;
  margin-bottom: 30px;

  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff;
  font-weight: 600;
  font-size: 14px;

  border-radius: 12px;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(220,38,38,0.25);
  transition: all .25s ease;
}

.btn-close-workorder span {
  font-size: 18px;
}

.btn-close-workorder:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(220,38,38,0.35);
}
.file-input {
  margin-bottom: 25px;
}

.file-help {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 16px;
  gap: 10px;
}
.hi/* ANA TABLO TASARIMI */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* BAŞLIKLAR */
.table thead th,
.table th {
  background: #f9fafb;
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 13px;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

/* SATIRLAR */
.table tbody td,
.table td {
  padding: 14px 18px;
  font-size: 14px;
  color: #111827;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

/* HOVER */
.table tbody tr:hover {
  background: #f9fafb;
}

/* SON SATIR BORDER KALDIR */
.table tbody tr:last-child td {
  border-bottom: none;
}
story-box {
  background:#fff;
  border-radius:16px;
  padding:24px;
  box-shadow:0 20px 40px rgba(0,0,0,.06);
  max-width:900px;
}

.history-box label {
  font-weight:1000;
  margin-bottom:8px;
  display:block;
}

.history-box select {
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  margin-bottom:20px;
}

.history-result table {
  width:100%;
  border-collapse:collapse;
}

.history-result th,
.history-result td {
  padding:12px;
  border-bottom:1px solid #f1f5f9;
  text-align:left;
}

.history-result th {
  font-size:12px;
  color:#6b7280;
}

.muted {
  color:#9ca3af;
  font-size:13px;
}
.history-result td {
  vertical-align: top;
  font-size: 13px;
}

.history-result td:nth-child(4) {
  color: #374151;
  line-height: 1.4;
}
/* ANA TABLO TASARIMI */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* BAŞLIKLAR */
.table thead th,
.table th {
  background: #f9fafb;
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 13px;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

/* SATIRLAR */
.table tbody td,
.table td {
  padding: 14px 18px;
  font-size: 14px;
  color: #111827;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

/* HOVER */
.table tbody tr:hover {
  background: #f9fafb;
}

/* SON SATIR BORDER KALDIR */
.table tbody tr:last-child td {
  border-bottom: none;
}
.equipment-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.equipment-summary span {
  font-size: 12px;
  color: #6b7280;
}

.equipment-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #111827;
}
/* === SERVİS GEÇMİŞİ TABLO SATIRLARINI BÜYÜT === */
.table td,
.table th {
  padding: 18px 20px;   /* ↑ satır yüksekliği */
  font-size: 14.5px;    /* ↑ yazı boyutu */
  line-height: 1.6;     /* ↑ ferahlık */
}

/* Başlıklar biraz daha güçlü olsun */
.table th {
  font-size: 13.5px;
  font-weight: 600;
}

/* Açıklama sütunu ekstra rahat */
.table td:nth-child(4) {
  line-height: 1.7;
}
.table tbody tr {
  transition: background .2s ease;
}

.table tbody tr:hover {
  background: #f9fafb;
}
.card h3 {
  margin-bottom: 14px;
  font-size: 16px;
}

.muted {
  color: #9ca3af;
  font-size: 13px;
}
.scroll-table {
  max-height: 210px;      /* ≈ 3 satır */
  overflow-y: auto;
}

/* Scrollbar daha şık olsun */
.scroll-table::-webkit-scrollbar {
  width: 6px;
}
.scroll-table::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 4px;
}
.btn.small {
  padding: 6px 12px;
  font-size: 12px;
}

.btn.success {
  background: #16a34a;
  color: #fff;
  border: none;
}

.btn.success:hover {
  background: #15803d;
}
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-bar select {
  min-width: 180px;
}
.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px; /* tabloya bitiş */
}

.table-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.filter-inline {
  display: flex;
  gap: 10px;
  align-items: center;
}

.filter-inline select {
  min-width: 160px;
  height: 38px;
}

.filter-inline .btn {
  height: 38px;
  padding: 0 14px;
}
/* Box buton ortak */
.btn.box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s ease;
}

/* Secondary görünüm (Temizle için ideal) */
.btn.box.secondary {
  background: #f9fafb;
  border-color: #e5e7eb;
}

.btn.box.secondary:hover {
  background: #eef2f7;
  border-color: #d1d5db;
  color: #111827;
}
/* SELECT GENEL DÜZELTME */
.filter-inline select {
  min-width: 220px;          /* ❗ önce 160 idi, yetmiyordu */
  max-width: 320px;
  height: 40px;
  padding: 0 14px;
  white-space: nowrap;       /* yazı alt satıra düşmesin */
  overflow: hidden;          /* taşanı gizle */
  text-overflow: ellipsis;   /* ... ile kessin */
}
.edit-btn {
  background: #2563eb;
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.edit-btn:hover {
  background: #1e40af;
}
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
/* Kutulu başlık tasarımı */
.boxed-head thead th {
  background: #f8fafc;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 13px;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}

/* Başlıklar arası yumuşak ayrım */
.boxed-head thead th:first-child {
  border-top-left-radius: 10px;
}

.boxed-head thead th:last-child {
  border-top-right-radius: 10px;
}

/* Tablo gövdesi ile uyum */
.boxed-head tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
}

/* Genel tablo estetiği */
.modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.filter-card {
  padding: 22px 24px;
  margin-bottom: 25px;
}

.filter-grid {
  display: flex;
  gap: 24px;
}

.filter-item {
  flex: 1;
}

.filter-item label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  display: block;
}

.lux-select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .filter-grid {
    flex-direction: column;
  }
}
/* ===============================
   GLOBAL UI SCALE (KÜÇÜLTME)
================================ */

body {
  font-size: 13px;
}

/* GENEL PADDING */
.main {
  padding: 20px;
}

/* KARTLAR */
.card {
  padding: 16px;
  margin-bottom: 16px;
}

/* STAT KUTULARI */
.stat-card {
  padding: 14px;
  gap: 12px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.stat-title {
  font-size: 12px;
}

.stat-value {
  font-size: 20px;
}

/* TABLOLAR */
.modern-table th,
.modern-table td {
  padding: 10px 12px;
  font-size: 12.5px;
}

/* FORM */
input,
select,
textarea {
  padding: 10px 12px;
  font-size: 13px;
}

/* BUTON */
.btn {
  padding: 9px 14px;
  font-size: 13px;
}

/* SIDEBAR */
.sidebar {
  width: 230px; /* sen ne yaptıysan */
}

/* ANA İÇERİK */
.main {
  margin-left: 230px; /* sidebar ile AYNI */
  padding: 20px;
}
h1 {
  font-size: 20px;
}

h3 {
  font-size: 15px;
}
.card + .card {
  margin-top: 12px;
}
.modern-table tr {
  height: 42px;
}
body.compact {
  font-size: 12px;
}
/* ===============================
   HARD LEFT ALIGN FIX
================================ */

/* ANA İÇERİK */
.main {
  margin-left: -70px !important;
  padding: 50px !important;
}

/* KARTLAR TAM GENİŞLİK */
.card {
  width: 100% !important;
  margin: 0 0 16px 0 !important;
  padding: 16px !important;
}

/* FORM VE GRID YAPILARI */
.card form,
.card .form-grid,
.card .stats-grid {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  justify-content: flex-start !important;
}

/* GRID VARSA SÜTUNLAR */
.form-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* INPUT VE TEXTAREA */
input,
select,
textarea {
  width: 100% !important;
}

/* BUTONLAR */
button,
.btn {
  margin-left: 0 !important;
  align-self: flex-start !important;
}

/* TABLOLAR */
.modern-table {
  width: 100% !important;
  margin-left: 0 !important;
}

/* STAT KUTULARI */
.stats-grid {
  justify-content: flex-start !important;
}
/* SERVİS AÇIKLAMASI */
.service-description {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #111827;
}
/* PDF OLUŞTUR BUTONU */
.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  transition: all .2s ease;
}

.btn-pdf i {
  font-size: 18px;
}

.btn-pdf:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
  background: linear-gradient(135deg, #000000, #111827);
}
/* DÜZENLE BUTONU */
.btn-edit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37,99,235,.25);
  transition: all .2s ease;
}

.btn-edit i {
  font-size: 16px;
}

.btn-edit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37,99,235,.35);
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
}
/* SERVİS BİLGİLERİ – TAM SOLA YASLI */
.service-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* SATIRLAR ARTIK ALT ALTA */
.info-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 13px;
}

/* LABEL */
.info-label {
  color: #6b7280;
  font-weight: 500;
}

/* VALUE */
.info-value {
  color: #111827;
  font-weight: 600;
  text-align: left;
}

/* DURUM ROZETİ – SOLDA KALSIN */
.info-value.status {
  margin-top: 2px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  align-self: flex-start;
}

/* DURUM RENKLERİ */
.info-value.status.açık {
  background: #dbeafe;
  color: #1d4ed8;
}

.info-value.status.kapalı {
  background: #dcfce7;
  color: #15803d;
}
.info-label { font-size: 12px; }
.info-value { font-size: 14px; }
/* İŞ EMRİ DETAY BUTONU */
.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #111827;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
  border: 1px solid #e5e7eb;
}

.btn-detail i {
  font-size: 13px;
  color: #2563eb;
}

/* HOVER */
.btn-detail:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}
/* =========================
   WORKORDER STATUS COLORS
========================= */

/* ONAY BEKLENİYOR */
.status-badge.onay {
  background: #fef3c7;
  color: #92400e;
}

/* İŞLEMDE */
.status-badge.islemde {
  background: #e0f2fe;
  color: #0369a1;
}

/* KAPALI */
.status-badge.kapali {
  background: #dcfce7;
  color: #15803d;
}
/* İŞLEMDE */
.status-badge.işlemde {
  background: #e0f2fe;
  color: #0369a1;
}
/* =========================
   WORKORDER ROW STATES
========================= */

/* ONAY BEKLENİYOR – HAFİF SARI */
.row-onay {
  background: #fffbeb;
}

/* İŞLEMDE – HAFİF MAVİ */
.row-islemde {
  background: #f0f9ff;
}

/* KAPALI – HAFİF YEŞİL */
.row-kapali {
  background: #f0fdf4;
}

/* HOVER'DA BİRAZ KOYULAŞSIN */
.row-onay:hover {
  background: #fef3c7;
}

.row-islemde:hover {
  background: #e0f2fe;
}

.row-kapali:hover {
  background: #dcfce7;
}
/* İŞLEMDE SPINNER */
.status-spin {
  margin-left: 6px;
  font-size: 12px;
  vertical-align: middle;
}
/* SATIR RENKLERİ */
.row-onay { background:#fffbeb; }
.row-islemde { background:#f0f9ff; }
.row-kapali { background:#f0fdf4; }

.row-onay:hover { background:#fef3c7; }
.row-islemde:hover { background:#e0f2fe; }
.row-kapali:hover { background:#dcfce7; }

/* SPINNER */
.status-spin {
  margin-left:6px;
  font-size:12px;
}
/* DASHBOARD ORTA ALAN - TEK KOLON */
.dashboard-middle.full-width {
  display: block;
}

/* Yaklaşan Bakımlar kartı TAM GENİŞLİK */
.dashboard-middle.full-width .card {
  width: 100%;
  max-width: 100%;
}
.kpi-yellow {
  background: #fef3c7;
}

.kpi-yellow .kpi-value {
  color: #92400e;
}

.kpi-blue {
  background: #e0f2fe;
}

.kpi-blue .kpi-value {
  color: #0369a1;
}

.kpi-green {
  background: #dcfce7;
}

.kpi-green .kpi-value {
  color: #15803d;
}
.kpi-red {
  background: #fee2e2;
}

.kpi-red .kpi-value {
  color: #b91c1c;
}
/* YAKLAŞAN BAKIMLAR – DAHA UZUN GÖRÜNÜM */
.dashboard-wide .scroll-table {
  max-height: 420px;   /* burayı artır/azalt */
  overflow-y: auto;
}
/* AÇIK İŞ EMİRLERİ – SATIR ARALARI */
.modern-table tbody tr td {
  padding-top: 18px;
  padding-bottom: 18px;
}

