/* ==========================================================================
   İnşaat Takip — Premium Design System v2
   Renk paleti: Indigo / Violet / Emerald. Dark sidebar + light content.
   ========================================================================== */

/* ------ Tasarım Değişkenleri ------ */
:root {
  /* Palet */
  --indigo-50:  #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-900: #1e1b4b;

  /* Semantik */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --primary-glow: 0 4px 20px rgba(99,102,241,.35);
  --primary-soft: rgba(99,102,241,.1);

  /* Yüzeyler */
  --bg: #f4f5fc;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --surface-3: #e8ebf4;
  --border: #e5e7eb;
  --border-light: #f0f1f6;

  /* Metin */
  --text: #1e1b4b;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --text-soft: #9ca3af;

  /* Gölgeler */
  --shadow-xs: 0 1px 2px rgba(31,41,55,.04);
  --shadow-sm: 0 2px 8px rgba(99,102,241,.07), 0 1px 3px rgba(0,0,0,.04);
  --shadow:    0 4px 20px rgba(99,102,241,.10), 0 2px 8px rgba(0,0,0,.05);
  --shadow-lg: 0 8px 36px rgba(99,102,241,.14), 0 4px 14px rgba(0,0,0,.07);
  --shadow-xl: 0 20px 60px rgba(99,102,241,.20), 0 8px 24px rgba(0,0,0,.10);

  /* Durum */
  --success: #059669; --success-light: #10b981; --success-soft: #d1fae5;
  --danger:  #dc2626; --danger-light:  #ef4444; --danger-soft:  #fee2e2;
  --warning: #d97706; --warning-light: #f59e0b; --warning-soft: #fef3c7;
  --info:    #0284c7; --info-light:    #0ea5e9; --info-soft:    #e0f2fe;

  /* Layout */
  --sidebar-w: 264px;
  --header-h: 70px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Sidebar */
  --sb-bg1: #0f172a;
  --sb-bg2: #1e1b4b;
  --sb-text: rgba(255,255,255,.55);
  --sb-text-hover: rgba(255,255,255,.90);
  --sb-active: rgba(99,102,241,.22);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --bg: #080d1a;
  --surface: #111827;
  --surface-2: #1a2035;
  --surface-3: #1f2849;
  --border: #1f2937;
  --border-light: #1a2035;
  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #6b7280;
  --text-soft: #374151;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.35);
  --shadow: 0 4px 20px rgba(0,0,0,.45);
  --shadow-lg: 0 8px 36px rgba(0,0,0,.55);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.65);
  --primary: #818cf8;
  --primary-dark: #6366f1;
  --primary-gradient: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
  --primary-soft: rgba(129,140,248,.12);
  --success: #10b981; --success-soft: #022c22;
  --danger:  #ef4444; --danger-soft:  #2d1010;
  --warning: #f59e0b; --warning-soft: #291d05;
  --info:    #0ea5e9; --info-soft:    #031e2f;
  --sb-bg1: #050810;
  --sb-bg2: #0f172a;
}

/* ------ Reset ------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ------ Layout Shell ------ */
.app { display: flex; min-height: 100vh; }

/* === SIDEBAR === */
.sidebar {
  width: var(--sidebar-w);
  background: linear-gradient(170deg, var(--sb-bg1) 0%, var(--sb-bg2) 100%);
  border-right: 1px solid rgba(255,255,255,.05);
  position: fixed; top: 0; left: 0; bottom: 0;
  display: flex; flex-direction: column;
  padding: 20px 12px;
  z-index: 40;
  transition: transform .25s ease;
}
.sidebar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(99,102,241,.15) 0%, transparent 60%);
  pointer-events: none;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px 24px;
}
.brand-logo {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--primary-gradient);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px;
  box-shadow: var(--primary-glow);
  flex-shrink: 0;
}
.brand-name { font-weight: 700; font-size: 15.5px; color: #fff; letter-spacing: -.2px; }
.brand-sub { font-size: 10.5px; color: rgba(255,255,255,.4); }

.nav { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; flex: 1; }
.nav-section { font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: rgba(255,255,255,.25); padding: 16px 14px 6px; }

.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px; border-radius: 11px;
  color: var(--sb-text); font-weight: 500; font-size: 14px;
  transition: all .15s ease; position: relative; cursor: pointer;
}
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-item:hover { background: rgba(255,255,255,.08); color: var(--sb-text-hover); }
.nav-item.active {
  background: var(--sb-active); color: #ffffff; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.nav-item.active::before {
  content: ''; position: absolute;
  left: 0; top: 6px; bottom: 6px; width: 3px;
  background: var(--primary-gradient); border-radius: 0 3px 3px 0;
}

