#hazar-navigator-component {
  display: block;
  min-height: 540px;
  width: 100%;
  position: relative;
}

/**
 * Hazar Lojistik — İnteraktif Rota & Navlun Navigatörü Stilleri
 * European B2B Light Editorial System (Crisp Topography & Forest Green)
 */

.flexe-navigator-wrap {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color, #E5E7EB);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(24, 34, 31, 0.06);
  margin: 30px 0;
}

.flexe-navigator-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-color, #E5E7EB);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #FFFFFF;
}

.flexe-nav-title-group h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary, #111827);
  margin: 4px 0 0 0;
  letter-spacing: -0.01em;
}

.flexe-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-soft, #FFF0F1);
  border: 1px solid #E5E7EB;
  color: var(--brand-primary, #D91A2A);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flexe-nav-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary, #D91A2A);
  box-shadow: 0 0 8px rgba(217, 26, 42, 0.4);
  animation: flexe-dot-blink 1.5s infinite ease-in-out;
}

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

/* Controls Bar */
.flexe-navigator-controls {
  padding: 20px 28px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color, #E5E7EB);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: center;
}

@media (max-width: 900px) {
  .flexe-navigator-controls {
    grid-template-columns: 1fr;
  }
}

.flexe-control-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flexe-control-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary, #4B5563);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.flexe-control-select {
  background: var(--bg-primary, #F8F9FA);
  border: 1.5px solid #E5E7EB;
  color: var(--text-primary, #111827);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.flexe-control-select:focus {
  border-color: var(--brand-primary, #D91A2A);
  box-shadow: 0 0 0 3px rgba(217, 26, 42, 0.12);
  background: #FFFFFF;
}

/* Map & HUD Grid */
.flexe-navigator-body {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  min-height: 520px;
}

@media (max-width: 980px) {
  .flexe-navigator-body {
    grid-template-columns: 1fr;
  }
}

/* SVG Map Viewport */
.flexe-map-viewport {
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-color, #E5E7EB);
}

.flexe-map-svg {
  width: 100%;
  height: 100%;
  min-height: 480px;
  max-height: 580px;
  display: block;
}

.flexe-map-bg-grid {
  stroke: rgba(24, 34, 31, 0.04);
  stroke-width: 1;
}

.flexe-map-country {
  fill: #F3F4F6;
  stroke: #FFFFFF;
  stroke-width: 0.8;
  transition: all 0.3s ease;
}

.flexe-map-country:hover {
  fill: #FFF0F1;
  cursor: pointer;
}

.flexe-map-country.active-dest {
  fill: #FFF0F1 !important;
  stroke: var(--brand-primary, #D91A2A) !important;
  stroke-width: 1.5 !important;
  filter: drop-shadow(0 4px 12px rgba(217, 26, 42, 0.25));
}

.flexe-map-country.origin-tur {
  fill: #FFF0F1 !important;
  stroke: var(--brand-primary, #D91A2A) !important;
  stroke-width: 1.2 !important;
}

/* Route Laser Line */
.flexe-route-line-bg {
  stroke: rgba(217, 26, 42, 0.15);
  stroke-width: 5;
  fill: none;
  stroke-linecap: round;
}

.flexe-route-line {
  stroke: var(--brand-primary, #D91A2A);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 8 6;
  animation: flexe-laser-flow 1.2s linear infinite;
  filter: drop-shadow(0 2px 6px rgba(217, 26, 42, 0.35));
}

@keyframes flexe-laser-flow {
  from { stroke-dashoffset: 28; }
  to { stroke-dashoffset: 0; }
}

/* Gate Node Circle */
.flexe-gate-node {
  fill: #B7791F;
  stroke: #FFFFFF;
  stroke-width: 2;
  filter: drop-shadow(0 2px 6px rgba(183, 121, 31, 0.4));
}

/* Origin Beacon */
.flexe-beacon-origin {
  fill: var(--brand-primary, #D91A2A);
  stroke: #FFFFFF;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 8px rgba(217, 26, 42, 0.5));
}

/* Dest Beacon */
.flexe-beacon-dest {
  fill: #1E40AF;
  stroke: #FFFFFF;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 8px rgba(30, 64, 175, 0.5));
}

/* HUD Cockpit (Right Side) */
.flexe-navigator-hud {
  padding: 28px 24px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.flexe-hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-primary, #D91A2A);
  background: var(--brand-soft, #FFF0F1);
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 4px 10px;
  margin-bottom: 8px;
}

.flexe-hud-route-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary, #111827);
  line-height: 1.25;
  margin-bottom: 18px;
}

.flexe-hud-route-name span {
  color: var(--brand-primary, #D91A2A);
}

/* Metric Items */
.flexe-hud-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flexe-hud-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color, #E5E7EB);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.2s ease;
}

.flexe-hud-card:hover {
  border-color: #E5E7EB;
  background: #F9FAFB;
}

.flexe-hud-label {
  font-size: 0.75rem;
  color: var(--text-secondary, #4B5563);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flexe-hud-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary, #111827);
  line-height: 1.3;
}

.flexe-hud-val.price {
  color: var(--brand-primary, #D91A2A);
  font-size: 1.3rem;
}

.flexe-hud-subtext {
  font-size: 0.78rem;
  color: var(--text-muted, #7B8580);
  margin-top: 4px;
  line-height: 1.4;
}

/* Action CTAs */
.flexe-hud-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.flexe-hud-btn-main {
  background: var(--brand-primary, #D91A2A);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 26, 42, 0.25);
  transition: all 0.2s ease;
}

.flexe-hud-btn-main:hover {
  background: var(--brand-hover, #B51220);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 26, 42, 0.35);
}

.flexe-hud-btn-wa {
  background: #FFF0F1;
  border: 1px solid rgba(217, 26, 42, 0.25);
  color: #D91A2A;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 18px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.flexe-hud-btn-wa:hover {
  background: #FFF0F1;
}
