/* Lojistik Panel - tema eklemeleri (Lurid temasının üzerine) */
:root {
    --lj-primary: #5b69bc; --lj-success: #32cb89; --lj-danger: #f35956; --lj-warning: #f7b84b;
    --lj-info: #38b3d6; --lj-secondary: #74788d; --lj-dark: #343a40;
}

/* Logo */
.logo-yazi { color: #fff; font-weight: 600; font-size: 17px; letter-spacing: .5px; white-space: nowrap; }
.logo-yazi .mdi { font-size: 22px; vertical-align: middle; }
.logo-kucuk { color: #fff; font-size: 24px; font-style: normal; }
.navbar-brand-box .logo { line-height: 70px; }
.logo-img { max-width: 190px; object-fit: contain; }

/* Yumuşak rozetler ve arka planlar */
.badge-soft-primary { color: var(--lj-primary); background-color: rgba(91,105,188,.14); }
.badge-soft-success { color: #1f9e68; background-color: rgba(50,203,137,.16); }
.badge-soft-danger { color: #d93b38; background-color: rgba(243,89,86,.14); }
.badge-soft-warning { color: #c88a1c; background-color: rgba(247,184,75,.2); }
.badge-soft-info { color: #2391b1; background-color: rgba(56,179,214,.16); }
.badge-soft-secondary { color: #5f6377; background-color: rgba(116,120,141,.15); }
.badge-soft-dark { color: #343a40; background-color: rgba(52,58,64,.14); }
.bg-soft-primary { background-color: rgba(91,105,188,.14) !important; }
.bg-soft-success { background-color: rgba(50,203,137,.16) !important; }
.bg-soft-danger { background-color: rgba(243,89,86,.14) !important; }
.bg-soft-warning { background-color: rgba(247,184,75,.2) !important; }
.bg-soft-info { background-color: rgba(56,179,214,.16) !important; }
.font-weight-medium { font-weight: 500; }
.font-size-12 { font-size: 12px !important; } .font-size-13 { font-size: 13px !important; }
.font-size-24 { font-size: 24px !important; }

/* Kart istatistikleri */
.stat-kart { border-left: 3px solid transparent; transition: transform .15s; }
.stat-kart:hover { transform: translateY(-2px); }
.stat-kart .stat-ikon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.stat-kart .stat-deger { font-size: 20px; font-weight: 600; line-height: 1.2; }
.stat-kart .stat-etiket { color: #74788d; font-size: 12.5px; }
a.stat-link { color: inherit; } a.stat-link:hover { text-decoration: none; }

/* Liste */
.liste-tablo tbody tr.satir-link { cursor: pointer; }
.liste-tablo td { vertical-align: middle; }
.table-centered td, .table-centered th { vertical-align: middle; }
.page-title-box { padding-bottom: 18px; }
.ust-arama { width: 300px; }
.ust-arama .form-control { border-radius: 20px 0 0 20px; }
.ust-arama .btn { border-radius: 0 20px 20px 0; }

/* Select2 bootstrap uyumu */
.select2-container { width: 100% !important; }
.select2-container .select2-selection--single { height: calc(1.5em + .94rem + 2px); border: 1px solid #ced4da; border-radius: .25rem; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: calc(1.5em + .94rem); padding-left: .75rem; color: #495057; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: calc(1.5em + .94rem); }
.select2-dropdown { border-color: #ced4da; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--lj-primary); }
.form-control-sm + .select2-container .select2-selection--single { height: 31px; }

/* Harita */
.harita { width: 100%; min-height: 240px; background: #eef0f6; border-radius: 4px; z-index: 1; }
.arac-marker { background: none; border: 0; }
.arac-marker .pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.35); border: 2px solid #fff; }
.arac-marker .pin i { transform: rotate(45deg); color: #fff; font-size: 17px; }
.arac-marker .etiket { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background: #fff; padding: 0 5px; border-radius: 3px; font-size: 11px; font-weight: 600; white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.nokta-marker { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.harita-lejant { font-size: 12px; }
.harita-lejant span { display: inline-flex; align-items: center; margin-right: 10px; }
.harita-lejant i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 4px; }

/* Araç kartları */
.arac-kart { cursor: pointer; transition: box-shadow .15s, transform .15s; border-top: 3px solid var(--lj-secondary); }
.arac-kart:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); transform: translateY(-2px); }
.arac-kart .plaka { font-size: 17px; font-weight: 700; letter-spacing: .5px; border: 2px solid #343a40; border-radius: 4px; padding: 1px 8px 1px 22px; position: relative; display: inline-block; background: #fff; }
.arac-kart .plaka:before { content: 'TR'; position: absolute; left: 0; top: 0; bottom: 0; width: 16px; background: #1e4fb5; color: #fff; font-size: 8px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2px; }
.arac-kart .arac-foto { height: 110px; object-fit: cover; width: 100%; border-radius: 4px; background: #f3f4f8; }
.arac-kart .arac-foto-bos { height: 110px; display: flex; align-items: center; justify-content: center; background: #f3f4f8; border-radius: 4px; color: #c2c5d2; font-size: 48px; }
.durum-cizgi-success { border-top-color: var(--lj-success); } .durum-cizgi-primary { border-top-color: var(--lj-primary); }
.durum-cizgi-warning { border-top-color: var(--lj-warning); } .durum-cizgi-danger { border-top-color: var(--lj-danger); }
.durum-cizgi-info { border-top-color: var(--lj-info); } .durum-cizgi-secondary { border-top-color: var(--lj-secondary); }

/* Sefer zaman çizelgesi */
.zaman-cizelgesi { list-style: none; padding-left: 0; position: relative; }
.zaman-cizelgesi:before { content: ''; position: absolute; left: 9px; top: 4px; bottom: 4px; width: 2px; background: #e9ebf2; }
.zaman-cizelgesi li { position: relative; padding-left: 30px; padding-bottom: 14px; }
.zaman-cizelgesi li .nokta { position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--lj-secondary); }
.zaman-cizelgesi li.tamam .nokta { border-color: var(--lj-success); background: var(--lj-success); }
.zaman-cizelgesi li.aktif .nokta { border-color: var(--lj-primary); box-shadow: 0 0 0 4px rgba(91,105,188,.2); }
.durum-adim { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
.durum-adim .adim { flex: 1 0 auto; text-align: center; font-size: 11.5px; padding: 6px 8px; background: #f1f2f7; border-radius: 3px; color: #74788d; white-space: nowrap; }
.durum-adim .adim.gecti { background: rgba(50,203,137,.16); color: #1f9e68; }
.durum-adim .adim.simdi { background: var(--lj-primary); color: #fff; font-weight: 600; }

/* Kârlılık tablosu */
.kar-tablo td { padding: .35rem .5rem; }
.kar-tablo .toplam td { border-top: 2px solid #343a40; font-weight: 700; font-size: 15px; }

/* Durak düzenleyici */
.durak-satir { background: #f8f9fc; border-radius: 4px; padding: 8px 8px 0; margin-bottom: 8px; position: relative; }
.durak-satir .tasima { cursor: grab; color: #adb5bd; }
.durak-sira { width: 26px; height: 26px; border-radius: 50%; background: var(--lj-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }

/* Fatura kalemleri */
.kalem-tablo input { min-width: 70px; }
.kalem-tablo td { padding: .3rem; }

/* Yetki matrisi */
.yetki-tablo th, .yetki-tablo td { text-align: center; vertical-align: middle; }
.yetki-tablo td:first-child, .yetki-tablo th:first-child { text-align: left; }

/* Genel */
.nav-tabs-custom .nav-link { border: 0; border-bottom: 2px solid transparent; color: #495057; }
.nav-tabs-custom .nav-link.active { border-bottom-color: var(--lj-primary); color: var(--lj-primary); background: transparent; }
.card-title { font-size: 15px; font-weight: 600; }
.kucuk-liste li { padding: 7px 0; border-bottom: 1px dashed #eceef4; }
.kucuk-liste li:last-child { border-bottom: 0; }
.giris-sayfa { min-height: 100vh; background: linear-gradient(135deg, #3c4a99 0%, #5b69bc 45%, #38b3d6 100%); }
.giris-sol { background: linear-gradient(160deg, rgba(30,36,80,.92), rgba(91,105,188,.85)); color: #fff; }
.giris-sol .mdi-truck-fast { font-size: 80px; opacity: .9; }
@media (max-width: 767px) { .ust-arama { width: 180px; } .page-title-box h4 { font-size: 16px !important; } }
@media print { .vertical-menu, #page-topbar, .footer, .page-title-box .breadcrumb, .btn, form.liste-filtre { display: none !important; } .main-content { margin-left: 0 !important; } .page-content { padding: 0 !important; } }
.stat-kart .stat-deger.para-deger { font-size: 15px; white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1500px) { .stat-kart .stat-deger.para-deger { font-size: 13.5px; } .stat-kart .stat-ikon { width: 36px; height: 36px; font-size: 18px; } }
