/* ==========================================================================
   ONESATHA ROYAL KSA EMERALD & DEEP OBSIDIAN TASARIM SİSTEMİ (2026 EDITION)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800;900&family=Space+Grotesk:wght@600;700;800&display=swap');

:root,
:root[data-theme="dark"] {
  /* Royal KSA Cyber-Luxury (Deep Navy-Obsidian & Saudi Emerald Palette) */
  --emerald-primary: #10B981;
  --emerald-bright: #00E599;
  --emerald-deep: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.34);

  /* Geriye dönük uyumluluk için ana vurgu değişkeni Zümrüt Yeşiline bağlandı */
  --bitaksi-yellow: #10B981;
  --bitaksi-yellow-hover: #00E599;
  --bitaksi-yellow-glow: rgba(16, 185, 129, 0.34);
  
  --bitaksi-dark: #060A12;            /* Derin Gece Mavisi Obsidyen Zemin */
  --bitaksi-dark-surface: #0B111E;    /* Buzlu Cam Obsidyen Yüzey */
  --bitaksi-dark-card: #111A2E;       /* Yükseltilmiş Gece Mavisi Kart Yüzeyi */
  --bitaksi-border: #1E293B;          /* İnce Kristal Çerçeve */
  --bitaksi-border-active: #10B981;   /* Aktif Seçim Zümrüt */

  /* Durum ve Vurgu Renkleri */
  --bitaksi-green: #10B981;           /* Zümrüt Onay Butonu */
  --bitaksi-green-hover: #059669;
  --bitaksi-green-glow: rgba(16, 185, 129, 0.35);
  --bitaksi-red: #F43F5E;             /* İptal / Acil Mercan Kırmızısı */
  --bitaksi-blue: #38BDF8;            /* Siber Navigasyon Mavisi */
  --accent-orange: #F59E0B;           /* Uyarı Amber Vurgusu */

  /* Varsayılan Semantik Tokenler (Gece Mavisi Obsidyen Koyu Tema) */
  --bg-app: #060A12;
  --bg-surface: rgba(11, 17, 30, 0.92);
  --bg-card: #111A2E;
  --bg-card-hover: #17233D;
  --bg-input: #090E1A;
  --border-color: rgba(148, 163, 184, 0.14);
  --border-light: rgba(255, 255, 255, 0.07);
  --border-active: #10B981;
  --glass-blur: blur(24px) saturate(190%);

  /* Tipografi Renkleri */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-white: #FFFFFF;
  --text-dark: #04120C;

  /* Gölgeler ve Efektler */
  --shadow-sheet: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(16, 185, 129, 0.18);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.62);
  --shadow-yellow: 0 8px 26px rgba(16, 185, 129, 0.32);
  --handle-pill: rgba(148, 163, 184, 0.32);
  --badge-bg: rgba(16, 185, 129, 0.1);

  /* Tipografi */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Köşe Yuvarlaklığı (Modern 2026 Yumuşak Hatlar) */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* Telefon Açık Tema (Light Theme - Ferah Sedef & Zümrüt) */
:root[data-theme="light"] {
  --emerald-primary: #059669;
  --emerald-bright: #10B981;
  --emerald-deep: #047857;
  --emerald-glow: rgba(16, 185, 129, 0.25);

  --bitaksi-yellow: #059669;
  --bitaksi-yellow-hover: #047857;
  --bitaksi-yellow-glow: rgba(16, 185, 129, 0.25);

  --bitaksi-dark: #F1F5F9;
  --bitaksi-dark-surface: #FFFFFF;
  --bitaksi-dark-card: #FFFFFF;
  --bitaksi-border: #E2E8F0;
  --bitaksi-border-active: #10B981;

  --bitaksi-green: #10B981;
  --bitaksi-green-hover: #059669;
  --bitaksi-green-glow: rgba(16, 185, 129, 0.25);
  --bitaksi-red: #DC2626;
  --bitaksi-blue: #0284C7;
  --accent-orange: #D97706;

  --bg-app: #F1F5F9;
  --bg-surface: rgba(255, 255, 255, 0.95);
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-input: #F1F5F9;
  --border-color: #E2E8F0;
  --border-light: rgba(0, 0, 0, 0.06);
  --border-active: #10B981;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-white: #FFFFFF;
  --text-dark: #0F172A;

  --shadow-sheet: 0 -8px 30px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.1);
  --shadow-yellow: 0 4px 16px rgba(16, 185, 129, 0.28);
  --handle-pill: rgba(15, 23, 42, 0.2);
  --badge-bg: rgba(16, 185, 129, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.45;
  overflow-x: hidden;
  user-select: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Ana Aksiyon Butonları */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  letter-spacing: -0.2px;
}

