/* ============================================================
   BİN ABİ (BA) - SADE, MODERN & LÜKS MOBİL TASARIM SİSTEMİ
   Tasarım Referansı: Beyaz Kartlar, Canlı Fıstık/Lime Yeşili,
   Koyu Füme/Slate Tipografi, Zümrüt Fiyat Vurgusu
   ============================================================ */

:root {
  /* Arka Planlar & Yüzeyler */
  --bg-page: #f3f4f8;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f9fafb;
  --bg-card: #ffffff;
  
  /* Bin Abi İmza Marka Yeşili */
  --primary-green: #6ebd14;
  --primary-green-dark: #589b0d;
  --primary-green-light: #74c816;
  --primary-green-soft: #eef8ce;
  --primary-green-text: #4d7c0f;
  
  /* Uyumluluk Köprüleri (Eski mor referansları sade yeşil/füme palete eşler) */
  --primary-purple: #6ebd14;
  --primary-purple-dark: #589b0d;
  --primary-purple-light: #74c816;
  --primary-purple-gradient: linear-gradient(135deg, #6ebd14 0%, #74c816 100%);
  
  --accent-magenta: #6ebd14;
  --accent-magenta-hover: #589b0d;
  --accent-magenta-soft: #eef8ce;
  
  /* Fiyat Vurgusu: Canlı Zümrüt / Teal */
  --accent-teal: #008779;
  --accent-teal-dark: #00695c;
  
  /* Rozet ve Etiket Renkleri */
  --accent-lime-badge: #eef8ce;
  --accent-lime-badge-text: #4d7c0f;
  --accent-lavender: #f3f4f6;
  --accent-lavender-text: #374151;
  --accent-rose: #fee2e2;
  --accent-rose-text: #b91c1c;
  
  --blue: #2563eb;
  --red: #ef4444;
  --amber: #f59e0b;
  
  /* Yüksek Okunabilirlikli Tipografi */
  --text-main: #0f172a;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --text-on-dark: #ffffff;
  
  /* Sınırlar & Yumuşak Gölgeler */
  --border-light: #e5e7eb;
  --border-card: #f0f2f5;
  --border-focus: #74c816;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-green: 0 4px 16px rgba(110, 189, 20, 0.35);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body.mobile-viewport-body {
  background: #eef0f5;
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* ============================================================
   CONTAINER: STRICT MAX-WIDTH 500PX CENTERED
   ============================================================ */
.mobile-app-wrapper {
  width: 100%;
  max-width: 500px;
  min-height: 100vh;
  background: var(--bg-page);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
}

/* HARİTA: AYDINLIK & KRİSTAL NETLİĞİNDE */
.app-map-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.leaflet-container {
  background: #f4f5f8 !important;
}

.leaflet-tile {
  filter: saturate(1.05) contrast(1.02) !important;
}

.leaflet-control-zoom, .leaflet-control-attribution {
  display: none !important;
}

/* Harita Markerları - Bin Abi Lime & Dark Slate */
.pin-passenger {
  width: 32px;
  height: 32px;
  background: #6ebd14;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(110, 189, 20, 0.45);
}

.pin-destination {
  width: 32px;
  height: 32px;
  background: #008779;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(0, 135, 121, 0.4);
}

.pin-driver-car {
  width: 38px;
  height: 38px;
  background: #111827;
  color: #fff;
  border: 3px solid #6ebd14;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.35);
}

.pin-stop {
  background: #f59e0b;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
  border: 2px solid #fff;
}

/* ============================================================
   BİN ABİ (BA) - ÜST BAR & SEGMENTED ROLE SEÇİCİ
   Görsel Referansı: Hamburger Menü, BA Logo, [Yolcu | Şoför | Admin]
   ============================================================ */
.binabi-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: transparent;
  gap: 10px;
  position: relative;
  z-index: 200;
}

.btn-hamburger-menu {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.btn-hamburger-menu:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.binabi-brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.binabi-brand-logo img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.binabi-brand-logo:hover img {
  transform: scale(1.02);
}

.ba-badge-icon {
  width: 34px;
  height: 34px;
  background: #000000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #74c816;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ba-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.ba-brand-text span {
  font-size: 14px;
  color: #0f172a;
}

/* Capsule Segmented Control [ Yolcu | Şoför | Admin ] */
.binabi-segmented-control {
  background: #eef0f3;
  border-radius: 9999px;
  padding: 3px;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.seg-pill-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.seg-pill-btn:hover {
  color: #0f172a;
}

.seg-pill-btn.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.seg-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #74c816;
  display: inline-block;
}

/* ============================================================
   BİN ABİ SCROLLABLE CARD LAYOUT (GÖRSELDEKİ BEYAZ KARTLAR)
   ============================================================ */
.binabi-scroll-content {
  flex: 1;
  overflow-y: auto;
  padding: 4px 14px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 10;
}

/* KART 1: SÜRÜCÜ / KULLANICI PROFİL KARTI */
.binabi-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 16px 18px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.binabi-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.avatar-dark-initials {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
}

.avatar-live-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #74c816;
  border: 2px solid #ffffff;
}

.profile-meta-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-name-row strong {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

/* Fıstık Yeşili Rozet: Üstün Sürücü & Güvenli Yolcu */
.badge-lime-soft {
  background: #eef8ce;
  color: #4d7c0f;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.profile-sub-details {
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-sub-details .star-gold {
  color: #f59e0b;
}

/* Çevrimiçi Hap Butonu */
.btn-online-pill {
  background: #74c816;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(116, 200, 22, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-online-pill:hover {
  background: #6ebd14;
  transform: translateY(-1px);
}

.btn-online-pill.offline {
  background: #ef4444;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

/* KART 2: CANLI GPS & HARİTA KARTI */
.binabi-map-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.live-gps-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  color: #0f172a;
}

.green-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #74c816;
  box-shadow: 0 0 8px rgba(116, 200, 22, 0.6);
}

.map-card-area-name {
  font-weight: 700;
  color: #65a30d;
  font-size: 12.5px;
}

.binabi-map-viewport {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid #f0f2f5;
}

/* KART 3: AKTİF YOLCULUK / GÜZERGAH DETAY KARTI */
.binabi-trip-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trip-card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.trip-status-tag {
  background: #eef8ce;
  color: #4d7c0f;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.trip-price-wrap {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.trip-price-hero {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #008779;
  line-height: 1;
}

.trip-dist-eta-sub {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
  margin-top: 3px;
}

.trip-locations-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trip-dest-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.trip-pickup-sub {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

/* İç Yolcu Bilgi Kutusu */
.passenger-nested-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pass-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pass-avatar-square {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #74c816;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.pass-meta-texts {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pass-meta-texts strong {
  font-size: 14px;
  color: #0f172a;
}

.pass-meta-texts span {
  font-size: 11.5px;
  color: #64748b;
}

.badge-guvenli-yolcu {
  background: #eef8ce;
  color: #4d7c0f;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.driver-privilege-line {
  font-size: 11.5px;
  font-weight: 700;
  color: #4d7c0f;
  display: flex;
  align-items: center;
  gap: 6px;
}

.passenger-intro-quote {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: #334155;
  font-style: italic;
  line-height: 1.45;
}

/* Alt Tercih Hapları (Klima, Bagaj vb.) */
.trip-feature-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feat-pill-item {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   DALGALI ÜST BAR (ESKİ UYUMLULUK)
   ============================================================ */
.simple-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
}
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

/* Marka Logosu & Hap Buton */
.brand-pill {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-purple);
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.3px;
}

.brand-pill i {
  color: var(--primary-green);
  font-size: 17px;
}

.brand-pill strong {
  color: #e02475;
}

.top-bar-right {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-pill {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-pill:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--text-main);
  transform: translateY(-1px);
}

.btn-pill.gps-btn {
  color: var(--primary-green-dark);
  border-color: rgba(110, 189, 20, 0.3);
}

.btn-pill.exit-btn {
  color: var(--text-secondary);
}

.btn-pill.exit-btn:hover {
  color: var(--red);
  border-color: rgba(225, 29, 72, 0.3);
}

/* Şoför Çevrimiçi/Çevrimdışı Switch */
.online-toggle-wrap {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
}

.status-dot-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.status-dot-indicator.offline {
  background: var(--red);
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.5);
}

.status-label-text {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--text-main);
}