.sidebar-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 12px;
  margin-top: 8px;
}
.sidebar-footer .nav-item { color: rgba(255,255,255,.4); }
.sidebar-footer .nav-item:hover { color: var(--danger-light); background: rgba(239,68,68,.1); }

/* === MAIN === */
.main { flex: 1; margin-left: var(--sidebar-w); display: flex; flex-direction: column; min-width: 0; }

/* === HEADER === */
.header {
  height: var(--header-h);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 14px; padding: 0 28px;
  box-shadow: 0 1px 0 var(--border-light), var(--shadow-xs);
}
.page-title { font-size: 18px; font-weight: 700; letter-spacing: -.3px; color: var(--text); }

/* --- Search --- */
.search-box { position: relative; flex: 1; max-width: 440px; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--text-soft); }
.search-box input {
  width: 100%; height: 42px; padding: 0 16px 0 42px;
  border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--surface-2); color: var(--text); font-size: 13.5px;
  outline: none; transition: all .18s;
}
.search-box input:focus {
  border-color: var(--primary); background: var(--surface);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-xl); overflow: hidden; z-index: 50;
  max-height: 380px; overflow-y: auto;
}
.search-results .sr-item { display: flex; align-items: center; gap: 10px; padding: 11px 16px; cursor: pointer; }
.search-results .sr-item:hover { background: var(--surface-2); }
.sr-tag { font-size: 10px; padding: 3px 9px; border-radius: 20px; background: var(--primary-soft); color: var(--primary); font-weight: 700; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border-light);
  transition: all .15s; position: relative;
}
.icon-btn:hover { background: var(--surface-3); color: var(--text); border-color: var(--border); }
.icon-btn svg { width: 18px; height: 18px; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 5px 10px 5px 6px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--border-light); }
.avatar {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--primary-gradient); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  box-shadow: 0 2px 8px rgba(99,102,241,.4);
}
.user-chip .u-name { font-size: 13px; font-weight: 600; line-height: 1.1; }
.user-chip .u-role { font-size: 11px; color: var(--text-soft); display: flex; align-items: center; gap: 4px; }

/* === CONTENT === */
.content { padding: 26px 28px; flex: 1; }

/* === CARDS === */
.card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease;
}
.card:hover { box-shadow: var(--shadow); }
.card-pad { padding: 22px; }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border-light);
}
.card-header h3 { font-size: 15px; font-weight: 700; color: var(--text); }

.hero-card {
  background:
    radial-gradient(900px 220px at 0% 0%, var(--primary-soft) 0%, transparent 60%),
    var(--surface);
}

.metric-card {
  border-left: 3px solid color-mix(in srgb, var(--primary) 45%, transparent);
}

/* Inline icon+text pairs — constrains SVG to text size */
.info-strip { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-muted); }
.info-strip span { display: inline-flex; align-items: center; gap: 5px; }
.info-strip svg { width: 14px; height: 14px; flex-shrink: 0; }

/* === STAT CARDS === */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 16px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 20px 22px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary-gradient); border-radius: var(--radius) var(--radius) 0 0;
}
.stat-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--primary-soft); pointer-events: none;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 16px; position: relative;
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-label { font-size: 12.5px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .3px; }
.stat-value { font-size: 27px; font-weight: 800; letter-spacing: -.7px; margin-top: 5px; color: var(--text); }
.stat-sub { font-size: 12px; color: var(--text-soft); margin-top: 4px; }

