:root {
  --lacivert: #1F3864;
  --lacivert-acik: #EEF2FF;
  --kirmizi: #9C0006;
  --border: #D0D7E8;
}

* { box-sizing: border-box; }

body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: #f4f6fb;
  color: #1a1a1a;
}

header {
  background: var(--lacivert);
  color: white;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 { font-size: 20px; margin: 0; }

header button {
  background: white;
  color: var(--lacivert);
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.cikis-link {
  color: white;
  font-size: 13px;
  margin-left: 12px;
  text-decoration: underline;
}

#filtreler {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 24px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.filtre-grup { display: flex; flex-direction: column; min-width: 160px; }
.filtre-ara { flex: 1; min-width: 240px; }
.filtre-grup label { font-size: 12px; font-weight: bold; color: var(--lacivert); margin-bottom: 4px; }
.filtre-grup select, .filtre-grup input {
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
}

#istatistikler {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
}

.stat-kutu {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  min-width: 150px;
  flex: 1;
}

.stat-baslik { display: block; font-size: 11px; color: #666; }
.stat-deger { display: block; font-size: 18px; font-weight: bold; color: var(--lacivert); margin-top: 4px; }

#icerik {
  display: flex;
  gap: 16px;
  padding: 0 24px 24px;
  align-items: flex-start;
}

#tabloAlani { flex: 2; background: white; border-radius: 8px; border: 1px solid var(--border); padding: 12px; }
#detayKarti { flex: 1; background: white; border-radius: 8px; border: 1px solid var(--border); padding: 16px; position: sticky; top: 16px; }
#detayKarti h2 { font-size: 16px; color: var(--lacivert); margin-top: 0; }
.detay-ipucu { color: #888; font-size: 13px; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px; border-bottom: 1px solid var(--border); text-align: left; font-size: 13px; }
th { background: var(--lacivert); color: white; cursor: pointer; user-select: none; position: sticky; top: 0; }
tbody tr:nth-child(even) { background: var(--lacivert-acik); }
tbody tr:hover { background: #dfe6fb; cursor: pointer; }

#sonucSayisi { font-size: 12px; color: #666; margin-top: 8px; }

#detayTablo td:first-child { font-weight: bold; color: var(--lacivert); width: 45%; }

.giris-kutusu {
  max-width: 340px;
  margin: 120px auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
}
.giris-kutusu h1 { font-size: 18px; color: var(--lacivert); margin-bottom: 8px; }
.giris-kutusu p { color: #666; font-size: 13px; margin-bottom: 20px; }
.giris-kutusu form { display: flex; flex-direction: column; gap: 12px; }
.giris-kutusu input {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
}
.giris-kutusu button {
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: var(--lacivert);
  color: white;
  font-weight: bold;
  cursor: pointer;
}
.giris-hata { color: var(--kirmizi); font-size: 13px; margin-top: 12px; }
