/* ---------- Palet ve tipografi ---------- */
:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --border: #e8edf7;
  --primary: #1e3a8a;
  --primary-2: #3552a6;
  --accent: #5ac8fa;
  --success: #10b981;
  --danger: #ef4444;
  --text: #222b45;
  --muted: #6b7280;
  --shadow: 0 8px 24px rgba(25, 45, 90, 0.12);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: linear-gradient(180deg, #f6f8fc 0%, #eef3fb 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans";
}

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(25,45,90,0.16);
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 99;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-row { display:flex; align-items:center; gap:12px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:600;
  box-shadow: var(--shadow);
}
.brand-name { font-weight: 700; letter-spacing: 0.2px; color: var(--primary); }
.brand-script {
  font-family: "GreatVibes", cursive;
  font-size: 24px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-actions { display:flex; gap:8px; }
.hamburger { display:none; font-size: 20px; color: var(--primary); cursor:pointer; }
@media (max-width: 768px) {
  .nav-actions { display:none; }
  .hamburger { display:block; }
}

/* ---------- Grid sistemleri ---------- */
.grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 992px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; }
}

/* ---------- Formlar ---------- */
label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
  display:block;
}
.input, textarea, select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(90,200,250,0.25);
}

/* ---------- Butonlar ---------- */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor:pointer;
  transition: background .2s ease, box-shadow .2s ease, transform .1s ease;
}
.btn:hover { box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color:#fff;
  border-color: var(--primary);
}
.btn-danger {
  background: var(--danger);
  color:#fff;
  border-color: var(--danger);
}
.btn-outline {
  background:#fff;
  color: var(--primary);
  border-color: var(--primary);
}

/* ---------- Tablo ---------- */
.table { width:100%; border-collapse: collapse; }
.table thead th {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--muted);
  background: #f9fbff;
  text-align:left;
}
.table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align:left;
}
.table tr:hover td { background: #f9fbff; }

/* ---------- KPI ve badge ---------- */
.badge {
  font-size: 12px;
  padding:4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color:#1f3a8a;
  display:inline-block;
}
.kpi {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.kpi .item {
  background: var(--surface);
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  box-shadow: var(--shadow);
}
.kpi .title {
  margin:0;
  font-size:13px;
  color:var(--muted);
}
.kpi .val {
  font-weight:700;
  font-size:20px;
  margin-top:6px;
}

/* ---------- Firma kartları ---------- */
.firm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.firm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.firm-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(25,45,90,0.12);
}
.firm-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.firm-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold;
  font-size: 18px;
}
.firm-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
}
.firm-contact {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 