/* Harita Katman Seçici */
.map-layer-switcher {
  position: absolute;
  top: 68px;
  right: 14px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.layer-switch-btn {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  color: #64748b;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.layer-switch-btn:hover {
  color: var(--text-main);
  border-color: #cbd5e1;
}

.layer-switch-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

/* Şoför Ekranı Harita Üstü Yüzen Kontroller */
.driver-floating-pills-row {
  position: absolute;
  top: 68px;
  left: 14px;
  right: 14px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  gap: 8px;
}

.driver-floating-pills-row > * {
  pointer-events: auto;
}

.driver-gps-status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: 58%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.driver-gps-status-pill:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.driver-quick-actions {
  display: flex;
  gap: 6px;
}

.btn-floating-pill {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  color: #0f172a;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-floating-pill:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-floating-pill.test-btn {
  background: var(--primary-green-soft);
  color: var(--primary-green-text);
  border-color: #d9f1a0;
}

/* Şoför Alt Kartı Özel Kuralları (Tek Sayfa & Yatay Kaydırma Yok) */
.driver-bottom-card {
  max-height: 52%;
  overflow-x: hidden !important;
}

.driver-bottom-card .binabi-card {
  box-shadow: none !important;
  border: 1px solid var(--border-light);
}

.driver-bottom-card.minimized {
  max-height: 68px !important;
}

.driver-bottom-card.expanded {
  max-height: 82% !important;
}

/* Haritadan Konum Seçme Bildirim Banner'ı */
.map-pick-banner {
  position: absolute;
  top: 72px;
  left: 14px;
  right: 14px;
  z-index: 550;
  background: #ffffff;
  border: 1.5px solid var(--accent-magenta);
  border-radius: 18px;
  padding: 12px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.2s ease;
}

.map-pick-banner.show {
  display: flex;
}

.map-pick-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-cancel-pick {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   YOLCU PANELİ: AUDIT TEMALI BEYAZ ALT KART (BOTTOM DRAWER)
   ============================================================ */
.passenger-bottom-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-radius: 26px 26px 0 0;
  padding: 10px 16px 18px;
  z-index: 100;
  box-shadow: 0 -4px 25px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 45%;
  overflow-y: auto;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
}

.passenger-bottom-card.minimized {
  max-height: 74px !important;
  overflow: hidden !important;
  padding-bottom: 10px !important;
}

.passenger-bottom-card.expanded {
  max-height: 78% !important;
}

.sheet-handle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  padding: 2px 4px 4px;
  user-select: none;
}