/* Stat card tone sistemi — zengin degradeler */
.tone-primary { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%); color: #4338ca; }
.tone-success { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); color: #065f46; }
.tone-danger  { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); color: #991b1b; }
.tone-warning { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); color: #92400e; }
.tone-info    { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); color: #0c4a6e; }
[data-theme="dark"] .tone-primary { background: rgba(99,102,241,.2);  color: #a5b4fc; }
[data-theme="dark"] .tone-success { background: rgba(16,185,129,.18); color: #6ee7b7; }
[data-theme="dark"] .tone-danger  { background: rgba(239,68,68,.18);  color: #fca5a5; }
[data-theme="dark"] .tone-warning { background: rgba(245,158,11,.18); color: #fcd34d; }
[data-theme="dark"] .tone-info    { background: rgba(14,165,233,.18); color: #7dd3fc; }

/* === GRID YARDIMCILARI === */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.section-gap { margin-top: 20px; }
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.wrap { flex-wrap: wrap; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 11px;
  font-weight: 600; font-size: 13.5px; border: 1px solid transparent;
  white-space: nowrap; transition: all .18s ease; cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--primary-gradient); color: #fff; border-color: transparent;
  box-shadow: var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(99,102,241,.5); filter: brightness(1.06); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--surface-2); color: var(--text-secondary); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-3); border-color: var(--border); }
.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; }
.btn-icon { width: 34px; height: 34px; padding: 0; justify-content: center; flex-shrink: 0; }

/* === TABLES === */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; }
table.data th {
  text-align: left; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-soft); padding: 12px 18px;
  border-bottom: 1px solid var(--border-light); background: var(--surface-2);
  white-space: nowrap;
}
table.data th:first-child { border-radius: 10px 0 0 0; }
table.data th:last-child  { border-radius: 0 10px 0 0; }
table.data td { padding: 13px 18px; border-bottom: 1px solid var(--border-light); font-size: 13.5px; }
table.data tbody tr { transition: background .1s; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data tbody tr:last-child td { border-bottom: none; }

/* === BADGES === */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 20px;
  letter-spacing: .1px;
}
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger  { background: var(--danger-soft);  color: var(--danger); }
.badge-info    { background: var(--info-soft);    color: var(--info); }
.badge-muted   { background: var(--surface-2);    color: var(--text-muted); }
.badge-primary { background: var(--primary-soft); color: var(--primary); }

/* === FORMS === */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 7px; color: var(--text-secondary); }
.form-control {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 11px;
  border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text);
  font-size: 13.5px; outline: none; transition: all .18s;
}
textarea.form-control { height: auto; padding: 11px 14px; resize: vertical; min-height: 88px; }
.form-control:focus { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--primary-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mb-0 { margin-bottom: 0 !important; }

/* === MODAL === */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; animation: fadeIn .22s ease; }
.modal {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); border: 1px solid var(--border-light);
  width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto;
  animation: popIn .24s cubic-bezier(.175,.885,.32,1.275);
}
.modal.wide { max-width: 740px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border-light); }
.modal-header h3 { font-size: 16.5px; font-weight: 700; }
.modal-body { padding: 22px 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border-light); display: flex; gap: 10px; justify-content: flex-end; background: var(--surface-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes popIn { from { opacity:0; transform: scale(.94) translateY(12px); } to { opacity:1; transform: scale(1) translateY(0); } }

/* === TABS === */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border-light); margin-bottom: 20px; overflow-x: auto; }
.tab { padding: 12px 18px; font-weight: 600; font-size: 13.5px; color: var(--text-muted); border-bottom: 2.5px solid transparent; white-space: nowrap; transition: all .15s; cursor: pointer; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .2s ease; }

