.custom-card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  cursor: pointer;
}

.custom-card-header {
  margin-bottom: 10px;
}

.custom-card-id {
  font-weight: bold;
  font-size: 16px;
}

.custom-card-id .speed{
  position: relative;
  top: 0px;
}

.custom-card-time {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

.custom-card-time img{
     width: 16px;
    float: left;
    top: 2px;
    position: relative;
    margin-right: 4px;
}


.custom-card-body {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.custom-vehicle-img {
      width: 80px;
    height: auto;
    margin-right: 10px;
    border: 1px solid #eeee;
    border-radius: 4px;
}

.custom-card-details .custom-detail-row {
  margin-bottom: 10px;
}

.custom-icon {
  margin-right: 6px;
}

.custom-card-footer {
  display: flex;
  gap: 10px;
}

.custom-alert-badge,
.custom-link-badge {
  display: flex;
  align-items: center;
  gap: 4px;
}

.custom-link-badge {
  
}

.custom-icon img{
  width: 16px;
}


.height-for-vehicles{
  height: calc(100vh - 100px);
  overflow: scroll;
  position: relative;
}

.height-for-vehicles.height-120px{
  height: calc(100vh - 193px);
}

.height-for-vehicles._100p{
  height: 100vh;
}


._mt_not_scrollbar {
  scrollbar-width: none;
}
._mt_not_scrollbar::-webkit-scrollbar {
  display: none;
}

._mt_not_scrollbar::-moz-scrollbars {
  display: none;
}

._mt_not_scrollbar::-o-scrollbar {
  display: none;
}

._mt_not_scrollbar::-google-ms-scrollbar {
  display: none;
}

._mt_not_scrollbar::-khtml-scrollbar {
  display: none;
}

._mt_not_scrollbar {
  overflow: -moz-scrollbars-none;
  overflow-x: scroll !important;
}

._mt_not_scrollbar {
  -ms-overflow-style: none;
  overflow-x: scroll !important;
}

._mt_not_scrollbar::-webkit-scrollbar {
  width: 0 !important;
}


.mapcontainer {
    width: 100%;
    height: calc(100vh - 150px);
    margin: 0 auto;
}


.mapcontainer._100p{
  height: 100vh;
  padding: 10px;
}

.mapcontainer iframe {
    width: 100%;
    height: 100%;
    border: none;
}


#map-victor {
  width: 100%;
  height: 100%;
}




.kOPuia .stoppageItin {
  cursor: pointer;
}
.dtNdSL .intineraryDetailsContainer * {
  scrollbar-width: thin;
}
.dtNdSL div:focus {
  outline: none;
}
.gOfXhO {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0px;
  text-align: left;
  color: rgb(68, 68, 68);
}
.fBGQGg {
  display: flex;
  flex-direction: row;
}
.lprqOU {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: left;
  margin-left: 14px;
}
.fXtPXG {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgb(234, 237, 250);
  gap: 10px;
  margin-left: 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0px;
  text-align: left;
  color: rgb(136, 136, 136);
}
.kfONji {
  margin-left: 5px;
  border-left: 1px dashed rgb(170, 170, 170);
  padding-bottom: 20px;
  padding-top: 5px;
}

.kfONji .location-name{
      margin-left: 18px;
    font-size: 12px;
    color: #6c757d;
}

.dTDvmG {
  padding: 2px 10px;
  border-radius: 6px;
  color: rgb(0, 102, 255);
  background-color: rgb(244, 245, 250);
  box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 85px;
  cursor: pointer;
}
.krwWIB {
      padding-left: 18px;
    margin-top: 0px;
    color: rgb(136, 136, 136);
    font-size: 10px;
}
.iVmhjD {
  padding-top: 12px;
  margin-left: 8px;
}
.hCUQzS {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0px;
}



.dates-chips-card{
  position: sticky;
  top: 0px;
  left: 0px;
  width: 100%;
}

 
 .dates-chips {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dates-chips li {
  flex: 1;
  text-align: center;
  margin: 5px;
  cursor: pointer;
}

.ev-v2-page {
  --ev-bg: #f3f5fb;
  --ev-surface: #ffffff;
  --ev-surface-soft: #f7f9fc;
  --ev-border: #d9e0ea;
  --ev-border-strong: #c7d0dc;
  --ev-text: #111827;
  --ev-text-soft: #7a869f;
  --ev-text-muted: #95a0b5;
  --ev-green: #10b85b;
  --ev-green-soft: #dcf7e7;
  --ev-amber: #d78a10;
  --ev-amber-soft: #fff1d5;
  --ev-red: #e13a34;
  --ev-red-soft: #ffe2df;
  --ev-blue: #2563eb;
  --ev-blue-soft: #e0ebff;
  --ev-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  color: var(--ev-text);
}

.ev-v2-page *,
.ev-v2-page *::before,
.ev-v2-page *::after {
  box-sizing: border-box;
}

.ev-v2-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 0 28px;
}

.ev-v2-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ev-text-soft);
  font-size: 12px;
}

