* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1c2430; background: #f4f6f9; }
[hidden] { display: none !important; }
button { font: inherit; padding: 6px 14px; border: 0; border-radius: 6px; background: #1565c0; color: #fff; cursor: pointer; }
button.ikincil { background: #e3e8ef; color: #1c2430; }
input, select { font: inherit; padding: 5px 8px; border: 1px solid #c8d0db; border-radius: 6px; background: #fff; }
.hata { color: #c62828; min-height: 1.4em; margin: 0; }
.soluk { color: #6b7684; font-size: 12px; }

.giris { position: fixed; inset: 0; display: grid; place-items: center; }
.giris-kutu { background: #fff; padding: 28px; border-radius: 12px; box-shadow: 0 4px 24px #0002; display: grid; gap: 12px; width: 300px; }
.giris-kutu h1 { margin: 0 0 8px; font-size: 22px; text-align: center; color: #1565c0; }

header { display: flex; align-items: center; gap: 14px; padding: 8px 16px; background: #fff; border-bottom: 1px solid #dde3ea; height: 52px; }
.logo { color: #1565c0; font-size: 16px; }
nav { display: flex; gap: 4px; }
nav button { background: transparent; color: #1c2430; }
nav button.aktif { background: #e3eefb; color: #1565c0; font-weight: 600; }
.sag { margin-left: auto; color: #6b7684; }

.sekme { height: calc(100vh - 52px); }
#sekme-canli, #sekme-rota { display: flex; }
.yan { width: 360px; overflow-y: auto; padding: 12px; background: #fff; border-right: 1px solid #dde3ea; }
.yan h3 { margin: 16px 0 6px; font-size: 13px; text-transform: uppercase; color: #6b7684; letter-spacing: .04em; }
.harita { flex: 1; }

.kart { border: 1px solid #e3e8ef; border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; cursor: pointer; }
.kart:hover { background: #f7f9fc; }
.kart .ust { display: flex; justify-content: space-between; gap: 8px; }
.kart .alt { color: #6b7684; font-size: 12px; margin-top: 2px; }
.rozet { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.r-dukkanda { background: #e3f4e5; color: #2e7d32; }
.r-yolda { background: #e3eefb; color: #1565c0; }
.r-donuyor { background: #fff1dd; color: #b26a00; }
.r-eski { background: #eceff1; color: #607d8b; }
.r-atama_bekliyor { background: #fde4e4; color: #c62828; }
.r-atandi { background: #fff6d6; color: #8d6e00; }
.r-kabul { background: #e3eefb; color: #1565c0; }
.r-teslim { background: #e3f4e5; color: #2e7d32; }
.r-kapandi { background: #eceff1; color: #455a64; }
.r-iptal { background: #eceff1; color: #9e9e9e; text-decoration: line-through; }
.gecikme { color: #c62828; font-weight: 600; }
.sube-satir { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13px; }

.filtre { display: flex; gap: 12px; align-items: center; padding: 12px 16px; flex-wrap: wrap; }
.filtre.dikey { flex-direction: column; align-items: stretch; padding: 0 0 12px; }
.filtre.dikey label { display: grid; gap: 4px; }
.tablo-kap { overflow: auto; height: calc(100% - 60px); padding: 0 16px 16px; }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: 13px; }
th, td { padding: 6px 8px; border-bottom: 1px solid #eef1f5; text-align: left; white-space: nowrap; }
th { position: sticky; top: 0; background: #f7f9fc; font-weight: 600; z-index: 1; }
td.sayi, th.sayi { text-align: right; font-variant-numeric: tabular-nums; }
tr.fark td { background: #fff4f4; }

.akis { font-size: 13px; border-left: 2px solid #dde3ea; margin: 12px 0 0 6px; padding-left: 12px; }
.akis div { margin-bottom: 8px; cursor: pointer; }
.no-ikon { background: #2e7d32; color: #fff; border-radius: 12px; font-size: 11px; font-weight: 700; text-align: center; line-height: 22px; border: 2px solid #fff; box-shadow: 0 1px 4px #0005; }