.btn:active {
  transform: scale(0.98);
}

/* Royal KSA Zümrüt Yeşili Ana Buton */
.btn-bitaksi-yellow {
  background: linear-gradient(135deg, #00E599 0%, #10B981 50%, #059669 100%);
  color: #03150E;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(52, 211, 153, 0.55);
}

.btn-bitaksi-yellow:hover {
  background: linear-gradient(135deg, #34D399 0%, #10B981 60%, #047857 100%);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(17, 26, 46, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-primary);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(23, 35, 61, 0.96);
  border-color: rgba(16, 185, 129, 0.45);
  color: #34D399;
}

:root[data-theme="light"] .btn-secondary {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
}

:root[data-theme="light"] .btn-secondary:hover {
  background: #E2E8F0 !important;
  color: #059669 !important;
}

:root[data-theme="dark"] .btn-secondary,
html:not([data-theme="light"]) .btn-secondary {
  background: rgba(17, 26, 46, 0.88) !important;
  color: #F8FAFC !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

:root[data-theme="dark"] .btn-secondary:hover,
html:not([data-theme="light"]) .btn-secondary:hover {
  background: rgba(23, 35, 61, 0.96) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  color: #34D399 !important;
}

.btn-success {
  background: linear-gradient(135deg, #00E599 0%, #10B981 100%);
  color: #03150E;
}

.btn-danger {
  background-color: var(--bitaksi-red);
  color: #FFFFFF;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 26px;
  font-size: 16px;
  font-weight: 800;
}

/* Rozetler */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.2px;
}

.badge-yellow {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

:root[data-theme="light"] .badge-green,
html[data-theme="light"] .badge-green {
  background: #ECFDF5 !important;
  color: #047857 !important;
  border: 1.5px solid #A7F3D0 !important;
  font-weight: 800 !important;
}

:root[data-theme="light"] .badge-yellow,
html[data-theme="light"] .badge-yellow {
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1.5px solid #FCD34D !important;
  font-weight: 800 !important;
}

/* Canlı Pulse Göstergesi */
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: bitaksi-pulse 1.8s infinite;
}

@keyframes bitaksi-pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Form Elemanları */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.input-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-field {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.input-field:focus {
  border-color: var(--bitaksi-yellow);
  box-shadow: 0 0 10px var(--bitaksi-yellow-glow);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bitaksi-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bitaksi-border);
  border-radius: 3px;
}

/* =========================================================================
   ÇOKLU FOTOĞRAF GALERİSİ & KARTLARI (MULTI-PHOTO GALLERY)
   ========================================================================= */
.multi-photo-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 2px 12px 2px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.multi-photo-item {
  position: relative;
  flex: 0 0 100px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  background: #1B1E26;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.multi-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.multi-photo-item img:hover {
  transform: scale(1.05);
}

.multi-photo-del-btn {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: none;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.multi-photo-del-btn:hover {
  background: #DC2626;
  transform: scale(1.1);
}

.multi-photo-add-card {
  flex: 0 0 90px;
  height: 90px;
  border: 1.5px dashed var(--bitaksi-yellow);
  border-radius: 8px;
  background: rgba(254, 208, 0, 0.05);
  color: var(--bitaksi-yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 6px;
}
.multi-photo-add-card:hover {
  background: rgba(254, 208, 0, 0.15);
  transform: translateY(-2px);
}
.multi-photo-add-card span.add-icon {
  font-size: 24px;
  margin-bottom: 2px;
}

/* =========================================================================
   🚨 GECE FLAŞÖRÜ / ÇEKİCİYE İŞARET VER (NIGHT STROBE BEACON)
   ========================================================================= */
.night-beacon-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  animation: strobeFlash 0.18s infinite alternate;
  user-select: none;
  touch-action: none;
}

@keyframes strobeFlash {
  0% {
    background-color: #FED000;
    color: #121418;
  }
  49% {
    background-color: #FED000;
    color: #121418;
  }
  50% {
    background-color: #FFFFFF;
    color: #000000;
  }
  100% {
    background-color: #FFFFFF;
    color: #000000;
  }
}

.beacon-top-title {
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.beacon-center-symbol {
  font-size: 90px;
  animation: pulseBeaconIcon 0.8s infinite alternate;
}
@keyframes pulseBeaconIcon {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

.beacon-close-btn {
  background: #121418;
  color: #FED000;
  border: 3px solid #FED000;
  border-radius: 50px;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  transition: transform 0.15s ease;
}
.beacon-close-btn:active {
  transform: scale(0.95);
}

/* =========================================================================
   💬 GÖREV İÇİ CANLI SOHBET & TELSİZ (ULTRA-MODERN GLASS & OBSIDIAN PTT)
   ========================================================================= */
.mission-chat-drawer {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 540px;
  background: rgba(11, 13, 18, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 2px solid var(--bitaksi-yellow);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 64px rgba(0, 0, 0, 0.92), 0 -2px 24px rgba(254, 208, 0, 0.14);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  height: 82vh;
  max-height: 660px;
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(-50%, 105%);
}
.mission-chat-drawer.open {
  transform: translate(-50%, 0);
}

.chat-drawer-header {
  padding: 16px 20px 14px;
  background: linear-gradient(180deg, rgba(24, 29, 39, 0.96) 0%, rgba(18, 21, 29, 0.96) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 24px 24px 0 0;
  position: relative;
  z-index: 2;
}
.chat-drawer-header::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.chat-drawer-title {
  font-size: 15px;
  font-weight: 800;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-close-btn {
  background: rgba(255, 255, 255, 0.07);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.chat-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
  color: #FCA5A5;
  transform: scale(1.05);
}

.chat-messages-body,
.chat-messages-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #0A0C10;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(254, 208, 0, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px;
}

/* Mesaj Balonları (WhatsApp / Uber 2026 Glass & Obsidian Style) */
.chat-bubble {
  position: relative;
  padding: 10px 14px 8px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.48;
  word-break: break-word;
  max-width: 85%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: chatMsgAppear 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes chatMsgAppear {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-bubble.chat-me {
  background: linear-gradient(135deg, #00E599 0%, #10B981 55%, #059669 100%);
  color: #03150E;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.chat-bubble.chat-other {
  background: linear-gradient(145deg, #131C30 0%, #0E1525 100%);
  color: #F8FAFC;
  border: 1px solid rgba(148, 163, 184, 0.14);
  align-self: flex-start;
  border-bottom-left-radius: 5px;
  margin-right: auto;
}

.chat-bubble-sender {
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.2px;
}
.chat-bubble.chat-me .chat-bubble-sender {
  color: rgba(9, 11, 14, 0.72);
}
.chat-bubble.chat-other .chat-bubble-sender {
  color: var(--bitaksi-yellow);
}

.chat-bubble-text {
  font-size: 13.8px;
  line-height: 1.48;
  color: inherit;
  font-weight: 500;
}

/* Sohbet İçi Fotoğraf Paylaşımı (Chat Image Attachment) */
.chat-bubble-image-wrap {
  position: relative;
  margin-top: 4px;
  border-radius: 12px;
  overflow: hidden;
  max-width: 240px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  background: #0B0D11;
}
.chat-bubble.chat-me .chat-bubble-image-wrap {
  border-color: rgba(0, 0, 0, 0.18);
}
.chat-bubble-image {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.chat-bubble-image-wrap:hover .chat-bubble-image {
  transform: scale(1.03);
}
.chat-image-zoom-hint {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(9, 11, 14, 0.78);
  backdrop-filter: blur(8px);
  color: #FED000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid rgba(254, 208, 0, 0.35);
  pointer-events: none;
}

.chat-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 2px;
  font-size: 10.5px;
}
.chat-bubble.chat-me .chat-bubble-meta {
  color: rgba(9, 11, 14, 0.68);
}
.chat-bubble.chat-other .chat-bubble-meta {
  color: rgba(255, 255, 255, 0.48);
}

.chat-bubble-time {
  font-size: 10px;
  font-weight: 700;
}

/* Gönderildi & İletildi Tik Durumu (WhatsApp Ticks) */
.chat-tick-status {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-left: 2px;
  vertical-align: middle;
}
.chat-tick-single {
  color: rgba(0, 0, 0, 0.5);
}
.chat-bubble.chat-other .chat-tick-single {
  color: rgba(255, 255, 255, 0.4);
}
.chat-tick-double {
  color: #090B0E;
}
.chat-bubble.chat-other .chat-tick-double {
  color: var(--bitaksi-yellow);
}

/* Lüks Özel Ses Kaydı Oynatıcı Kartı (Custom Waveform Voice Player with Progress & 1x/1.5x/2x Speed) */
.custom-voice-player {
  --voice-progress: 0%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background:
    linear-gradient(90deg, rgba(254, 208, 0, 0.16) var(--voice-progress), rgba(0, 0, 0, 0.24) var(--voice-progress));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 9px 11px;
  min-width: 230px;
  max-width: 295px;
  user-select: none;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.chat-bubble.chat-me .custom-voice-player {
  background:
    linear-gradient(90deg, rgba(9, 11, 14, 0.22) var(--voice-progress), rgba(9, 11, 14, 0.10) var(--voice-progress));
  border-color: rgba(9, 11, 14, 0.16);
}
.custom-voice-player.playing {
  border-color: rgba(254, 208, 0, 0.55);
  box-shadow: 0 0 16px rgba(254, 208, 0, 0.18);
}
.chat-bubble.chat-me .custom-voice-player.playing {
  border-color: rgba(9, 11, 14, 0.45);
}

.voice-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bitaksi-yellow);
  color: #090B0E;
  border: none;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, background 0.15s ease;
}
.chat-bubble.chat-me .voice-play-btn {
  background: #090B0E;
  color: var(--bitaksi-yellow);
}
.voice-play-btn:hover {
  transform: scale(1.08);
}
.voice-play-btn:active {
  transform: scale(0.92);
}

.voice-waves {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5px;
  flex: 1;
  height: 26px;
  overflow: hidden;
  cursor: pointer;
  padding: 0 2px;
}
.voice-wave-bar {
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 99px;
  transition: height 0.15s ease, background 0.15s ease;
}
.voice-wave-bar:nth-child(3n+1) { height: 11px; }
.voice-wave-bar:nth-child(4n+2) { height: 16px; }
.voice-wave-bar:nth-child(5n+3) { height: 20px; }
.voice-wave-bar:nth-child(2n) { height: 9px; }

.chat-bubble.chat-me .voice-wave-bar {
  background: rgba(9, 11, 14, 0.48);
}
.custom-voice-player.playing .voice-wave-bar {
  background: var(--bitaksi-yellow);
  animation: voiceWaveDance 0.72s ease-in-out infinite alternate;
}
.chat-bubble.chat-me .custom-voice-player.playing .voice-wave-bar {
  background: #090B0E;
}
.custom-voice-player.playing .voice-wave-bar:nth-child(2n) { animation-delay: 0.10s; }
.custom-voice-player.playing .voice-wave-bar:nth-child(3n) { animation-delay: 0.22s; }
.custom-voice-player.playing .voice-wave-bar:nth-child(4n) { animation-delay: 0.34s; }
.custom-voice-player.playing .voice-wave-bar:nth-child(5n) { animation-delay: 0.46s; }
@keyframes voiceWaveDance {
  0% { height: 5px; }
  50% { height: 23px; }
  100% { height: 9px; }
}

.voice-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  min-width: 36px;
}
.voice-duration {
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
}
.voice-label {
  font-size: 8.5px;
  font-weight: 800;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.voice-speed-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 800;
  font-family: var(--font-mono);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.chat-bubble.chat-me .voice-speed-btn {
  background: rgba(9, 11, 14, 0.14);
  color: #090B0E;
  border-color: rgba(9, 11, 14, 0.25);
}
.voice-speed-btn:hover {
  transform: scale(1.06);
}

/* Hızlı Yanıt Çipleri (Quick Reply Chips) */
.chat-quick-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: rgba(16, 19, 27, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.chat-quick-chips::-webkit-scrollbar {
  display: none;
}
.chat-quick-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 252, 0.9);
  border-radius: 99px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  flex-shrink: 0;
}
.chat-quick-chip:hover {
  background: rgba(254, 208, 0, 0.14);
  border-color: var(--bitaksi-yellow);
  color: var(--bitaksi-yellow);
  transform: translateY(-1px);
}
.chat-quick-chip:active {
  transform: scale(0.96);
}

/* Giriş ve PTT Çubuğu (WhatsApp / Uber Voice Bar & Input Bar) */
.chat-drawer-footer {
  background: rgba(18, 21, 29, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.chat-ptt-bar {
  padding: 8px 14px 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-input-row {
  padding: 6px 14px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-input-row input {
  flex: 1;
  background: #0A0C10;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 11px 16px;
  color: #F8FAFC;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.chat-input-row input:focus {
  border-color: var(--bitaksi-yellow);
  box-shadow: 0 0 0 3px rgba(254, 208, 0, 0.14);
}

.btn-chat-attach {
  background: rgba(255, 255, 255, 0.06);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.btn-chat-attach:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: var(--bitaksi-yellow);
  transform: scale(1.05);
}
.btn-chat-attach:active {
  transform: scale(0.94);
}

.btn-chat-send {
  background: linear-gradient(135deg, #00E599 0%, #10B981 100%);
  color: #03150E;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-chat-send:hover {
  transform: scale(1.06);
  background: #34D399;
}
.btn-chat-send:active {
  transform: scale(0.94);
}

.btn-ptt-mic {
  background: rgba(16, 185, 129, 0.14);
  color: #34D399;
  border: 1.5px solid rgba(16, 185, 129, 0.55);
  border-radius: 24px;
  padding: 8px 15px;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.btn-ptt-mic:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10B981;
}
.btn-ptt-mic.recording {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  color: #fff !important;
  border-color: #F87171 !important;
  animation: pulseRecording 1s infinite alternate;
}
@keyframes pulseRecording {
  from { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  to { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

/* Canlı Ses Kayıt Kontrol Çubuğu (İptal 🗑️ + Canlı Dalga + Süre + Gönder ➤) */
.ptt-recording-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.32);
  border-radius: 24px;
  padding: 4px 6px 4px 8px;
  font-size: 12px;
  min-width: 0;
}
.ptt-rec-center {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.ptt-timer-badge {
  color: #F87171;
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.5px;
}
.pulse-rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #EF4444;
  flex-shrink: 0;
  animation: inappPing 1s infinite;
}
@keyframes inappPing {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.ptt-live-waves {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 18px;
}
.ptt-live-waves span {
  width: 2.5px;
  height: 6px;
  border-radius: 99px;
  background: #F87171;
  animation: pttLiveEq 0.55s ease-in-out infinite alternate;
}
.ptt-live-waves span:nth-child(2n) { animation-delay: 0.12s; }
.ptt-live-waves span:nth-child(3n) { animation-delay: 0.24s; }
.ptt-live-waves span:nth-child(4n) { animation-delay: 0.36s; }
@keyframes pttLiveEq {
  0% { height: 4px; opacity: 0.55; }
  100% { height: 16px; opacity: 1; }
}
.btn-ptt-cancel {
  background: rgba(239, 68, 68, 0.18);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 18px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.btn-ptt-cancel:hover {
  background: rgba(239, 68, 68, 0.32);
  color: #fff;
}
.btn-ptt-send-voice {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
  transition: all 0.15s ease;
}
.btn-ptt-send-voice:hover {
  transform: scale(1.04);
}

.chat-locked-banner {
  background: rgba(239, 68, 68, 0.12);
  border-top: 1px solid rgba(239, 68, 68, 0.45);
  color: #FCA5A5;
  padding: 12px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════════════
   📱 SİTE İÇİ ÜSTTEN AÇILAN CANLI MESAJ BİLDİRİM BANNER'I (IN-APP CHAT BANNER)
   ══════════════════════════════════════════════════════════════════════════ */
.inapp-chat-banner {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-150%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: rgba(20, 24, 32, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(254, 208, 0, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(254, 208, 0, 0.22);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999999;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.inapp-chat-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.inapp-chat-banner:hover {
  border-color: var(--bitaksi-yellow);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 32px rgba(254, 208, 0, 0.35);
}
.inapp-banner-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1B1E26;
  border: 2px solid var(--bitaksi-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.inapp-banner-avatar-wrap .inapp-ping-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2ecc71;
  border: 2px solid #141820;
  animation: inappPing 1.8s infinite;
}
.inapp-banner-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.inapp-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.inapp-banner-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inapp-banner-time {
  font-size: 10.5px;
  color: var(--bitaksi-yellow);
  font-weight: 700;
  white-space: nowrap;
}
.inapp-banner-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.inapp-banner-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.btn-inapp-reply {
  background: var(--bitaksi-yellow);
  color: #121418;
  border: none;
  font-weight: 800;
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-inapp-reply:hover {
  transform: scale(1.05);
  background: #FFE033;
}
.btn-inapp-close {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.btn-inapp-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ==========================================================================
   TATLI MİNİK PLAKA BİLEŞENİ (MINI LICENSE PLATE WIDGET - KSA & TR)
   ========================================================================== */
.mini-plate-badge {
  display: inline-flex !important;
  direction: ltr !important;
  user-select: none;
  vertical-align: middle;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
  text-decoration: none;
  line-height: 1;
}

/* Suudi Arabistan Resmi Moroor Minik Plakası (Photo 2 Birebir Uyumlu) */
.mini-plate-ksa {
  width: 144px;
  height: 42px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%);
  border: 2px solid #1C2029;
}
.mini-plate-main {
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  direction: ltr !important;
}
.mini-plate-row {
  display: flex !important;
  flex-direction: row !important;
  height: 50%;
  align-items: center;
  direction: ltr !important;
}
.mini-plate-row-top {
  border-bottom: 1.5px solid #282E3C;
}
.mini-plate-cell {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 0 2px;
}
.mini-plate-cell-num {
  width: 50px;
  border-right: 1.5px solid #282E3C;
}
.mini-plate-cell-letters {
  flex: 1;
}
.mini-plate-ar {
  font-family: 'Amiri', 'Traditional Arabic', 'Segoe UI', Tahoma, sans-serif;
  font-size: 13.5px;
  font-weight: 900;
  color: #11141B;
  direction: rtl !important;
  letter-spacing: 0.5px;
}
.mini-plate-cell-letters .mini-plate-ar {
  letter-spacing: 2px;
}
.mini-plate-en {
  font-family: 'JetBrains Mono', 'DIN Alternate', 'Arial Black', monospace;
  font-size: 12.5px;
  font-weight: 900;
  color: #11141B;
  letter-spacing: 1px;
}
.mini-plate-cell-letters .mini-plate-en {
  letter-spacing: 2.5px;
}
.mini-plate-strip {
  width: 27px;
  background: #E8ECF2;
  border-left: 2px solid #1C2029;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 3px 1px 2px 1px;
  box-sizing: border-box;
  direction: ltr !important;
}
.mini-strip-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.mini-strip-country {
  font-family: 'Amiri', 'Segoe UI', Tahoma, sans-serif;
  font-size: 6.5px;
  font-weight: 900;
  color: #0E4823;
  line-height: 1;
  text-align: center;
}
.mini-strip-ksa {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Arial Black', sans-serif;
  font-size: 6.5px;
  font-weight: 900;
  color: #11141B;
  line-height: 1;
  letter-spacing: 0.5px;
}
.mini-strip-badge {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #11141B;
}

/* Türkiye Standart Minik Plaka */
.mini-plate-tr {
  width: 138px;
  height: 36px;
  background: #FFFFFF;
  border: 2px solid #1C2029;
  display: inline-flex !important;
  align-items: stretch !important;
  direction: ltr !important;
}
.mini-plate-tr-strip {
  width: 24px;
  background: #003399;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FFFFFF;
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.5px;
  line-height: 1;
  border-right: 1.5px solid #1C2029;
}
.mini-plate-tr-text {
  flex: 1;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #11141B;
  font-family: 'JetBrains Mono', 'DIN Alternate', 'Arial Black', monospace;
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ========================================================== */
/* APP SPLASH SCREEN (VIDEO & LOGO ANIMATION) */
/* ========================================================== */
.app-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: #060A12;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

.app-splash-screen.is-loaded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 90vw;
  text-align: center;
  animation: splashFadeIn 0.35s ease-out;
}

@keyframes splashFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.splash-video-box {
  width: 136px;
  height: 136px;
  max-width: 42vw;
  max-height: 42vw;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(16, 185, 129, 0.42), 0 0 0 1.5px rgba(38, 197, 144, 0.35);
  background: #23C48E;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  padding: 8px;
  box-sizing: border-box;
}

.splash-video-element,
.splash-gif-fallback {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #23C48E;
  display: block;
  border-radius: 20px;
  margin: 0 auto;
}

.splash-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.splash-title {
  font-size: 24px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.splash-highlight {
  color: #10B981;
}

.splash-dot {
  color: #64748B;
  font-size: 16px;
}

.splash-ar {
  font-family: 'Cairo', 'Segoe UI', sans-serif;
  font-size: 21px;
  color: #F1F5F9;
}

.splash-sub {
  font-size: 13px;
  color: #94A3B8;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.splash-bar {
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
  position: relative;
}

.splash-bar-progress {
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, #10B981, #00E599);
  border-radius: 999px;
  animation: splashBarAnim 1.3s infinite ease-in-out;
}

@keyframes splashBarAnim {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(120%); }
  100% { transform: translateX(250%); }
}