.ev-v2-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.ev-v2-breadcrumb .current {
  color: var(--ev-text);
  font-weight: 700;
}

.ev-v2-breadcrumb .sep {
  opacity: 0.65;
}

.ev-v2-hero,
.ev-card {
  background: var(--ev-surface);
  border: 1px solid var(--ev-border);
  border-radius: 16px;
  box-shadow: var(--ev-shadow);
}

.ev-v2-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(420px, 1.7fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  margin-bottom: 14px;
}

.hero-vehicle {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.hero-vehicle-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(180deg, #eef2f8, #dfe6ef);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5565;
  font-size: 28px;
  flex-shrink: 0;
}

.hero-vehicle-copy {
  min-width: 0;
}

.hero-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.hero-title-row h1,
.hero-vehicle-title {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(1.1rem, 0.95rem + 0.45vw, 1.55rem) !important;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.hero-vehicle-copy p {
  margin: 0;
  color: var(--ev-text-soft);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-pill,
.micro-pill,
.count-chip,
.balance-pill,
.delta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 10px;
}

.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill.moving,
.micro-pill.up,
.balance-pill.good {
  background: var(--ev-green-soft);
  color: #098b46;
}

.status-pill.idle,
.micro-pill.down,
.delta-pill.down {
  background: var(--ev-amber-soft);
  color: #9a6400;
}

.status-pill.warning,
.balance-pill.warning {
  background: var(--ev-blue-soft);
  color: var(--ev-blue);
}

.status-pill.offline,
.micro-pill.flat,
.delta-pill.flat {
  background: #eef2f7;
  color: #667085;
}

.delta-pill.up {
  background: var(--ev-green-soft);
  color: #098b46;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  gap: 0;
  min-width: 0;
}

.hero-stat {
  padding: 0 16px;
  border-left: 1px solid var(--ev-border);
}

.hero-stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-stat .label,
.mini-stat .label,
.summary-metric span,
.impact-mini span,
.impact-metric span,
.metric-row span,
.charge-split-item .label {
  display: block;
  color: var(--ev-text-soft);
  font-size: 11px;
}

.hero-stat .value,
.mini-stat .value,
.summary-metric strong,
.impact-mini strong,
.impact-metric strong,
.metric-row strong,
.charge-split-item strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ev-text);
}

.hero-stat .value small,
.mini-stat .value small,
.charge-unit,
.charge-split-item small {
  color: var(--ev-text-soft);
  font-size: 11px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ev-action-btn {
  appearance: none;
  border: 1px solid var(--ev-border);
  background: var(--ev-surface);
  color: var(--ev-text);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ev-action-btn:hover {
  border-color: var(--ev-border-strong);
  transform: translateY(-1px);
}

.ev-action-btn.danger {
  background: var(--ev-red);
  border-color: var(--ev-red);
  color: #fff;
}

.ev-v2-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.ev-v2-grid-top {
  grid-template-columns: 1.15fr 1.05fr 1.1fr;
}

.ev-v2-grid-bottom {
  grid-template-columns: 1.7fr 0.9fr;
}

.ev-card {
  padding: 18px 18px 16px;
  overflow: hidden;
}

.ev-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ev-card-head h2 {
  margin: 0;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ev-card-head p,
.eyebrow {
  margin: 2px 0 0;
  color: var(--ev-text-soft);
  font-size: 11px;
}

.eyebrow {
  margin: 0;
  white-space: nowrap;
}

.charge-display {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.charge-number {
  font-size: 76px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.charge-unit {
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
}

.charge-bar {
  position: relative;
  height: 42px;
  border-radius: 10px;
  background: #edf1f7;
  border: 1px solid var(--ev-border);
  overflow: hidden;
  margin-bottom: 14px;
}

.charge-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, #12c45f, #0ea84d);
  border-right: 1px solid rgba(255, 255, 255, 0.45);
}

.charge-bar-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.charge-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--ev-border);
  background: var(--ev-surface-soft);
  margin-bottom: 14px;
}

.charge-split-item.align-end {
  text-align: right;
}

.mini-stats,
.health-footer,
.impact-footer {
  display: grid;
  gap: 14px;
}

.mini-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px dashed var(--ev-border);
  padding-top: 14px;
}

.health-summary {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
}

.health-ring {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 55%, transparent 56%),
    conic-gradient(#10b85b 0deg, #10b85b var(--ring-angle, 0deg), #e9edf4 var(--ring-angle, 0deg), #e9edf4 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ev-border);
}

.ring-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ring-center strong {
  font-size: 28px;
  line-height: 1;
}

.ring-center span {
  color: var(--ev-text-soft);
  font-size: 11px;
}

.health-list,
.location-meta-grid {
  display: grid;
  gap: 10px;
}

.metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.health-footer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px dashed var(--ev-border);
  padding-top: 14px;
  margin-top: 14px;
}

