/* ================================================================
   SALES SUPERPOWERS 7.0 - LUXURY FIELD SALES TOOLKIT
   Tunas Toyota Kiara Condong (SFT)
   ================================================================ */

/* --- 1. SUB-NAV HARMONIZATION --- */
.sub-nav-fu-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px;
  margin-bottom: 16px;
  background: #e2e8f0;
  padding: 5px;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .sub-nav-fu-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 4px;
    gap: 6px;
    margin-bottom: 12px;
  }
  .sub-nav-fu-btn {
    padding: 9px 8px;
    font-size: 11.5px;
    border-radius: 10px;
    gap: 5px;
  }
}

.sub-nav-fu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.sub-nav-fu-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.6);
}

.sub-nav-fu-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.sub-nav-fu-btn.radar-tab.active {
  background: linear-gradient(135deg, #0d1b3e 0%, #1e3a8a 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(13, 27, 62, 0.25);
}

/* --- 2. RADAR PROSPEK COMMAND CENTER (COCKPIT) --- */
.radar-cockpit-hero {
  background: linear-gradient(135deg, #070d22 0%, #0d1b3e 60%, #162a5b 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 22px 24px;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 15px 35px rgba(7, 13, 34, 0.35);
  position: relative;
  overflow: hidden;
}

.radar-cockpit-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(215, 18, 58, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.radar-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.radar-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.radar-sonar-mini {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.5);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, #070d22 80%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.radar-sonar-mini::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(59, 130, 246, 0.7) 0deg, transparent 70deg);
  animation: radar-spin 2s linear infinite;
}

.radar-sonar-mini .center-blip {
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 14px #ef4444;
  z-index: 2;
  animation: pulse-dot 1.2s infinite;
}

@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

.radar-gps-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #93c5fd;
}

.radar-radius-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.radar-radius-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.radar-radius-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.radar-radius-btn.active {
  background: linear-gradient(135deg, #d7123a 0%, #b80c2f 100%);
  color: #ffffff;
  border-color: #d7123a;
  box-shadow: 0 4px 14px rgba(215, 18, 58, 0.4);
}

.radar-search-box-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 9px 14px;
  margin-top: 14px;
}

.radar-search-box-wrap i {
  color: #94a3b8;
  font-size: 14px;
}

.radar-search-box-wrap input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13px;
  width: 100%;
  outline: none;
  font-family: inherit;
}

.radar-search-box-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* --- 3. RADAR LEADS GRID & CARDS (EXECUTIVE FLIGHT CARDS) --- */
.radar-leads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

@media (max-width: 768px) {
  .radar-leads-grid {
    grid-template-columns: 1fr;
  }
}

.radar-lead-card-deluxe {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.radar-lead-card-deluxe:hover {
  border-color: #3b82f6;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 27, 62, 0.1);
}

.radar-lead-card-deluxe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: #d7123a;
}

.radar-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 10px;
}

.radar-customer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.radar-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d1b3e 0%, #1e3a8a 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13, 27, 62, 0.15);
}