.sheet-drag-line {
  width: 40px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 9999px;
  margin: 0 auto;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.sheet-drag-line:hover {
  background: var(--text-main);
  transform: scaleX(1.15);
}

.btn-sheet-toggle {
  background: var(--primary-green-soft);
  border: 1px solid #d9f1a0;
  color: var(--primary-green-text);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sheet-toggle:hover {
  background: #d9f1a0;
  color: #1e3a10;
}

.minimized-route-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  border-radius: 14px;
  padding: 8px 12px;
  cursor: pointer;
  margin-top: 4px;
  animation: fadeIn 0.2s ease;
}

.minimized-route-pill .mini-route-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.minimized-route-pill .mini-route-dest {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.minimized-route-pill .mini-route-stats {
  font-size: 11px;
  font-weight: 700;
  color: #008779;
}

.btn-mini-expand {
  background: #0f172a;
  color: #ffffff;
  border: none;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

/* ============================================================
   DURUM 0: İLK EKRAN - HOŞ GELDİN & GİDECEĞİN YERİ SEÇ
   ============================================================ */
.welcome-initial-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.welcome-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: #1e1b4b;
  letter-spacing: -0.3px;
}

.welcome-sub {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

/* Büyük Arama Tetikleyici Kartı (index.html .role-btn Tarzı) */
.welcome-search-card-trigger {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.welcome-search-card-trigger:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.search-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.search-placeholder-texts {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.main-prompt {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.sub-prompt {
  font-size: 12px;
  color: #64748b;
  margin-top: 1px;
}

.search-arrow-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-left: auto;
}

/* ============================================================
   DURUM 1: GÜZERGAH & FİYAT KARTI
   ============================================================ */
/* Adres Giriş Grubu (index.html Kart Yapısı) */
.prominent-route-box, .address-group {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prominent-address-row, .address-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.prominent-address-row:hover, .address-row:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.addr-icon-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.addr-icon-pill.pickup {
  background: #eef8ce;
  color: #4d7c0f;
}

.addr-icon-pill.dropoff {
  background: #fee2e2;
  color: #ef4444;
}

.addr-icon-pill.stop {
  background: #fef3c7;
  color: #d97706;
}

.addr-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.addr-content-wrap .sub-tag {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}

.addr-content-wrap .main-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.btn-addr-mini {
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  color: #0f172a;
  border-radius: 9999px;
  padding: 5px 10px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-addr-mini:hover {
  background: #e2e8f0;
}

/* Mesafe ve Süre Kartı */
.prominent-route-stats-banner {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.stat-metric-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-metric-block .stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.stat-metric-block .stat-info {
  display: flex;
  flex-direction: column;
}

.stat-metric-block .stat-info .stat-label {
  font-size: 9px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
}

.stat-metric-block .stat-info .stat-value {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
}

.stat-divider-vertical {
  width: 1px;
  height: 24px;
  background: var(--border-card);
}

/* Tercihler Barı: Yolcu Sayısı, Klima, Bagaj */
.ride-preferences-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.pref-item-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.pref-item-box .label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Sayıcı Butonları */
.simple-counter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-count {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-count:hover {
  background: #e2e8f0;
}

.count-number {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

/* Switch */
.clean-switch {
  position: relative;
  width: 38px;
  height: 22px;
}

.clean-switch input { opacity: 0; width: 0; height: 0; }
.clean-switch .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #e2e8f0;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.25s;
}

.clean-switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.25s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.clean-switch input:checked + .slider {
  background-color: #0f172a;
}

.clean-switch input:checked + .slider:before {
  transform: translateX(16px);
}

/* Araç Tipi Rozeti */
.vehicle-auto-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  background: #f8fafc;
  border: 1px solid var(--border-light);
}

.vehicle-auto-badge.standart {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #0f172a;
}

.vehicle-auto-badge.xl {
  background: var(--primary-green-soft);
  border-color: #d9f1a0;
  color: var(--primary-green-text);
}

/* ============================================================
   KURUMSAL FİYAT ALANI (SOLDA DÜŞÜR, ORTADA TUTAR, SAĞDA ARTTIR)
   ============================================================ */
.corporate-fare-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.cf-btn, .btn-fare-stepper {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: #0f172a;
  border-radius: 9999px;
  padding: 7px 14px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  user-select: none;
}

.cf-btn:hover:not(:disabled), .btn-fare-stepper:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.cf-btn:active:not(:disabled), .btn-fare-stepper:active:not(:disabled) {
  transform: scale(0.96);
}

.cf-btn:disabled, .btn-fare-stepper:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cf-center, .fare-center-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cf-label, .fare-center-block .sub-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cf-amount, .fare-center-block .hero-amount {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: #008779;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-top: 1px;
}

.cf-distance-tag, .fare-rate-note {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
  margin-top: 1px;
}

/* ============================================================
   ÇAĞIR BUTONU: KOYU FÜME & YEŞİL ŞİMŞEK (index.html .role-btn.driver Tarzı)
   ============================================================ */
.btn-primary-action {
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  border-radius: 18px;
  padding: 14px 18px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
  transition: all 0.25s ease;
}

.btn-primary-action i {
  color: #74c816;
}

.btn-primary-action:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(224, 36, 117, 0.45);
}

.btn-primary-action:active {
  transform: scale(0.98);
}

/* ============================================================
   DURUM 2: ARAMA DURUMU (4 TANE 10 SANİYELİK İLERLEME BARI)
   ============================================================ */
.searching-state-box, .matched-state-box {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.searching-state-box.active, .matched-state-box.active {
  display: flex;
}

.dispatch-radar-header {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.radar-ping-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-green-soft);
  color: var(--primary-green-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  animation: pulseGreen 1.5s infinite;
}

.radar-texts {
  display: flex;
  flex-direction: column;
}

.radar-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.radar-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 1px;
}

.dispatch-bars-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.driver-bar-item, .dispatch-driver-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.driver-bar-item.active, .dispatch-driver-card.active {
  border-color: var(--primary-green);
  background: #f8fafc;
}

.driver-bar-head, .dispatch-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.driver-name, .dispatch-card-top .drv-name {
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.driver-countdown, .dispatch-card-top .drv-status {
  font-size: 11.5px;
  font-weight: 700;
  color: #008779;
}

.driver-progress-track, .dispatch-progress-track {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
}

.driver-progress-fill, .dispatch-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #74c816, #008779);
  border-radius: 9999px;
  transition: width 0.1s linear;
}

.btn-cancel-simple {
  background: #fef2f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
  border-radius: 9999px;
  padding: 12px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-cancel-simple:hover {
  background: #fee2e2;
}

/* ============================================================
   DURUM 3: EŞLEŞTİ / ŞOFÖR YOLDA
   ============================================================ */
.driver-info-box {
  background: #ffffff;
  border: 1.5px solid #6fbe14;
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.driver-info-box img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #6fbe14;
  object-fit: cover;
}

.driver-texts strong {
  font-size: 15px;
  color: #1e1b4b;
  display: block;
}

.driver-texts span {
  font-size: 12px;
  color: #64748b;
}

/* ============================================================
   ŞOFÖR PANELİ: ŞEFFAF KART DÜZENİ & TEST TALEBİ
   ============================================================ */
.driver-floating-bottom {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  z-index: 100;
}

.btn-test-request {
  width: 100%;
  background: #0f172a;
  border: none;
  color: #fff;
  padding: 15px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2);
  transition: all 0.2s;
}

.btn-test-request:hover {
  transform: translateY(-2px);
  background: #1e293b;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
}

/* Şoför Sayfası Canlı Günlük İstatistik Kartı */
.driver-live-stats-bar {
  position: absolute;
  top: 76px;
  left: 14px;
  right: 14px;
  z-index: 400;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.stat-pill-item {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 6px 8px;
  text-align: center;
}

.stat-pill-item .lbl {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.stat-pill-item .val {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 1px;
}

.stat-pill-item .val.profit {
  color: #008779;
}

.stat-pill-item.link-more {
  text-decoration: none;
  justify-content: center;
  background: var(--primary-green-soft);
  border-color: #d9f1a0;
  color: var(--primary-green-text);
}

/* ============================================================
   GELEN TALEP POPUP'I (ALTTA KOMPAKT VE HARİTAYI KAPATMAYAN LÜKS KART)
   ============================================================ */
.request-popup-overlay {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  z-index: 300;
  display: none;
  align-items: flex-end;
  padding: 10px 14px 14px;
  pointer-events: none;
  animation: slideUp 0.25s ease forwards;
}

.request-popup-overlay.active {
  display: flex;
}

.clean-popup-card {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #6fbe14;
  border-radius: 22px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.12);
  pointer-events: auto;
  max-height: 48vh;
  overflow-y: auto;
  transition: all 0.25s ease;
}

.clean-popup-card.minimized {
  max-height: 68px !important;
  overflow: hidden !important;
  padding: 8px 12px !important;
}

.clean-popup-card.minimized .popup-details-middle,
.clean-popup-card.minimized .hero-distance-banner {
  display: none !important;
}

.popup-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 6px;
}

.popup-fare-box .label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.popup-fare-box .amount {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #008779;
  line-height: 1.1;
}

.popup-timer-badge {
  background: #fdf2f8;
  border: 1.5px solid #fbcfe8;
  color: #db2777;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
}

.timer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #db2777;
  animation: pulseMagenta 1s infinite;
}

/* Büyük Mesafe ve Süre Kutusu */
.hero-distance-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px 10px;
}

.dist-metric-box {
  display: flex;
  flex-direction: column;
}

.dist-metric-box .metric-sub {
  font-size: 9.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
}

.dist-metric-box .metric-big {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 1px;
}

.dist-metric-box.pickup .metric-big {
  color: #008779;
}

.dist-metric-box.trip .metric-big {
  color: #0f172a;
}

/* Tercih Çipleri */
.popup-pref-chips {
  display: flex;
  gap: 6px;
}

.p-chip {
  flex: 1;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.p-chip.has-pref {
  background: var(--primary-green-soft);
  border: 1px solid #d9f1a0;
  color: var(--primary-green-text);
}

.p-chip.no-pref {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
}

.popup-route-addresses {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.addr-node {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.node-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.node-bullet.pickup { background: #4f46e5; }
.node-bullet.dropoff { background: #e02475; }

.node-info .sub {
  font-size: 9px;
  color: #8b88a8;
  display: block;
}

.node-info strong {
  font-size: 11.5px;
  color: #1e1b4b;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Kabul Et ve Reddet Butonları */
.popup-actions-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px;
}

.btn-popup-decline {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-popup-accept {
  background: linear-gradient(135deg, #e02475 0%, #ec4899 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 10px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(224, 36, 117, 0.3);
  transition: all 0.2s ease;
}

.btn-popup-accept:hover {
  background: linear-gradient(135deg, #c2185b 0%, #db2777 100%);
}

/* Şoför Aktif Yolculuk Kartı */
.driver-ongoing-card {
  position: absolute;
  bottom: 195px;
  left: 16px;
  right: 16px;
  z-index: 150;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.ongoing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}

.ongoing-buttons {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.btn-ongoing-next {
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn-ongoing-cancel {
  background: #fef2f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   BÜYÜK KONUM ARAMA MODALI (TAM EKRAN & AUDIT TASARIMI)
   ============================================================ */
.location-search-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 2500;
  display: none;
  flex-direction: column;
  animation: slideUpModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes slideUpModal {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.location-search-modal-overlay.active {
  display: flex !important;
}

.search-modal-top {
  padding: 18px 20px 14px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.search-modal-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-modal-head-row h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-modal {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-main);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.15s ease;
}

.btn-close-modal:hover {
  background: #e2e8f0;
  transform: scale(1.05);
}

.search-modal-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-modal-input-wrap i.search-icon {
  position: absolute;
  left: 16px;
  color: var(--primary-green);
  font-size: 16px;
}

.search-modal-input-wrap input {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid var(--border-light);
  border-radius: 18px;
  padding: 14px 40px 14px 44px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
}

.search-modal-input-wrap input:focus {
  border-color: var(--primary-green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(116, 200, 22, 0.15);
}

.pick-on-map-card {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pick-on-map-card:hover {
  background: var(--primary-green-soft);
  border-color: var(--primary-green);
}

.pick-on-map-card .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #0f172a;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.pick-on-map-card .text-box strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
}

.pick-on-map-card .text-box span {
  font-size: 12px;
  color: #64748b;
}

.search-modal-scroll-list {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.large-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.large-search-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.large-search-item .item-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary-green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green-text);
  font-size: 15px;
  flex-shrink: 0;
}

.large-search-item .item-text .title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.large-search-item .item-text .desc {
  font-size: 12px;
  color: #64748b;
}

/* ============================================================
   İSTATİSTİK SAYFALARI (MOCKUP EKRAN 3 & 4 BİREBİR UYARLAMASI)
   ============================================================ */
.analytics-page-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f6f7fb;
}

.analytics-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #6fbe14;
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.filter-btn-pill {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: #64748b;
  border-radius: 9999px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.filter-btn-pill:hover {
  color: var(--text-main);
  border-color: #cbd5e1;
}

.filter-btn-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

/* Mockup Ekran 3: 3'lü Renkli Kart Izgarası (Income, Spent, Savings) */
.clean-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.clean-stat-grid.three-cards {
  grid-template-columns: repeat(3, 1fr);
}

.stat-clean-item {
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  border: 1px solid var(--border-card);
}

.stat-clean-item .lbl {
  font-size: 11px;
  font-weight: 700;
  color: #8b88a8;
  text-transform: uppercase;
}

.stat-clean-item .val {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

/* 1. Kutu: Koyu Slate (Income / Kazanç) */
.stat-card-income {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15) !important;
}

.stat-card-income .lbl, .stat-card-income span {
  color: rgba(255, 255, 255, 0.8) !important;
}

.stat-card-income .val {
  color: #ffffff !important;
}

/* 2. Kutu: Zümrüt Petrol (Spent / Harcama) */
.stat-card-spent {
  background: linear-gradient(135deg, #008779 0%, #0d9488 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0, 135, 121, 0.25) !important;
}

.stat-card-spent .lbl, .stat-card-spent span {
  color: rgba(255, 255, 255, 0.85) !important;
}

.stat-card-spent .val {
  color: #ffffff !important;
}

/* 3. Kutu: Soft Lime (Savings / Tasarruf) */
.stat-card-savings {
  background: var(--primary-green-soft) !important;
  color: var(--primary-green-text) !important;
  border: 1px solid #d9f1a0 !important;
}

.stat-card-savings .lbl, .stat-card-savings span {
  color: #4d7c0f !important;
}

.stat-card-savings .val {
  color: #1e3a10 !important;
}

/* Şoför Kar Hero Kartı */
.profit-clean-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  border-radius: 22px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.profit-clean-card .sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  text-transform: uppercase;
}

.profit-clean-card .big-profit {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
}

.profit-clean-card .formula {
  font-size: 13px;
  color: #74c816 !important;
  margin-top: 6px;
}

/* Yakıt Sliderı */
.fuel-slider-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fuel-slider-box .slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13px;
}

.fuel-slider-box input[type="range"] {
  accent-color: var(--primary-green);
  height: 6px;
}

/* Grafik Kartı */
.chart-card-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.chart-header h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 220px;
}

/* Mockup Ekran 4: Liste Öğeleri (Status Noktası, Başlık, Zaman, Tutar) */
.transaction-audit-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
}

.transaction-audit-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.trans-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trans-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #008779;
  flex-shrink: 0;
}

.trans-dot.expense {
  background: #e11d48;
}

.trans-dot.income {
  background: #10b981;
}

.trans-info strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

.trans-info span {
  font-size: 11.5px;
  color: #8b88a8;
}

.trans-amount {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.trans-amount.neg {
  color: #e11d48;
}

.trans-amount.pos {
  color: #008779;
}

/* ============================================================
   DALGA GRAFİĞİ BAŞLIĞI (WAVE BANNER)
   ============================================================ */
.wave-top-header {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 24px 20px 48px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.wave-top-header .header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.avatar-circle-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.wave-balance-block {
  text-align: center;
  margin-top: 6px;
}

.wave-balance-sub {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

.wave-balance-amount {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-top: 2px;
}

/* Dalgalı Alt Süsleme (Screen 1 & 2) */
.wave-bottom-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,45 C300,120 450,10 800,70 C1000,110 1150,30 1200,60 L1200,120 L0,120 Z' fill='%236ebd14' opacity='0.25'%3E%3C/path%3E%3Cpath d='M0,70 C250,20 550,110 850,40 C1050,0 1150,70 1200,80 L1200,120 L0,120 Z' fill='%2374c816' opacity='0.5'%3E%3C/path%3E%3Cpath d='M0,90 C350,60 650,100 950,65 C1100,50 1180,85 1200,95 L1200,120 L0,120 Z' fill='%230f172a'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 10;
}

/* ============================================================
   KEYPAD VE PIN EKRANI (MOCKUP EKRAN 2 & 8 BİREBİR)
   ============================================================ */
.audit-keypad-card {
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  padding: 24px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}

.keypad-btn {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.15s ease;
}

.keypad-btn:hover {
  background: var(--primary-green-soft);
  border-color: #d9f1a0;
  color: var(--primary-green-text);
  transform: translateY(-1px);
}

.keypad-btn:active {
  transform: scale(0.94);
}

.pin-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.pin-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: all 0.2s ease;
}

.pin-dot.filled {
  background: #008779;
  box-shadow: 0 0 12px rgba(0, 135, 121, 0.4);
  transform: scale(1.15);
}

/* ============================================================
   ANİMASYONLAR
   ============================================================ */
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes slideDown { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes pulseMagenta {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}
@keyframes pulsePurple {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(116, 200, 22, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(116, 200, 22, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(116, 200, 22, 0); }
}
@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ============================================================
   YOLCU EKRANI EK STİLLERİ (DURAK EKLE, ARAÇ SEÇİMİ, EŞLEŞME KODU)
   ============================================================ */
.route-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
}

.route-box-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-add-stop-prominent {
  background: var(--primary-green-soft);
  border: 1px solid #d9f1a0;
  color: var(--primary-green-text);
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-add-stop-prominent:hover {
  background: #d9f1a0;
  color: #1e3a10;
  transform: translateY(-1px);
}

.pref-sub-status {
  font-size: 10px;
  font-weight: 700;
  color: #8b88a8;
  margin-top: 1px;
  transition: color 0.2s ease;
}

.pref-sub-status.active {
  color: #e02475;
}

/* Serbest Araç Segmenti Seçimi (1 Kişi de Olsa Seçilebilir) */
.vehicle-selection-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vehicle-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.vehicle-group-label {
  font-size: 12px;
  font-weight: 800;
  color: #1e1b4b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vehicle-auto-hint {
  font-size: 10.5px;
  font-weight: 600;
  color: #8b88a8;
}

.vehicle-options-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.vehicle-card-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.vehicle-card-btn i {
  font-size: 17px;
  color: #64748b;
  transition: color 0.2s ease;
}

.vehicle-card-btn .v-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.vehicle-card-btn .v-info strong {
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.vehicle-card-btn .v-info span {
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.vehicle-card-btn:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.vehicle-card-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
  position: relative;
}

.vehicle-card-btn.active i {
  color: #74c816;
}

.vehicle-card-btn.active .v-info strong {
  color: #ffffff;
}

.vehicle-card-btn.active .v-info span {
  color: #94a3b8;
  font-weight: 600;
}

/* ============================================================
   GÜVENLİK & EŞLEŞME KODU (4 HANELİ KOD KARTI - index.html Soft Lime Rozet)
   ============================================================ */
.match-code-badge-box {
  background: var(--primary-green-soft);
  border: 1px solid #d9f1a0;
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.match-code-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary-green-text);
  text-transform: uppercase;
}

.match-code-digits {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 6px;
  color: #1e3a10;
  line-height: 1.1;
  margin: 4px 0;
}

.match-code-sub {
  font-size: 11px;
  color: var(--primary-green-text);
  font-weight: 600;
}

.match-code-badge-box.driver-side {
  border-color: #d9f1a0;
}
  background: linear-gradient(135deg, #faf5ff 0%, #6fbe14 100%);
}

.match-code-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #be185d;
  letter-spacing: 0.5px;
}

.match-code-badge-box.driver-side .match-code-head {
  color: #1e3a10;
}

.match-code-digits {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 6px;
  color: #0f172a;
  line-height: 1.2;
}

.match-code-badge-box.driver-side .match-code-digits {
  color: #1e3a10;
  text-shadow: none;
}

.match-code-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

/* ============================================================
   ŞOFÖR ALT YÜZER KONTROL PANELİ & BÖLGE SEÇİCİ
   ============================================================ */
.driver-floating-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 20px 16px;
  background: linear-gradient(to top, rgba(255,255,255,0.98) 75%, rgba(255,255,255,0));
  z-index: 200;
  pointer-events: none;
}

.driver-control-card {
  pointer-events: auto;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
}

.driver-region-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 8px 12px;
}

.driver-region-wrap .region-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.driver-region-select {
  flex: 1;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  outline: none;
  text-align: right;
}

.driver-online-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
}

.online-indicator-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  animation: pulseGreen 1.5s infinite;
}

.status-dot-indicator.offline {
  background: #94a3b8;
  box-shadow: none;
  animation: none;
}

.status-label-text {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.btn-pill.gps-btn {
  background: var(--primary-green-soft);
  border-color: #d9f1a0;
  color: var(--primary-green-text);
}

.btn-pill.gps-btn:hover {
  background: #d9f1a0;
  color: #1e3a10;
}

/* 4+ Kişi Durumunda Normal Araçların Kilitlenmesi (Maks 4 Kişi Kuralı) */
.vehicle-card-btn.disabled-segment {
  opacity: 0.38 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.85);
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.vehicle-card-btn.disabled-segment:hover {
  transform: none !important;
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
}

/* Şoför Aktif Yolculuk: Google Maps Canlı Yol Tarifi Butonu */
.btn-google-maps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.35);
  transition: all 0.2s ease;
  margin-top: 4px;
}

.btn-google-maps:hover {
  background: linear-gradient(135deg, #1557b0 0%, #0d47a1 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.45);
}

.btn-google-maps:active {
  transform: scale(0.98);
}

.btn-google-maps i {
  font-size: 16px;
  color: #ffffff;
}

/* ============================================================
   ŞOFÖR EŞLEŞME KODU DOĞRULAMA & NAVİGASYON KARTLARI
   ============================================================ */
.match-verify-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  text-align: center;
}

.match-verify-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.match-verify-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  line-height: 1.35;
}

.pin-inputs-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 4px;
}

.pin-digit-input {
  width: 48px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.pin-digit-input:focus {
  border-color: #74c816;
  box-shadow: 0 0 0 3px rgba(116, 200, 22, 0.25);
  background: #ffffff;
}

.pin-error-banner {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #b91c1c;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  display: none;
}

.btn-verify-match {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-verify-match:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.btn-verify-match i {
  color: #74c816;
}

/* Doğrulama Başarılı & Varış Navigasyon Kartı */
.transit-nav-card {
  display: none;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
  border: 1.5px solid #d9f1a0;
  border-radius: 18px;
  padding: 14px;
  margin-top: 6px;
}

.transit-nav-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-green-soft);
  color: var(--primary-green-text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  width: fit-content;
}

.transit-dest-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.transit-dest-block .dest-lbl {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
}

.transit-dest-block .dest-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.transit-dest-block .dest-stats {
  font-size: 12px;
  font-weight: 700;
  color: #008779;
}

.btn-google-maps-prominent {
  background: #008779;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 135, 121, 0.25);
  transition: all 0.2s ease;
}

.btn-google-maps-prominent:hover {
  background: #006d62;
  transform: translateY(-1px);
}

.btn-complete-trip {
  background: #74c816;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(116, 200, 22, 0.25);
  transition: all 0.2s ease;
}

.btn-complete-trip:hover {
  background: #6ebd14;
  transform: translateY(-1px);
}