.location-map-wrap {
  position: relative;
  height: 248px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ev-border);
  background: linear-gradient(180deg, #edf2f8, #dae3ef);
  margin-bottom: 14px;
}

.location-map {
  width: 100%;
  height: 100%;
}

.location-coordinates {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 224, 234, 0.95);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.empty-map,
.empty-state,
.chart-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: var(--ev-text-soft);
  font-size: 14px;
}

.location-meta-grid .full {
  grid-column: 1 / -1;
}

.cells-head,
.telemetry-head,
.sustainability-head,
.soc-history-head {
  align-items: center;
}

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

.count-chip {
  background: #eef2f7;
  color: #667085;
}

.segmented,
.compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid var(--ev-border);
  border-radius: 10px;
  padding: 3px;
}

.segmented button,
.compare-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ev-text-soft);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.compare-toggle span {
  color: var(--ev-text-soft);
  font-size: 11px;
  padding-left: 8px;
}

.sustainability-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.segmented button.is-active,
.compare-toggle button.is-active {
  background: var(--ev-surface);
  color: var(--ev-text);
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.08);
}

.cells-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  border-bottom: 1px dashed var(--ev-border);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.cells-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cell-card {
  border: 1px solid var(--ev-border);
  border-radius: 12px;
  padding: 14px;
  background: var(--ev-surface-soft);
}

.cell-name {
  display: block;
  color: var(--ev-text-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cell-primary {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cell-primary small {
  color: var(--ev-text-soft);
  font-size: 12px;
  font-weight: 500;
  margin-left: 4px;
}

.cell-secondary {
  display: block;
  color: var(--ev-text-soft);
  font-size: 12px;
  margin-bottom: 10px;
}

.cell-bar {
  height: 6px;
  background: #e8edf4;
  border-radius: 999px;
  overflow: hidden;
}

.cell-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0fb95a, #13c460);
}

.range-picker {
  width: 310px;
  max-width: 100%;
  border: 1px solid var(--ev-border);
  border-radius: 10px;
  background: var(--ev-surface);
  color: var(--ev-text);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
}

.telemetry-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.telemetry-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ev-border);
  background: var(--ev-surface-soft);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--ev-text-soft);
  font-size: 12px;
}

.telemetry-legend strong {
  color: var(--ev-text);
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
}