.radar-customer-name {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.radar-district-tag {
  font-size: 11.5px;
  color: #64748b;
  margin: 2px 0 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.radar-dist-chip {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 5px 10px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.radar-vehicle-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: #334155;
}

.radar-vehicle-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.radar-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-radar-map {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-radar-map:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.btn-radar-wa {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  transition: all 0.2s;
}

.btn-radar-wa:hover {
  background: #059669;
  transform: translateY(-1px);
}

/* --- 4. LUXURY SMART OCR SCANNER BANNER --- */
.ocr-scanner-banner {
  background: linear-gradient(135deg, #070d22 0%, #0d1b3e 60%, #16305f 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.3);
  border-radius: 18px;
  padding: 18px 22px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(13, 27, 62, 0.2);
  position: relative;
  overflow: hidden;
}

.ocr-scanner-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(215, 18, 58, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.ocr-scanner-banner:hover {
  border-color: #d7123a;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(215, 18, 58, 0.25);
}

.ocr-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}

.ocr-icon-glow {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d7123a 0%, #990e24 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(215, 18, 58, 0.4);
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

.ocr-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #93c5fd;
  margin-bottom: 4px;
}

.ocr-banner-title {
  font-size: 15px;
  font-weight: 900;
  margin: 0;
  color: #ffffff;
  line-height: 1.2;
}

.ocr-banner-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.8);
  margin: 3px 0 0 0;
  max-width: 440px;
}

.btn-ocr-action {
  background: linear-gradient(135deg, #d7123a 0%, #b80c2f 100%);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(215, 18, 58, 0.35);
  z-index: 1;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-ocr-action:hover {
  background: #e11d48;
  transform: scale(1.03);
}

/* --- 5. SLEEK VOICE NOTE MIC TOOLBAR --- */
.voice-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.btn-voice-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f1f5f9;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.btn-voice-pill:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}

.btn-voice-pill.recording {
  background: #fee2e2;
  color: #dc2626;
  border-color: #f87171;
  animation: mic-glow 1s infinite alternate;
}

@keyframes mic-glow {
  from { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  to { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.voice-wave-bars {
  display: none;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.btn-voice-pill.recording .voice-wave-bars {
  display: inline-flex;
}

.voice-wave-bar {
  width: 2.5px;
  background: #dc2626;
  border-radius: 2px;
  animation: wave-anim 0.8s ease-in-out infinite alternate;
}

.voice-wave-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.voice-wave-bar:nth-child(2) { height: 14px; animation-delay: 0.2s; }
.voice-wave-bar:nth-child(3) { height: 9px; animation-delay: 0.3s; }
.voice-wave-bar:nth-child(4) { height: 12px; animation-delay: 0.4s; }

@keyframes wave-anim {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.2); }
}

.voice-live-status-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11.5px;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

/* --- 6. MORNING BRIEFING & DUE FOLLOW-UP ALERT --- */
.morning-briefing-banner {
  background: linear-gradient(135deg, #0d1b3e 0%, #1e3a8a 100%);
  border-radius: 18px;
  padding: 18px 20px;
  color: white;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(13, 27, 62, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.briefing-badge {
  background: #d7123a;
  color: white;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* --- 7. BATTLE CARD & OBJECTION HANDLING --- */
.battle-card-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.battle-header {
  background: linear-gradient(135deg, #0d1b3e 0%, #16305f 100%);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.battle-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
  background: #f8fafc;
}

@media (max-width: 768px) {
  .battle-vs-grid {
    grid-template-columns: 1fr;
  }
}

.battle-item-toyota {
  background: #ffffff;
  border: 1.5px solid #d7123a;
  border-radius: 14px;
  padding: 16px;
}

.battle-item-rival {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 16px;
}

.objection-accordion {
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s;
}

.objection-accordion:hover {
  border-color: #cbd5e1;
}

.objection-trigger {
  padding: 15px 18px;
  font-weight: 800;
  font-size: 13.5px;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #ffffff;
}

.objection-trigger:hover {
  background: #f8fafc;
}

.objection-answer {
  padding: 18px 20px;
  background: #f0fdf4;
  border-top: 1px solid #dcfce7;
  font-size: 13px;
  color: #166534;
  line-height: 1.65;
}

/* ================================================================
   SMART AI OCR CAMERA SCANNER & SPK FORM UPGRADE
   ================================================================ */

/* Section Grouping in SPK Form */
.spk-form-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.spk-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
}

.spk-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spk-section-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.spk-section-icon.icon-red {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  color: #dc2626;
}

.spk-section-icon.icon-green {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #16a34a;
}

.spk-section-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.spk-section-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 640px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* Document Attachment Mini Cards */
.spk-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 6px;
}

@media (max-width: 640px) {
  .spk-docs-grid {
    grid-template-columns: 1fr;
  }
}

.spk-doc-card {
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  transition: all 0.2s ease;
}

.spk-doc-card.has-file {
  border-style: solid;
  border-color: #86efac;
  background: #f0fdf4;
}

.spk-doc-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #64748b;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.06);
}

.spk-doc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spk-doc-info {
  flex: 1;
  min-width: 0;
}

.spk-doc-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spk-doc-status {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}

.spk-doc-card.has-file .spk-doc-status {
  color: #16a34a;
}

.spk-doc-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.spk-doc-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* ================================================================
   SMART AI OCR SCANNER MODAL (FULLSCREEN HUD VIEWPORT)
   ================================================================ */
.ocr-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ocr-modal-container {
  background: #0f172a;
  color: #ffffff;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ocr-modal-header {
  padding: 18px 22px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ocr-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  margin: 0;
}

.ocr-modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.ocr-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Tab Selector KTP vs KK */
.ocr-type-switcher {
  display: flex;
  gap: 8px;
  padding: 12px 18px 6px 18px;
  background: #0f172a;
}

.ocr-type-btn {
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.ocr-type-btn.active {
  background: linear-gradient(135deg, #d7123a 0%, #b91c1c 100%);
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(215, 18, 58, 0.4);
}

/* Mode: Camera vs Gallery */
.ocr-source-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px 18px;
}

.ocr-source-pill {
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ocr-source-pill.active {
  background: #3b82f6;
  border-color: #60a5fa;
  color: #ffffff;
}

/* Viewfinder Area */
.ocr-viewfinder-box {
  position: relative;
  background: #000000;
  width: 100%;
  height: 310px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ocrCameraVideo, #ocrCapturedPreview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card Target HUD Frame Overlay */
.ocr-hud-frame {
  position: absolute;
  width: 85%;
  height: 72%;
  border-radius: 16px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

.ocr-hud-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #ef4444;
  border-style: solid;
}

.ocr-corner-tl { top: -2px; left: -2px; border-width: 3px 0 0 3px; border-top-left-radius: 14px; }
.ocr-corner-tr { top: -2px; right: -2px; border-width: 3px 3px 0 0; border-top-right-radius: 14px; }
.ocr-corner-bl { bottom: -2px; left: -2px; border-width: 0 0 3px 3px; border-bottom-left-radius: 14px; }
.ocr-corner-br { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; border-bottom-right-radius: 14px; }

/* Laser Beam Animation */
.ocr-laser-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ef4444, #f43f5e, #ef4444, transparent);
  box-shadow: 0 0 16px 3px rgba(239, 68, 68, 0.85);
  animation: ocrLaserMove 2.2s ease-in-out infinite alternate;
}

@keyframes ocrLaserMove {
  0% { top: 5%; opacity: 0.3; }
  50% { opacity: 1; }
  100% { top: 92%; opacity: 0.3; }
}

.ocr-hud-tip {
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Auto-Scan HUD States & Elements */
.ocr-engine-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}
.ocr-engine-pill:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
}

.ocr-autoscan-badge {
  background: rgba(15, 23, 42, 0.85);
  color: #10b981;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.ocr-hud-frame.detecting {
  border-color: rgba(245, 158, 11, 0.8);
}
.ocr-hud-frame.detecting .ocr-hud-corner {
  border-color: #f59e0b;
}
.ocr-hud-frame.detecting .ocr-laser-beam {
  background: linear-gradient(90deg, transparent, #f59e0b, #fbbf24, #f59e0b, transparent);
  box-shadow: 0 0 16px 3px rgba(245, 158, 11, 0.85);
}

.ocr-hud-frame.locked {
  border-color: #10b981;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55), 0 0 24px rgba(16, 185, 129, 0.8);
}
.ocr-hud-frame.locked .ocr-hud-corner {
  border-color: #10b981;
}
.ocr-hud-frame.locked .ocr-laser-beam {
  background: linear-gradient(90deg, transparent, #10b981, #34d399, #10b981, transparent);
  box-shadow: 0 0 20px 4px rgba(16, 185, 129, 0.95);
}

.ocr-autoscan-countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.9);
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid #10b981;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 10;
}

.ocr-pulse-ring {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid #10b981;
  border-top-color: transparent;
  animation: radar-spin 0.8s linear infinite;
}

/* Camera Action Bar */
.ocr-controls-bar {
  padding: 14px 20px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-ocr-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ocr-round:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.btn-ocr-shutter {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #ef4444;
  padding: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
  transition: all 0.15s;
}

.btn-ocr-shutter-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.btn-ocr-shutter:hover {
  transform: scale(1.08);
}

.btn-ocr-shutter:active {
  transform: scale(0.92);
}

/* Upload Dropzone View */
.ocr-dropzone-box {
  padding: 36px 20px;
  text-align: center;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  margin: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.2s;
}

.ocr-dropzone-box:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

/* Result Review Panel */
.ocr-review-panel {
  padding: 16px 20px;
  max-height: 240px;
  overflow-y: auto;
  background: #1e293b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ocr-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.ocr-result-lbl {
  color: #94a3b8;
  font-weight: 600;
}

.ocr-result-val {
  color: #f8fafc;
  font-weight: 700;
  text-align: right;
  max-width: 65%;
  word-break: break-word;
}

.ocr-bottom-actions {
  padding: 14px 20px;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 10px;
}

.btn-ocr-apply {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.2s;
}

.btn-ocr-apply:hover {
  background: #059669;
  transform: translateY(-1px);
}

.btn-ocr-retake {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ocr-retake:hover {
  background: rgba(255, 255, 255, 0.18);
}


/* --- SIMPLIFIED CUSTOMER CRM STYLES --- */
.hero-kpi-chip.active-kpi {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4), 0 6px 16px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-2px);
}

.radar-radius-pill-group {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 10px;
  gap: 3px;
  border: 1px solid #cbd5e1;
}

.radar-radius-pill {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  border: none;
  background: transparent;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.radar-radius-pill:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.6);
}

.radar-radius-pill.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}



/* ==========================================================================
   EXECUTIVE RADAR GPS COCKPIT & LIVE MAP STYLES
   ========================================================================== */

.radar-cockpit-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #d7123a;
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.02);
}

/* Header & Radar Sonar Icon */
.radar-cockpit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.radar-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.radar-sonar-icon-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.radar-sonar-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(215, 18, 58, 0.2);
  animation: radar-sonar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.radar-sonar-wave.wave-2 {
  animation-delay: 1s;
}

@keyframes radar-sonar-ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

.radar-sonar-center {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d7123a 0%, #b91c1c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(215, 18, 58, 0.35);
}

.radar-micro-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #d7123a;
  background: #fff1f2;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.radar-header-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.3px;
}

.radar-header-sub {
  font-size: 12px;
  color: #64748b;
  margin: 3px 0 0 0;
}

/* Header Right - GPS Status */
.radar-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.radar-gps-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: live-pulse-dot 1.8s infinite;
}

@keyframes live-pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.btn-radar-detect {
  padding: 7px 14px;
  font-size: 11.5px;
  font-weight: 800;
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.btn-radar-detect:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* Controls Bar */
.radar-controls-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.radar-radius-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.radar-radius-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.radar-radius-pill-group {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  border: 1px solid #e2e8f0;
}

.radar-radius-pill {
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #475569;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.radar-radius-pill:hover {
  color: #0f172a;
  background: #ffffff;
}

.radar-radius-pill.active {
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

/* Search bar */
.radar-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 360px;
  min-width: 240px;
}

.radar-search-input-box {
  position: relative;
  width: 100%;
}

.radar-search-input-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #94a3b8;
}

.radar-search-input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  font-size: 12px;
  font-family: inherit;
  outline: none;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.radar-search-input:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-radar-search {
  padding: 8px 16px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
  transition: all 0.15s ease;
}

.btn-radar-search:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

/* Quick Landmark Chips */
.radar-quick-landmarks {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.radar-landmark-chip {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.radar-landmark-chip:hover {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

/* Map Container */
.radar-map-outer {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  position: relative;
  height: 480px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* Sales Beacon Marker */
.radar-sales-beacon-icon {
  background: transparent !important;
  border: none !important;
}

.radar-sales-beacon-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.radar-beacon-aura {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(215, 18, 58, 0.35);
  animation: beacon-expand 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beacon-expand {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

.radar-beacon-core {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d7123a;
  border: 3px solid #ffffff;
  box-shadow: 0 0 12px rgba(215, 18, 58, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 11px;
}

/* Customer Pins */
.radar-leaflet-pin-wrap {
  background: transparent !important;
  border: none !important;
}

.radar-map-marker-pin {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 10px;
  transition: transform 0.15s ease;
  cursor: pointer;
  position: relative;
}

.radar-map-marker-pin:hover {
  transform: scale(1.3);
  z-index: 9999 !important;
}

/* Map Legend Overlay */
.radar-map-legend-overlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 6px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.radar-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.radar-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Luxury Leaflet Popup */
.radar-popup-card {
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 4px;
  min-width: 210px;
}

.radar-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.radar-popup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  flex-shrink: 0;
}

.radar-popup-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.radar-popup-dist {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.radar-popup-dist-pill {
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.radar-popup-car-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
}

.radar-popup-actions {
  display: flex;
  gap: 6px;
}

.btn-popup-wa {
  flex: 1;
  background: #10b981;
  color: #ffffff !important;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-popup-maps {
  flex: 1.2;
  background: #2563eb;
  color: #ffffff !important;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-popup-fu {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
}

/* Leads Grid & Cards */
.radar-leads-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.radar-count-badge {
  font-size: 11px;
  font-weight: 800;
  background: #fee2e2;
  color: #b91c1c;
  padding: 2px 8px;
  border-radius: 12px;
}

.radar-card-filter-input {
  width: 100%;
  padding: 7px 10px 7px 28px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  outline: none;
  background: #ffffff;
}

.radar-leads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.radar-lead-card-deluxe {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.radar-lead-card-deluxe:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.radar-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.radar-customer-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radar-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  flex-shrink: 0;
}

.radar-customer-name {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
}

.radar-district-tag {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.radar-dist-chip {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.radar-vehicle-box {
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 12px;
  border: 1px solid #f1f5f9;
}

.radar-vehicle-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.radar-tags-row {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.radar-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.radar-tag.status-tag {
  border: 1px solid transparent;
}

.radar-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
}

.btn-radar-map {
  background: #2563eb;
  color: #fff !important;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.btn-radar-map:hover {
  background: #1d4ed8;
}

.btn-radar-wa-direct {
  background: #10b981;
  color: #fff !important;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.btn-radar-wa-direct:hover {
  background: #059669;
}

.btn-radar-fu {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 8px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-radar-fu:hover {
  background: #1e293b;
}

.radar-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px dashed #cbd5e1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.radar-empty-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
}

.radar-empty-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.radar-empty-desc {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

/* Quick Status Filter Pills for Radar */
.radar-status-filter-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px 2px;
  margin-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.radar-status-filter-strip::-webkit-scrollbar {
  height: 4px;
}

.radar-status-filter-strip::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.radar-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  user-select: none;
}

.radar-status-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.radar-status-pill.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}

.radar-status-pill.active .status-dot {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.dot-red {
  background: #ef4444;
}

.status-dot.dot-yellow {
  background: #f59e0b;
}

.status-dot.dot-purple {
  background: #8b5cf6;
}

.status-dot.dot-green {
  background: #10b981;
}