/* === PAGINATION === */
.pagination { display: flex; gap: 5px; align-items: center; justify-content: flex-end; margin-top: 16px; }
.pagination button { min-width: 36px; height: 36px; border-radius: 9px; background: var(--surface-2); color: var(--text-muted); font-weight: 600; padding: 0 8px; border: 1px solid var(--border-light); transition: all .15s; }
.pagination button:hover:not(:disabled) { background: var(--surface-3); }
.pagination button.active { background: var(--primary-gradient); color: #fff; border-color: transparent; box-shadow: 0 2px 8px rgba(99,102,241,.4); }
.pagination button:disabled { opacity: .4; cursor: default; }

/* === EMPTY & LOADING === */
.empty { text-align: center; padding: 52px 20px; color: var(--text-soft); }
.empty svg { width: 48px; height: 48px; margin-bottom: 14px; opacity: .35; display: block; margin-left: auto; margin-right: auto; }
.empty div { font-size: 14px; color: var(--text-muted); }
.spinner {
  width: 36px; height: 36px; margin: 44px auto;
  border: 3px solid var(--border); border-top-color: var(--primary);
  border-radius: 50%; animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === TOAST === */
.toast-wrap { position: fixed; top: 18px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-xl);
  padding: 13px 18px; min-width: 260px; max-width: 380px;
  font-weight: 500; font-size: 13.5px;
  display: flex; align-items: center; gap: 10px;
  animation: toastIn .28s cubic-bezier(.175,.885,.32,1.275);
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error   { border-left: 4px solid var(--danger); }
.toast.warning { border-left: 4px solid var(--warning); }
@keyframes toastIn { from { opacity:0; transform:translateX(36px); } to { opacity:1; transform:translateX(0); } }

/* === CHART === */
.chart-box { position: relative; height: 300px; }
.chart-box.sm { height: 240px; }

/* === REPORTS PAGE === */
.report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.report-filter-card { margin-bottom: 18px; border: 1px solid var(--border-light); }
.report-tabs-card { border: 1px solid var(--border-light); margin-bottom: 18px; }
.report-tabs { margin-bottom: 0; padding: 0 10px; }
.report-tabs .tab {
  border-bottom-width: 2px;
  font-size: 13px;
  color: var(--text-secondary);
}
.report-tabs .tab.active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}
.report-summary-wrap { margin-top: 14px; }
.report-tip-card { border: 1px solid var(--border-light); }
.report-table-card { border: 1px solid var(--border-light); box-shadow: var(--shadow-xs); }
.report-chart-wrap {
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
}
.report-chart-list { display: grid; gap: 12px; }
.report-chart-row { display: grid; gap: 7px; }
.report-chart-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.report-chart-top strong { color: var(--text); font-size: 13px; }
.report-chart-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}
.report-chart-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(79,70,229,.88) 0%, rgba(79,70,229,.58) 100%);
}

/* === LOGIN === */
.login-page {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(99,102,241,.12) 0%, transparent 60%), var(--bg);
}
.login-card {
  width: 100%; max-width: 400px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: 40px 36px;
}
.login-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 30px; }
.login-brand .brand-logo { width: 60px; height: 60px; font-size: 28px; border-radius: 18px; }
.login-brand h1 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.login-brand p { font-size: 13px; color: var(--text-soft); }
.login-hint { text-align: center; margin-top: 16px; font-size: 12px; color: var(--text-soft); }
.login-hint code { background: var(--surface-2); padding: 2px 7px; border-radius: 6px; font-family: monospace; }

/* === INFO CARD (uyarı/bilgi kutuları) === */
.info-card {
  border-radius: 12px; padding: 14px 16px; border: 1px solid;
  display: flex; gap: 12px; align-items: flex-start;
}
.info-card.info    { background: var(--info-soft); border-color: rgba(14,165,233,.25); color: var(--info); }
.info-card.warning { background: var(--warning-soft); border-color: rgba(245,158,11,.25); color: var(--warning); }
.info-card.success { background: var(--success-soft); border-color: rgba(16,185,129,.25); color: var(--success); }

/* === DISTRIBUTION TABLE (şirket giderleri) === */
.dist-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 16px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; }
.dist-row:last-child { border-bottom: none; }
.dist-bar { height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.dist-bar-fill { height: 100%; background: var(--primary-gradient); border-radius: 3px; transition: width .6s ease; }

/* === UTILITIES === */
.text-muted   { color: var(--text-muted) !important; }
.text-soft    { color: var(--text-soft) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-primary { color: var(--primary) !important; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.fs-13 { font-size: 13px; } .fs-12 { font-size: 12px; } .fs-11 { font-size: 11px; }
.money { font-variant-numeric: tabular-nums; font-weight: 600; }
.hide { display: none !important; }

/* === MENU TOGGLE === */
.menu-toggle { display: none; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-xl); }
  .main { margin-left: 0; }