.swatch.soc { background: #7c3aed; }
.swatch.voltage { background: #2563eb; }
.swatch.current { background: #ea580c; }
.swatch.speed { background: #0ea85f; }

.chart-surface {
  min-height: 220px;
}

.alerts-list {
  display: grid;
  gap: 10px;
}

.alert-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--ev-border);
  border-radius: 12px;
  background: var(--ev-surface-soft);
}

.alert-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2563eb;
  margin-top: 6px;
}

.alert-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.alert-topline strong {
  font-size: 14px;
  font-weight: 700;
}

.alert-topline span,
.alert-copy p,
.soc-history-head p,
.sustainability-head p,
.telemetry-head p {
  color: var(--ev-text-soft);
  font-size: 11px;
}

.alert-copy p {
  margin: 0;
}

.impact-grid,
.impact-footer {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.impact-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.impact-hero,
.impact-mini,
.impact-metric {
  border: 1px solid var(--ev-border);
  border-radius: 12px;
  background: var(--ev-surface-soft);
  padding: 14px;
}

.impact-hero {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 148px;
  background:
    radial-gradient(circle at top left, rgba(16, 184, 91, 0.18), transparent 48%),
    var(--ev-surface-soft);
}

.impact-hero .eyebrow {
  margin-bottom: 6px;
}

.impact-hero strong {
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.impact-hero small {
  color: var(--ev-text-soft);
  font-size: 14px;
}

.impact-chart-shell {
  border-radius: 16px;
  border: 1px solid var(--ev-border);
  background: linear-gradient(180deg, #f9fcfa, #f4fbf7);
  padding: 10px 10px 0;
  margin-bottom: 14px;
}

.impact-chart-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px;
  margin-bottom: 4px;
}

.impact-chart-meta span:first-child {
  color: var(--ev-text);
  font-size: 12px;
  font-weight: 600;
}

.impact-chart-meta span:last-child {
  color: var(--ev-text-soft);
  font-size: 11px;
}

.impact-footer {
  display: grid;
}

.soc-history-chart {
  margin-bottom: 8px;
}

.soc-history-table {
  width: 100%;
  border-collapse: collapse;
}

.soc-history-table th,
.soc-history-table td {
  padding: 12px 10px;
  border-top: 1px solid var(--ev-border);
  font-size: 12px;
  text-align: left;
  vertical-align: middle;
}

.soc-history-table thead th {
  color: var(--ev-text-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 0;
}

.delta-pill {
  min-width: 60px;
}

.daterangepicker {
  border-radius: 18px !important;
  border: 1px solid var(--ev-border) !important;
  box-shadow: var(--ev-shadow) !important;
}

@media (max-width: 1480px) {
  .ev-v2-hero {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 0;
  }

  .ev-v2-grid-top {
    grid-template-columns: 1fr 1fr;
  }

  .location-card {
    grid-column: 1 / -1;
  }

  .cells-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .impact-grid,
  .impact-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .impact-hero {
    grid-column: span 3;
  }

  .sustainability-controls {
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .ev-v2-grid-top,
  .ev-v2-grid-bottom {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .cells-summary,
  .impact-grid,
  .impact-footer,
  .mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .health-summary {
    grid-template-columns: 1fr;
  }

  .health-ring {
    width: 132px;
    height: 132px;
  }

  .cells-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sustainability-controls {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .ev-v2-shell {
    padding-bottom: 20px;
  }

  .ev-v2-hero,
  .ev-card {
    border-radius: 14px;
    padding: 16px;
  }

  .hero-vehicle {
    align-items: flex-start;
  }

  .hero-vehicle-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    font-size: 24px;
  }

  .hero-title-row h1,
  .hero-vehicle-title {
    font-size: clamp(1rem, 0.92rem + 0.8vw, 1.2rem) !important;
    line-height: 1.05;
  }

  .ev-card-head h2 {
    white-space: normal;
  }

  .charge-number {
    font-size: 60px;
  }

  .hero-stats,
  .cells-summary,
  .cells-grid,
  .impact-grid,
  .impact-footer,
  .mini-stats,
  .health-footer,
  .charge-split-card {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    border-left: 0;
    border-top: 1px solid var(--ev-border);
    padding: 14px 0 0;
  }

  .hero-stat:first-child {
    border-top: 0;
  }

  .location-map-wrap {
    height: 220px;
  }

  .impact-hero {
    grid-column: auto;
  }

  .sustainability-controls,
  .segmented,
  .compare-toggle {
    width: 100%;
  }

  .sustainability-controls {
    align-items: stretch;
  }

  .segmented,
  .compare-toggle {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .range-picker {
    width: 100%;
  }

  .impact-chart-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}


.dates-chips li{
  margin-left: 5px;
  margin-right: 5px;
  text-align: center;
  border: 1px solid #dedede;
}

.dates-chips li.active{
    color: #fff !important;
    background-color: #198754;
}

.dates-chips li p{
  margin-bottom: 0px;
}

.placeSearch.list-group{
  position: absolute;
  left: 0px;
  width: 100%;
  z-index: 999999;
}

.pos-relative{
  position: relative;
}


.placeSearch.list-group li{
  cursor: pointer;
}

.pull-right{
  float: right;
}


.need-positioning{
  position: relative;;
  left:10px;
  top: -3px;
}



/* Icon sizes - can be defined as utility classes if preferred */
.icon-16 {
    font-size: 16px !important; /* Corresponds to text-md potentially */
    width: 16px; height: 16px;
}
.icon-18 {
    font-size: 18px !important;
    width: 18px; height: 18px;
}
.icon-20 {
    font-size: 20px !important; /* Corresponds to text-xl potentially */
    width: 20px; height: 20px;
}
.icon-24 {
    font-size: 24px !important; /* Corresponds to text-xxl potentially */
    width: 24px; height: 24px;
}
.icon-32 {
    font-size: 32px !important;
    width: 32px; height: 32px;
}


/* Ensure Iconsax elements size correctly if font-size is not enough */
i-sax {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Map Pin styles */
.map-pin-icon {
    font-size: 28px !important; /* Adjust size as needed */
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}


/* Specific adjustment for search input if padding utilities don't align icon perfectly */
.form-control.ps-40 {
    padding-left: 40px !important;
}

/* Make sure cards in the left panel fill height of their col if needed */
.row.g-16 > .col-6 > .bg-base {
    display: flex;
    flex-direction: column;
}

/* Optional: Adjust line height for card titles/text for closer match if needed */
h3.mb-0, h4.mb-0, h5.mb-0 {
    line-height: 1.2;
}
p.text-xs, p.text-sm {
    line-height: 1.4;
}

.fw-600 {
    font-weight: 600 !important;
}

/* Ensure flex-grow works for map container */
.map-container.flex-grow-1 {
    flex-grow: 1 !important;
}




.mr-4{
  margin-right: 4px;  
}


.live-icons-inline{
  display: inline-block;
  background-color: #F8FAFC;
  border-radius: 50%;
  text-align: center;
  height: 40px;
  width: 40px;
  line-height: 40px;
  margin-right: 4px;
  font-size: 22px;
}



/* Minor adjustments if needed, or to handle very specific things not in style.css */
  .vehicle-status-on {
      writing-mode: vertical-rl;
      text-orientation: mixed;
      transform: rotate(180deg);
      font-weight: 600;
  }
  .param-icon-wrapper {
      width: 40px;
      height: 40px;
      flex-shrink: 0;
  }
  .param-icon-dot {
      width: 10px;
      height: 10px;
      top: 2px; /* Adjusted for visual*/
      right: 2px; /* Adjusted for visual */
  }
  .alert-icon-wrapper {
      width: 36px;
      height: 36px;
      flex-shrink: 0;
  }
  .action-arrow {
      width: 28px;
      height: 28px;
      flex-shrink: 0;
  }
  /* Ensure breadcrumb items are styled correctly */
  .breadcrumb-item + .breadcrumb-item::before {
      color: var(--text-secondary-light);
  }



  .info-content {
      font-size: 14px;
      font-family: "National Park", sans-serif;
      line-height: 1.5;
    }
    .info-content strong,
    .info-content b{
      font-weight: 600;
    }

    .number_plate{
      background: #fecc02;
      color: #403530;
      font-weight: 800;
      border: 2px solid #000000;
      text-align: center;
      font-size: 20px;
      border-radius: 4px;
      margin-bottom: 10px;
      margin-top: 5px;
    }

    .get-directions-button{
      position: absolute;
    top: 15px;
    left: 15px;
    }
    
    .get-directions-button a,
    .get-directions-button a:hover{
      text-decoration: none;
      outline: none;
      border: none;
    }

    .get-directions-button img{
      width: 24px;
    }



/* SoC Distribution Chart Styles */
.soc-label {
    width: 75px; /* Adjusted for better alignment if needed */
    flex-shrink: 0;
}

.soc-bar-container {
    background-color: var(--neutral-100); /* Light grey track */
    border-radius: var(--rounded-6);
    height: 38px; /* Fixed height for the track */
    position: relative;
    overflow: hidden; /* Ensures inner bar respects rounded corners */
}

.soc-bar {
    height: 100%; /* Take full height of the container */
    display: flex;
    align-items: center;
    /* py-6 and px-12 are applied for internal padding */
}
.soc-bar i {
    font-size: 1.1rem; /* Adjust icon size inside bar */
}
.soc-bar span {
    font-size: 0.875rem; /* Adjust text size inside bar */
}


/* Active Critical Alerts Styles */
.alert-icon-wrapper {
    width: 36px; /* avatar-sm is 1.5rem = 24px, image looks larger for icon bg */
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.alert-icon-wrapper i {
    font-size: 1.125rem; /* fs-5 is typically 1.25rem, adjust if needed */
}

.list-group-item {
    background-color: var(--white); /* Ensure list items are white */
    border-bottom: 1px solid var(--border-color); /* Separator line */
}
.list-group-item:last-child {
    border-bottom: none;
}
.card-body.p-0 .list-group {
    border-top: 1px solid var(--border-color); /* Add top border if p-0 on card-body */
}
.card-footer.bg-transparent {
    background-color: transparent !important; /* Ensure footer is transparent */
}

/* Notification dot for the bell icon */
.notification-bell-dot {
    width: 7px;
    height: 7px;
    top: 2px;
    right: 2px;
}



.relay-controller-onmap{
  position: absolute;
  top: 80px;
  left: 35px;
  z-index: 1;
}

.run-stop-div{
  width: 200px;
  position: absolute;
  top: 100px;
  left: 20px;
  z-index: 1;
}


.float-right.btn-bring-up{
  position: relative;
  float: right;
}


._100percentage .mapcontainer._100p{
  height: 100vh !important;
}

.dashboard-map-small ._100percentage  #maplive{
  height: calc(100vh - 20px) !important;
}


.pending-bg { background-color: #ffc107 !important; }     /* Yellow */
.running-bg { background-color: #28a745 !important; }     /* Green */
.stopped-bg { background-color: #dc3545 !important; }     /* Red */
.wire-bg    { background-color: #6c757d; }     /* Gray */
.network-bg { background-color: #0d6efd !important; }     /* Blue */
.idle-bg    { background-color: #fd7e14 !important; }     /* Orange */

/* ── Fleet Overview Dashboard ─────────────────────────────────── */
.fo-page { background: #f4f6fb; min-height: 100vh; }

/* Header bar */
.fo-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 14px;
    background: #fff;
    border-bottom: 1px solid #e8eaf0;
    gap: 12px;
}
.fo-topbar-left { display: flex; flex-direction: column; gap: 4px; }
.fo-topbar-title { font-size: 1.25rem !important; font-weight: 700; color: #1a1f36; margin: 0; line-height: 1.1; }
.fo-topbar-sub  { font-size: 0.875rem !important; color: #8a93a8; margin: 0; }
.fo-topbar-right { display: flex; align-items: center; gap: 14px; }
.fo-live-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #f0fdf4; border: 1px solid #bbf7d0;
    color: #166534; font-size: 0.8125rem !important; font-weight: 600;
    padding: 5px 12px; border-radius: 20px;
}
.fo-live-dot {
    width: 7px; height: 7px; background: #22c55e;
    border-radius: 50%; animation: fo-pulse 2s infinite;
}
@keyframes fo-pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.5; transform:scale(1.3); }
}
.fo-notif-btn {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: #f4f6fb; border: 1px solid #e2e6f0;
    color: #4b5563; text-decoration: none; transition: all .2s;
}
.fo-notif-btn:hover { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.fo-notif-badge {
    position: absolute; top: -4px; right: -4px;
    width: 16px; height: 16px; background: #ef4444;
    border-radius: 50%; font-size: 9px !important; font-weight: 700;
    color: #fff; display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}

/* Stats row */
.fo-stats { display: flex; gap: 14px; padding: 18px 24px 0; flex-wrap: wrap; }
.fo-stat-card {
    flex: 1; min-width: 160px;
    background: #fff; border-radius: 14px;
    border: 1px solid #e8eaf0;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    padding: 16px 18px 14px;
    display: flex; align-items: flex-start; gap: 14px;
    cursor: pointer; transition: all .22s;
    position: relative; overflow: hidden;
}
.fo-stat-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; border-radius: 14px 0 0 14px;
}
.fo-stat-card.total::before    { background: #3b82f6; }
.fo-stat-card.running::before  { background: #22c55e; }
.fo-stat-card.idle::before     { background: #f59e0b; }
.fo-stat-card.stopped::before  { background: #ef4444; }
.fo-stat-card.offline::before  { background: #8b5cf6; }

.fo-stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.fo-stat-card.active { transform: translateY(-2px); }
.fo-stat-card.total.active    { background: #eff6ff; border-color: #93c5fd; }
.fo-stat-card.running.active  { background: #f0fdf4; border-color: #86efac; }
.fo-stat-card.idle.active     { background: #fffbeb; border-color: #fde68a; }
.fo-stat-card.stopped.active  { background: #fef2f2; border-color: #fca5a5; }
.fo-stat-card.offline.active  { background: #f5f3ff; border-color: #c4b5fd; }

.fo-stat-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem !important;
}
.fo-stat-card.total   .fo-stat-icon { background: #eff6ff; color: #3b82f6; }
.fo-stat-card.running .fo-stat-icon { background: #f0fdf4; color: #22c55e; }
.fo-stat-card.idle    .fo-stat-icon { background: #fffbeb; color: #f59e0b; }
.fo-stat-card.stopped .fo-stat-icon { background: #fef2f2; color: #ef4444; }
.fo-stat-card.offline .fo-stat-icon { background: #f5f3ff; color: #8b5cf6; }

.fo-stat-body { flex: 1; min-width: 0; }
.fo-stat-num  { font-size: 2.375rem !important; font-weight: 700; color: #1a1f36; line-height: 1; margin-bottom: 4px; }
.fo-stat-label{ font-size: 0.6875rem !important; font-weight: 700; color: #8a93a8; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.fo-stat-sub  { font-size: 0.75rem !important; color: #a0aab8; }
.fo-stat-pct  { font-weight: 700; }
.fo-stat-pct.total-c   { color: #3b82f6; }
.fo-stat-pct.running-c { color: #22c55e; }
.fo-stat-pct.idle-c    { color: #f59e0b; }
.fo-stat-pct.stopped-c { color: #ef4444; }
.fo-stat-pct.offline-c { color: #8b5cf6; }

/* Main content grid */
.fo-body { padding: 18px 24px 30px; display: flex; flex-direction: column; gap: 20px; }

/* Map + right panel row */
.fo-map-row { display: flex; gap: 16px; align-items: flex-start; }
.fo-map-card {
    flex: 1; background: #fff; border-radius: 14px;
    border: 1px solid #e8eaf0; box-shadow: 0 1px 4px rgba(0,0,0,.05);
    overflow: hidden; min-width: 0;
}
.fo-map-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px 12px; border-bottom: 1px solid #f1f3f8; gap: 10px; flex-wrap: wrap;
}
.fo-map-title { font-size: 1.25rem !important; font-weight: 700; color: #1a1f36; margin: 0; }
.fo-map-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.fo-filter-btn {
    padding: 5px 14px; border-radius: 20px; border: 1px solid #e2e6f0;
    background: #f8f9fc; color: #6b7280; font-size: 0.8125rem !important; font-weight: 600;
    cursor: pointer; transition: all .18s; text-transform: capitalize;
}
.fo-filter-btn:hover  { border-color: #93c5fd; color: #3b82f6; background: #eff6ff; }
.fo-filter-btn.active { background: #1a1f36; color: #fff; border-color: #1a1f36; }

.fo-map-body { position: relative; display: flex; height: 500px; max-height: 500px; overflow: hidden; }
#fo-vehicle-sidebar {
    width: 0; overflow: hidden; transition: width .3s ease;
    border-right: 1px solid #f1f3f8; background: #fafbfc;
    height: 100%;
}
#fo-vehicle-sidebar.open { width: 230px; overflow-y: auto; }
#fo-vehicle-sidebar-inner { width: 230px; padding: 10px 0; }
.fo-sidebar-group-title {
    font-size: 0.6875rem !important; font-weight: 700; color: #9ca3af; text-transform: uppercase;
    letter-spacing: .08em; padding: 8px 14px 4px;
}
.fo-sidebar-vehicle-item {
    padding: 7px 14px; font-size: 0.8125rem !important; color: #374151; cursor: pointer;
    border-radius: 6px; margin: 1px 6px; transition: background .15s;
}
.fo-sidebar-vehicle-item:hover { background: #f0f9ff; color: #1d4ed8; }
.fo-sidebar-vehicle-plate { font-weight: 600; color: #1a1f36; }
.fo-sidebar-vehicle-sub   { font-size: 0.6875rem !important; color: #9ca3af; }

#fo-map { flex: 1; height: 100%; }

/* Right sidebar panel */
.fo-right-panel {
    width: 240px; flex-shrink: 0;
    background: #fff; border-radius: 14px;
    border: 1px solid #e8eaf0; box-shadow: 0 1px 4px rgba(0,0,0,.05);
    overflow: hidden; display: flex; flex-direction: column;
}
.fo-right-panel-header {
    padding: 12px 14px 10px;
    border-bottom: 1px solid #f1f3f8;
    display: flex; align-items: center; justify-content: space-between;
}
.fo-right-panel-title { font-size: 1.0625rem !important; font-weight: 700; color: #1a1f36; margin: 0; }
.fo-right-panel-count {
    font-size: 0.75rem !important; font-weight: 700; padding: 2px 8px;
    border-radius: 10px; background: #fef2f2; color: #ef4444;
}
.fo-right-panel-body { flex: 1; overflow-y: auto; max-height: 500px; }
.fo-rp-vehicle {
    padding: 9px 14px; border-bottom: 1px solid #f8f9fc;
    cursor: pointer; transition: background .15s;
}
.fo-rp-vehicle:hover { background: #fef2f2; }
.fo-rp-vehicle:last-child { border-bottom: none; }
.fo-rp-plate  { font-size: 0.8125rem !important; font-weight: 700; color: #1a1f36; }
.fo-rp-name   { font-size: 0.6875rem !important; color: #9ca3af; margin-top: 1px; }
.fo-rp-since  { font-size: 0.6875rem !important; color: #ef4444; margin-top: 2px; }
.fo-rp-empty  { padding: 30px 14px; text-align: center; color: #d1d5db; font-size: 0.8125rem !important; }

/* Bottom row */
.fo-bottom-row { display: flex; gap: 16px; align-items: flex-start; }
.fo-table-wrap {
    flex: 1; background: #fff; border-radius: 14px;
    border: 1px solid #e8eaf0; box-shadow: 0 1px 4px rgba(0,0,0,.05);
    overflow: hidden; min-width: 0;
}
.fo-maint-panel {
    width: 320px; flex-shrink: 0;
    background: #fff; border-radius: 14px;
    border: 1px solid #e8eaf0; box-shadow: 0 1px 4px rgba(0,0,0,.05);
    overflow: hidden; display: flex; flex-direction: column;
}
.fo-maint-header {
    padding: 14px 16px 12px;
    border-bottom: 1px solid #f1f3f8;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
}
.fo-maint-header-left h6 { font-size: 1.25rem !important; font-weight: 700; color: #1a1f36; margin: 0 0 3px; }
.fo-maint-header-left p  { font-size: 0.75rem !important; color: #9ca3af; margin: 0; }
.fo-maint-viewall {
    font-size: 0.75rem !important; font-weight: 600; color: #3b82f6; text-decoration: none;
    padding: 4px 10px; border: 1px solid #bfdbfe; border-radius: 8px; white-space: nowrap;
    transition: all .15s;
}
.fo-maint-viewall:hover { background: #eff6ff; color: #1d4ed8; }

.fo-alert-item {
    padding: 10px 14px; border-bottom: 1px solid #f8f9fc; display: flex; gap: 10px; align-items: flex-start;
    cursor: default; transition: background .15s;
}
.fo-alert-item:hover { background: #fafbfc; }
.fo-alert-item:last-child { border-bottom: none; }
.fo-alert-dot {
    width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex-shrink: 0;
}
.fo-alert-dot.critical { background: #ef4444; }
.fo-alert-dot.warning  { background: #f59e0b; }
.fo-alert-dot.positive { background: #22c55e; }
.fo-alert-dot.neutral  { background: #6b7280; }
.fo-alert-body { flex: 1; min-width: 0; }
.fo-alert-name  { font-size: 0.8125rem !important; font-weight: 600; color: #1a1f36; }
.fo-alert-plate { font-size: 0.75rem !important; color: #6b7280; }
.fo-alert-time  { font-size: 0.6875rem !important; color: #9ca3af; margin-top: 1px; }
.fo-alert-badge {
    font-size: 0.6875rem !important; font-weight: 700; padding: 2px 8px; border-radius: 8px;
    flex-shrink: 0; align-self: flex-start; margin-top: 2px;
    text-transform: capitalize;
}
.fo-alert-badge.critical { background: #fef2f2; color: #dc2626; }
.fo-alert-badge.warning  { background: #fffbeb; color: #d97706; }
.fo-alert-badge.positive { background: #f0fdf4; color: #16a34a; }
.fo-alert-badge.neutral  { background: #f9fafb; color: #4b5563; }

/* Map infowindow status colors */
.vehicle-status.status-running  { color:#22c55e; font-weight:600; }
.vehicle-status.status-idle     { color:#f59e0b; font-weight:600; }
.vehicle-status.status-stopped  { color:#ef4444; font-weight:600; }
.vehicle-status.status-wire     { color:#8b5cf6; font-weight:600; }
.vehicle-status.status-low      { color:#f97316; font-weight:600; }

.vehicle-info-box { font-size:13px !important; min-width:220px; line-height:1.6; }
.vehicle-info-title { font-size:14px !important; font-weight:700; color:#1a1f36; margin-bottom:4px; }
.infowindow-close-btn {
    float:right; cursor:pointer; font-size:18px !important; color:#9ca3af;
    margin-left:8px; line-height:1;
}
.infowindow-close-btn:hover { color:#ef4444; }

/* Responsive */
@media (max-width: 1100px) {
    .fo-right-panel, .fo-maint-panel { display: none; }
    .fo-map-row, .fo-bottom-row { flex-direction: column; }
    .fo-table-wrap { width: 100%; }
}
@media (max-width: 768px) {
    .fo-stats { padding: 14px 14px 0; }
    .fo-body  { padding: 14px 14px 24px; }
    .fo-topbar { padding: 14px 14px 12px; }
    .fo-stat-card { min-width: calc(50% - 8px); }
}
