html,
body {
  height: 100%;
  margin: 0;
}

.app-shell {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 360px 1fr;
}

.sidebar {
  min-height: 0;
  width: 360px;
}

.section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(148 163 184);
  margin-bottom: 0.75rem;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.8);
  cursor: pointer;
}

.toggle-chip--demo:has(input:checked) {
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(250, 204, 21, 0.12);
  color: rgb(253 224 71);
}

.weather-demo-banner {
  flex-basis: 100%;
  font-size: 11px;
  color: rgb(253 224 71);
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: 0.5rem;
  padding: 0.35rem 0.6rem;
}

.district-row {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: rgba(15, 23, 42, 0.65);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.district-row:hover {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(30, 41, 59, 0.75);
}

.theme-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.theme-select {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.5rem;
  color: rgb(226 232 240);
  padding: 0.2rem 0.45rem;
  font-size: 0.75rem;
}

.traffic-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0f172a;
}

.traffic-free { background: #22c55e; color: #0f172a; }
.traffic-moderate { background: #ffc000; color: #0f172a; }
.traffic-heavy { background: #ffc000; color: #0f172a; }
.traffic-severe { background: #ef4444; color: #fff; }
.traffic-standstill { background: #7f1d1d; color: #fff; }

.air-marker,
.heat-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid #0f172a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.district-indicator {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 2px solid #22c55e;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  min-width: 68px;
}

.district-indicator__risk {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 2px 4px;
  color: #0f172a;
  line-height: 1.2;
}

.district-indicator__body {
  display: flex;
  gap: 2px;
  padding: 3px;
}

.district-indicator__air,
.district-indicator__heat {
  flex: 1;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  border-radius: 4px;
  padding: 2px 3px;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.5);
}

.sidebar-tabs {
  display: flex;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.5);
}

.sidebar-tab {
  flex: 1;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(148 163 184);
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.sidebar-tab:hover {
  color: rgb(226 232 240);
}

.sidebar-tab.active {
  color: rgb(226 232 240);
  border-bottom-color: rgb(56 189 248);
}

.news-card {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.65);
  transition: border-color 0.15s, background 0.15s;
}

.news-card[data-zone]:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(30, 41, 59, 0.75);
}

.news-red { border-left: 3px solid #ef4444; }
.news-yellow { border-left: 3px solid #eab308; }
.news-green { border-left: 3px solid #22c55e; }

.news-category {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(56 189 248);
}

.news-link {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgb(56 189 248);
  text-decoration: none;
}

.map-road-tooltip {
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  border-radius: 8px !important;
  color: #e2e8f0 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  padding: 8px 10px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
}

.map-road-tooltip::before {
  border-top-color: rgba(15, 23, 42, 0.96) !important;
}

.map-road-tooltip strong {
  color: #f8fafc;
  display: block;
  margin-bottom: 4px;
}

.map-road-tooltip .hazard-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.map-road-tooltip .hazard-row span:last-child {
  font-weight: 700;
}

.route-panel {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  max-width: 420px;
  z-index: 450;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  max-height: 55vh;
  display: flex;
  flex-direction: column;
}

.route-panel.hidden {
  display: none;
}

.route-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.route-panel__close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

.route-panel__close:hover {
  color: #f1f5f9;
}

.route-panel__body {
  padding: 0.75rem 0.85rem;
  overflow-y: auto;
  color: #cbd5e1;
  line-height: 1.5;
}

.route-score {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.15rem 0.55rem;
  font-weight: 700;
  font-size: 0.7rem;
}

.route-score-safe { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.route-score-warn { background: rgba(234, 179, 8, 0.2); color: #fde047; }
.route-score-danger { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }

.route-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.seismic-alert {
  border-left: 3px solid #a855f7;
}

/* Круги ударной волны землетрясения (эпицентр) */
.eq-shock-wave {
  pointer-events: none;
}

.eq-shock-wave--outer {
  animation: eq-blast-pulse 3.2s ease-out infinite;
}

.eq-shock-wave--mid {
  animation: eq-blast-pulse 3.2s ease-out 0.45s infinite;
}

.eq-shock-wave--inner {
  animation: eq-blast-pulse 3.2s ease-out 0.9s infinite;
}

.eq-epicenter {
  z-index: 650;
}

@keyframes eq-blast-pulse {
  0% {
    stroke-opacity: 0.95;
    fill-opacity: 0.16;
  }
  70% {
    stroke-opacity: 0.35;
    fill-opacity: 0.04;
  }
  100% {
    stroke-opacity: 0.2;
    fill-opacity: 0.02;
  }
}

.logistics-route-btn {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 0.75rem;
  padding: 0.55rem 0.7rem;
  background: rgba(15, 23, 42, 0.65);
  font-size: 0.8rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.smart-router-input-row {
  display: flex;
  gap: 0.35rem;
  align-items: stretch;
}

.smart-router-input-row .smart-router-input {
  flex: 1;
}

.smart-router-pick {
  flex-shrink: 0;
  width: 2.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.15s, background 0.15s;
}

.smart-router-pick:hover,
.smart-router-pick.active {
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(14, 165, 233, 0.2);
}

.smart-router-hint {
  font-size: 0.75rem;
  color: rgb(250 204 21);
  margin: 0;
}

.smart-router-cargo {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.smart-router-cargo input {
  accent-color: #38bdf8;
}

.smart-router-module {
  margin-top: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  font-size: 0.76rem;
  line-height: 1.45;
}

.smart-router-module.fuel {
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(14, 116, 144, 0.15);
  color: #bae6fd;
}

.smart-router-module.spoilage {
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: rgba(124, 45, 18, 0.2);
  color: #fed7aa;
}

.alert-solar {
  border-color: rgba(250, 204, 21, 0.45) !important;
}

.smart-router-warn {
  border: 1px solid rgba(234, 179, 8, 0.45);
  background: rgba(113, 63, 18, 0.35);
  color: #fef08a;
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.smart-router-analysis {
  margin-top: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
  font-size: 0.78rem;
}

.smart-router-factors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 0.75rem;
  margin: 0.5rem 0;
}

.smart-router-factor {
  display: flex;
  justify-content: space-between;
  color: rgb(203 213 225);
}

.smart-router-factor span:last-child {
  font-weight: 600;
  color: rgb(226 232 240);
}

.smart-router-recs {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
  color: rgb(203 213 225);
  line-height: 1.45;
}

.smart-router-recs li {
  margin-bottom: 0.25rem;
}

.map-route-pick-cursor {
  cursor: crosshair !important;
}

.smart-router-form {
  display: flex;
  flex-direction: column;
}

.smart-router-pick--a {
  border-color: rgba(52, 211, 153, 0.55) !important;
  background: rgba(16, 185, 129, 0.2) !important;
  color: #6ee7b7;
  font-weight: 700;
}

.smart-router-pick--b {
  border-color: rgba(251, 146, 60, 0.55) !important;
  background: rgba(234, 88, 12, 0.2) !important;
  color: #fdba74;
  font-weight: 700;
}

.route-endpoint {
  position: relative;
  width: 34px;
  height: 42px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.route-endpoint__chip {
  width: 32px;
  height: 32px;
  border-radius: 10px 10px 10px 4px;
  border: 2px solid rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
  transform: rotate(-8deg);
}

.route-endpoint__tail {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 3px;
  height: 10px;
  margin-left: -1.5px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.85);
}

.route-endpoint--a .route-endpoint__chip {
  background: linear-gradient(145deg, #6ee7b7, #10b981);
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.35);
}

.route-endpoint--b .route-endpoint__chip {
  background: linear-gradient(145deg, #fdba74, #f97316);
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.35);
}

.route-endpoint--a .route-endpoint__tail {
  background: #059669;
}

.route-endpoint--b .route-endpoint__tail {
  background: #ea580c;
}

.smart-router-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.smart-router-input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.8);
  color: #f1f5f9;
  padding: 0.45rem 0.6rem;
  font-size: 0.85rem;
}

.smart-router-input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.55);
}

.smart-router-btn {
  width: 100%;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 0.5rem;
  background: rgba(14, 165, 233, 0.2);
  color: #e0f2fe;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.smart-router-btn:hover:not(:disabled) {
  background: rgba(14, 165, 233, 0.35);
  border-color: rgba(56, 189, 248, 0.7);
}

.smart-router-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.smart-router-blocked {
  border: 1px solid rgba(239, 68, 68, 0.55);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.smart-router-ok {
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(20, 83, 45, 0.3);
  color: #bbf7d0;
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.smart-router-error {
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(69, 10, 10, 0.35);
  color: #fecaca;
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
}

.district-accordion {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.65);
  overflow: hidden;
}

.district-accordion.open {
  border-color: rgba(56, 189, 248, 0.4);
}

.district-accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.district-accordion__header:hover {
  background: rgba(30, 41, 59, 0.5);
}

.district-accordion__arrow {
  flex-shrink: 0;
  width: 1rem;
  font-size: 1rem;
  line-height: 1;
  color: #38bdf8;
  transition: transform 0.2s ease;
}

.district-accordion.open .district-accordion__arrow {
  transform: rotate(90deg);
}

.district-accordion__title {
  flex: 1;
  min-width: 0;
}

.district-accordion__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.35rem;
}

.district-chip {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  color: #0f172a;
}

.district-chip.traffic-chip {
  background: #ffc000;
  color: #0f172a;
}

.district-accordion__body {
  padding: 0 0.75rem 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.district-accordion__body.hidden {
  display: none;
}

.district-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.district-detail-row span:first-child {
  color: #94a3b8;
}

.district-detail-note {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.15rem;
  line-height: 1.35;
}

.district-accordion__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.btn-sm {
  flex: 1;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  cursor: pointer;
}

.btn-sm:hover {
  background: rgba(56, 189, 248, 0.2);
}

.air-marker { min-width: 34px; height: 22px; padding: 0 6px; }
.heat-marker { min-width: 40px; height: 24px; padding: 0 7px; }

.legend-line {
  display: inline-block;
  width: 18px;
  height: 4px;
  border-radius: 9999px;
  margin-right: 6px;
  vertical-align: middle;
}

.map-legend {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 400;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 11px;
  color: rgb(203 213 225);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  margin-right: 4px;
}

.legend-dot.weather-fx {
  width: 8px;
  height: 8px;
}

.weather-effects-canvas {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 450;
}

.legend-dot.heat { background: #f97316; }
.legend-dot.road { background: #22c55e; }

.map-panel {
  min-height: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-green {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.status-yellow {
  background: rgba(234, 179, 8, 0.15);
  color: #fde047;
}

.status-red {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.alert-card {
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.alert-card:hover {
  transform: translateY(-1px);
}

.alert-yellow {
  border-color: rgba(234, 179, 8, 0.45);
  background: rgba(234, 179, 8, 0.08);
}

.alert-red {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.08);
}

.zone-card {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.65);
}

.leaflet-popup-content {
  margin: 0.6rem 0.8rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .main-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(50vh, 1fr);
  }

  .sidebar {
    max-height: 42vh;
    border-right: none;
    border-bottom: 1px solid rgb(30 41 59);
  }
}

.fleet-private-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #bae6fd;
  background: rgba(14, 116, 144, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.35);
  vertical-align: middle;
}

.fleet-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  color: #7dd3fc;
  background: rgba(8, 47, 73, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.fleet-header-pill::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

.fleet-login-panel,
.fleet-dashboard {
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 0.75rem;
  background: rgba(8, 47, 73, 0.28);
  padding: 0.75rem;
}

.fleet-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.fleet-input {
  width: 100%;
  border-radius: 0.55rem;
  border: 1px solid rgba(100, 116, 139, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: #e2e8f0;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
}

.fleet-input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15);
}

.fleet-login-btn {
  width: 100%;
  border: none;
  border-radius: 0.55rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #082f49;
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  cursor: pointer;
}

.fleet-login-btn:hover {
  filter: brightness(1.05);
}

.fleet-login-error {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #fecaca;
}

.fleet-dashboard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.fleet-logout-btn {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.8);
  color: #cbd5e1;
  border-radius: 0.45rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  cursor: pointer;
}

.fleet-layer-toggle {
  display: inline-flex;
}

.fleet-convoy-list {
  display: grid;
  gap: 0.45rem;
}

.fleet-convoy-card {
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 0.55rem;
  padding: 0.45rem 0.55rem;
  background: rgba(15, 23, 42, 0.55);
}

.fleet-convoy-card__title {
  font-size: 0.8rem;
  color: #e2e8f0;
}

.fleet-convoy-card__meta {
  font-size: 0.7rem;
  color: #94a3b8;
}

.fleet-vehicle-list {
  display: grid;
  gap: 0.35rem;
}

.fleet-vehicle-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.55rem;
  background: rgba(15, 23, 42, 0.55);
  padding: 0.45rem 0.55rem;
  text-align: left;
  cursor: pointer;
}

.fleet-vehicle-row:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.fleet-vehicle-row__cargo {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
}

.fleet-vehicle-row__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.fleet-vehicle-row__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fleet-vehicle-row__name {
  font-size: 0.78rem;
  color: #e2e8f0;
}

.fleet-vehicle-row__sub {
  font-size: 0.68rem;
  color: #94a3b8;
}

.fleet-vehicle-row__status {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.fleet-vehicle-row__status.is-online {
  color: #34d399;
}

.fleet-marker-icon {
  background: transparent !important;
  border: none !important;
}

.fleet-marker {
  position: relative;
  width: 56px;
  text-align: center;
  pointer-events: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}

.fleet-marker__cargo {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0 auto 0.15rem;
  padding: 0.12rem 0.38rem;
  border-radius: 999px;
  border: 1.5px solid var(--fleet-color, #38bdf8);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  line-height: 1;
}

.fleet-marker__cargo--refrigerated {
  border-color: #38bdf8;
  background: rgba(8, 47, 73, 0.95);
}

.fleet-marker__cargo--perishable {
  border-color: #4ade80;
  background: rgba(5, 46, 22, 0.92);
}

.fleet-marker__cargo--general {
  border-color: #f59e0b;
  background: rgba(69, 26, 3, 0.9);
}

.fleet-marker__cargo-icon {
  font-size: 0.82rem;
  line-height: 1;
}

.fleet-marker__cargo-text {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #f8fafc;
  text-transform: uppercase;
}

.fleet-marker--selected .fleet-marker__truck svg circle {
  stroke-width: 3.5;
  filter: drop-shadow(0 0 6px var(--fleet-color, #38bdf8));
}

.fleet-marker__truck {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fleet-marker__icon {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border-radius: 0.65rem;
  border: 2px solid var(--fleet-color, #38bdf8);
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.fleet-marker--offline .fleet-marker__truck {
  opacity: 0.55;
}

.fleet-marker__label {
  margin-top: 0.1rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.fleet-marker__tail {
  display: none;
}

.fleet-route-panel {
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  padding-top: 0.75rem;
}

.fleet-route-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.fleet-mini-btn {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.8);
  color: #cbd5e1;
  border-radius: 0.45rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  cursor: pointer;
}

.fleet-mini-btn:hover {
  border-color: rgba(56, 189, 248, 0.45);
  color: #e2e8f0;
}

.fleet-selection-label {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: #94a3b8;
}

.fleet-route-status {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: #7dd3fc;
}

.fleet-route-status.is-error {
  color: #fecaca;
}

.fleet-convoy-card--btn {
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: rgba(15, 23, 42, 0.55);
}

.fleet-convoy-card--btn:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.fleet-vehicle-row.is-selected {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
  background: rgba(8, 47, 73, 0.55);
}
