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

:root {
--green: #00a86b;
--green-dark: #007a4d;
--green-light: #e6f7f0;

--black: #111713;
--grey-900: #26302a;
--grey-700: #58635d;
--grey-500: #89928d;
--grey-300: #d9dedb;
--grey-200: #e9ecea;
--grey-100: #f4f6f5;

--white: #ffffff;

--max-width: 1320px;
}

/* --------------------------------
RESET
-------------------------------- */

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
margin: 0;
background: var(--white);
color: var(--black);

font-family: "Inter", sans-serif;
line-height: 1.5;
}

button,
select {
font: inherit;
}

/* --------------------------------
HEADER
-------------------------------- */

.site-header {
border-bottom: 1px solid var(--grey-200);
background: rgba(255, 255, 255, 0.96);
}

.spider-header {
height: 75px;
}

.header-inner {
width: 100%;
margin: 0;
padding: 0 32px;

display: flex;
align-items: center;
justify-content: space-between;
}

.logo-lockup {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 3px;
}

.logo {
display: flex;
align-items: center;

color: var(--black);
text-decoration: none;

font-family: "Space Grotesk", sans-serif;
font-weight: 700;
font-size: 20px;
}

.brand-logo {
width: min(225px, 42vw);
height: 75px;
object-fit: contain;
object-position: center;
display: block;
}

.header-tagline {
margin: 0 0 0 44px;
color: var(--grey-700);
font-family: "Inter", sans-serif;
font-size: 12px;
font-weight: 400;
line-height: 1.3;
}

.logo-icon {
width: 34px;
height: 34px;
flex: 0 0 34px;

display: flex;
align-items: center;
justify-content: center;

border: 3px solid var(--white);
border-radius: 50% 50% 50% 0;

background: var(--green);
color: white;

box-shadow:
  0 2px 4px rgba(0, 0, 0, 0.18),
  0 4px 8px rgba(0, 0, 0, 0.1);

font-size: 17px;

transform: rotate(-45deg);
}

.logo-icon span {
  transform: rotate(45deg);
}

.header-status {
display: flex;
align-items: center;
gap: 8px;

color: var(--grey-700);

font-size: 13px;
font-weight: 500;
}

.about-page {
  min-height: 100vh;
  background: var(--grey-100);
}

.about-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 32px 96px;
}

.about-main h1,
.about-main h2 {
  font-family: "Space Grotesk", sans-serif;
}

.about-main h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
}

.about-intro {
  margin: 0 0 56px;
  color: var(--grey-700);
  font-size: 20px;
  line-height: 1.6;
}

.about-section {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--grey-300);
}

.about-section h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.about-section p,
.about-section li {
  color: var(--grey-700);
  font-size: 16px;
}

.about-section ol {
  margin: 0;
  padding-left: 24px;
}

.about-back {
  display: inline-flex;
  margin-top: 52px;
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.about-back:hover {
  background: var(--green-dark);
}

.status-dot {
width: 8px;
height: 8px;

border-radius: 50%;

background: var(--green);
}

/* --------------------------------
HERO
-------------------------------- */

.hero {
background:
radial-gradient(
circle at 75% 30%,
rgba(0, 168, 107, 0.10),
transparent 32%
),
var(--grey-100);
}

.hero-inner {
max-width: var(--max-width);
margin: 0 auto;
padding: 100px 32px 110px;
}

.hero-copy {
max-width: 720px;
}

.eyebrow {
margin: 0 0 18px;

color: var(--green-dark);

font-size: 12px;
font-weight: 800;
letter-spacing: 0.14em;
}

.hero h1 {
margin: 0;

font-family: "Space Grotesk", sans-serif;
font-size: clamp(52px, 7vw, 92px);
line-height: 0.96;
letter-spacing: -0.055em;
}

.hero h1 span {
color: var(--green);
}

.hero-intro {
max-width: 580px;

margin: 32px 0 36px;

color: var(--grey-700);

font-size: 20px;
line-height: 1.6;
}

/* --------------------------------
LOCATION BUTTON
-------------------------------- */

.location-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  padding: 11px 14px;

  border: 1px solid var(--grey-300);
  border-radius: 8px;

  background: var(--grey-100);
  color: var(--grey-900);

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.location-button:hover {
  background: var(--green-light);
  border-color: rgba(0, 168, 107, 0.35);
  color: var(--green-dark);
}

.location-button:focus-visible {
outline: 3px solid #ffdd00;
outline-offset: 3px;
}

.button-icon {
font-size: 22px;
}

.location-note {
margin: 13px 0 0;

color: var(--grey-500);

font-size: 13px;
}

.postcode-search {
  margin-top: 24px;
  max-width: 520px;
}

.postcode-search label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.postcode-row {
  display: flex;
  gap: 10px;
}

.postcode-input {
  flex: 1;
  min-width: 0;

  padding: 13px 14px;

  border: 1px solid var(--grey-300);
  border-radius: 8px;

  font-family: inherit;
  font-size: 15px;
  color: var(--black);

  background: #ffffff;

  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);

  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.postcode-input:focus {
  outline: 3px solid #ffdd00;
  outline-offset: 1px;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 1px var(--green-dark);
}

.postcode-button {
  padding: 13px 20px;

  border: 0;
  border-radius: 8px;

  background: var(--green);
  color: var(--white);

  font-family: inherit;
  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);

  transition:
    background 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.postcode-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.postcode-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (max-width: 600px) {

  .postcode-search {
    margin-top: 12px;
  }

  .postcode-search label {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .postcode-row {
    gap: 6px;
  }

  .postcode-input,
  .postcode-button {
    padding: 9px 10px;
    font-size: 16px;
  }

  .postcode-button {
    flex: 0 0 auto;
    width: auto;
  }

  .postcode-input:focus {
    outline-width: 2px;
    outline-offset: 0;
  }

}

/* --------------------------------
RESULTS
-------------------------------- */

.results {
max-width: var(--max-width);
margin: 0 auto;

padding: 80px 32px;
}

.results-header {
display: flex;
align-items: flex-end;
justify-content: space-between;

gap: 30px;

margin-bottom: 30px;
}

.results h2 {
margin: 0;

font-family: "Space Grotesk", sans-serif;
font-size: 38px;
letter-spacing: -0.035em;
}

/* --------------------------------
FILTER
-------------------------------- */

.filter-control {
display: flex;
flex-direction: column;
gap: 7px;
}

.filter-control label {
color: var(--grey-700);

font-size: 12px;
font-weight: 700;
}

.filter-control select {
min-width: 190px;

padding: 11px 14px;

border: 1px solid var(--grey-300);
border-radius: 6px;

background: white;
color: var(--black);

cursor: pointer;
}


/* --------------------------------
   FILTERS
-------------------------------- */

.filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;

  margin-bottom: 18px;
  padding-bottom: 18px;

  border-bottom: 1px solid var(--grey-200);
}

.filters[hidden] {
  display: none;
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 8px 11px;

  border: 1px solid var(--grey-300);
  border-radius: 7px;

  background: var(--white);
  color: var(--grey-700);

  font-family: inherit;
  font-size: 13px;
  font-weight: 700;

  cursor: pointer;
}

.station-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.station-list-header .eyebrow {
  margin: 0;
}

.filter-toggle:hover,
.filter-toggle[aria-expanded="true"] {
  border-color: var(--green-dark);
  color: var(--green-dark);
}

.filter-toggle:focus-visible {
  outline: 3px solid #ffdd00;
  outline-offset: 2px;
}

.filter-toggle span {
  font-size: 17px;
  line-height: 1;
}

.speed-filter,
.connector-filter,
.sort-filter {
  min-width: 0;
}

.speed-filter label,
.connector-filter label,
.sort-filter label {
  display: block;

  margin-bottom: 6px;

  color: var(--grey-700);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.speed-filter select,
.connector-filter select,
.sort-filter select {
  width: 100%;
  min-width: 0;

  padding: 10px 12px;

  border: 1px solid var(--grey-300);
  border-radius: 7px;

  background: var(--white);
  color: var(--black);

  font-family: inherit;
  font-size: 14px;

  cursor: pointer;

  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.speed-filter select:hover,
.connector-filter select:hover,
.sort-filter select:hover {
  border-color: var(--grey-500);
}

.speed-filter select:focus,
.connector-filter select:focus,
.sort-filter select:focus {
  outline: 3px solid #ffdd00;
  outline-offset: 1px;
  border-color: var(--green-dark);
}

@media (min-width: 901px) {
  .filters {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
}


/* --------------------------------
MAP + LIST
-------------------------------- */

.map-and-list {
display: grid;

grid-template-columns:
minmax(0, 1.5fr)
minmax(360px, 0.8fr);

gap: 24px;

align-items: stretch;
}

/* --------------------------------
   MAP
-------------------------------- */

.map-container {
  min-height: 680px;

  overflow: hidden;

  border-radius: 12px;

  background: #e8ece9;
}

#map {
  width: 100%;
  height: 680px;
}


/* Leaflet controls */

.leaflet-control-zoom a {
  width: 34px !important;
  height: 34px !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  color: var(--black) !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.leaflet-control-attribution {
  font-size: 10px;
}


/* Numbered charger markers */

.charger-marker {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--green);
  color: #ffffff;

  border: 3px solid #ffffff;
  border-radius: 50%;

  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;

  box-shadow:
  0 2px 5px rgba(0, 0, 0, 0.18),
  0 4px 12px rgba(0, 0, 0, 0.12);

  transition:
    background 150ms ease,
    transform 150ms ease;
}

.charger-marker:hover {
  background: var(--green-dark);
  transform: scale(1.08);
}


/* Selected charger marker */

.charger-marker-selected {
  transform: scale(1.2);

  background: var(--green-dark);

  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.2),
    0 6px 18px rgba(0, 0, 0, 0.18);
}

/* User location marker */

.user-location-icon {
  background: transparent;
  border: 0;
}

.user-location-pin {
  display: block;

  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22))
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}


/* Selected station card */

.station-list-panel .station-card.station-card-selected {
  border: 2px solid var(--green);

  background: var(--white);

  box-shadow:
    0 0 0 2px rgba(0, 168, 107, 0.12),
    0 6px 18px rgba(0, 0, 0, 0.08);
}
/* --------------------------------
STATION LIST
-------------------------------- */

.station-list {
display: flex;
flex-direction: column;

gap: 10px;
}

.station-list-panel .fastest-badge {
  margin-top: 8px;
  margin-bottom: 0;

  font-size: 10px;
  letter-spacing: 0.05em;
}

.station-card {
display: flex;
align-items: center;

gap: 15px;

padding: 18px;

border: 1px solid var(--grey-200);
border-radius: 9px;

background: white;

cursor: pointer;

transition:
border-color 150ms ease,
transform 150ms ease,
box-shadow 150ms ease;
}

.station-card:hover {
  border-color: rgba(0, 168, 107, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.station-number {
  flex: 0 0 32px;

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--green);
  color: var(--white);

  font-weight: 800;
  font-size: 12px;

  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.12);
}

.station-content {
min-width: 0;
flex: 1;
}

.station-content h3 {
margin: 0;

font-family: "Space Grotesk", sans-serif;
font-size: 17px;

white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.station-distance {
margin: 3px 0 10px;

color: var(--grey-700);

font-size: 13px;
}

.station-meta {
display: flex;
flex-wrap: wrap;

gap: 6px;
}

.station-meta span {
padding: 4px 7px;

border-radius: 4px;

background: var(--grey-100);

color: var(--grey-700);

font-size: 11px;
font-weight: 600;
}

.station-arrow {
  flex: 0 0 28px;

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--grey-100);
  color: var(--green-dark);

  font-size: 18px;
  font-weight: 700;

  transition:
    background 150ms ease,
    transform 150ms ease;
}

.station-card:hover .station-arrow {
  background: var(--green-light);
  transform: translateX(2px);
}



/* --------------------------------
FOOTER
-------------------------------- */

.site-footer {
border-top: 1px solid var(--grey-200);
}

.footer-inner {
max-width: var(--max-width);
margin: 0 auto;

padding: 25px 32px;

display: flex;
justify-content: space-between;
gap: 20px;

color: var(--grey-500);

font-size: 12px;
}

/* --------------------------------
MOBILE
-------------------------------- */

@media (max-width: 900px) {

.hero-inner {
padding-top: 75px;
padding-bottom: 80px;
}

.map-and-list {
grid-template-columns: 1fr;
}

.map-container {
  min-height: 500px;
}

#map {
  height: 500px;
}

.results-header {
align-items: flex-start;
flex-direction: column;
}

}

@media (max-width: 600px) {

.header-inner,
.hero-inner,
.results,
.footer-inner {
padding-left: 20px;
padding-right: 20px;
}

.hero h1 {
font-size: 54px;
}

.hero-intro {
font-size: 17px;
}

.location-button {
width: 100%;
justify-content: center;
}

.results {
padding-top: 55px;
padding-bottom: 55px;
}

.results h2 {
font-size: 32px;
}

.map-container {
  min-height: 400px;
}

#map {
  height: 400px;
}

.footer-inner {
flex-direction: column;
}

}

/* --------------------------------
   SPIDER MAP PAGE
-------------------------------- */

.spider-page,
.finder-page {
  height: 100%;
  overflow: hidden;
}

html:has(body.spider-page),
html:has(body.finder-page) {
  height: 100%;
}

.spider-page #map,
.finder-page #map {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

 .spider-crosshair {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;

  display: none;
  align-items: center;
  justify-content: center;

  pointer-events: none;
  z-index: 400;

  opacity: 0.5;
}

.spider-crosshair img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.spider-crosshair.is-visible {
  display: flex;
}

.spider-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 600;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}

.spider-panel {
  position: fixed;
  top: 92px;
  left: 24px;
  z-index: 600;

  width: 360px;
  max-width: calc(100vw - 48px);

  max-height: calc(100vh - 116px);
  overflow-y: auto;

  padding: 26px;

  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(17, 23, 19, 0.08);
  border-radius: 16px;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.12);
}

.spider-panel h1 {
  margin: 4px 0 12px;

  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.035em;

  color: var(--black);
}

.spider-tagline {
  margin: 0 0 2px;
  color: var(--green-dark);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.spider-panel .hero-intro {
  margin: 0 0 22px;

  color: var(--grey-700);

  font-size: 15px;
  line-height: 1.55;
}

.location-status {
  margin: 0;
  color: var(--grey-700);
  font-size: 14px;
}

.station-list-panel {
  display: none;
  position: fixed;
  top: 92px;
  right: 24px;
  bottom: 24px;
  z-index: 600;

  width: 380px;
  max-width: calc(100vw - 48px);

  padding: 22px;

  background: rgba(255, 255, 255, 0.97);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(17, 23, 19, 0.08);
  border-radius: 16px;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.12);

  overflow-y: auto;
}

.station-list-panel.is-visible {
  display: block;
}

.station-list-panel h2 {
  margin: 0 0 16px;

  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.025em;

  color: var(--black);
}
/* Tighter cards inside the spider map's floating list */

.station-list-panel .station-list {
  gap: 6px;
}

.station-list-panel .station-card {
  position: relative;

  padding: 14px;

  gap: 12px;

  border: 1px solid var(--grey-200);
  border-radius: 10px;

  background: var(--white);

  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.station-list-panel .station-card:hover {
  border-color: rgba(0, 168, 107, 0.4);

  transform: translateY(-1px);

  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.07);
}

.station-list-panel .station-content h3,
.station-list-panel .station-details h3 {
  margin: 0;

  color: var(--black);

  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.station-list-panel .station-address {
  margin: 2px 0;
  font-size: 13px;
}

.station-list-panel .station-footer {
  margin-top: 2px;
}

.station-list-panel .station-distance {
  display: block;

  margin-top: 4px;

  color: var(--grey-700);

  font-size: 12px;
  font-weight: 600;
}

.station-list-panel .station-distance:hover {
  text-decoration-thickness: 2px;
}

.station-list-panel .station-heading {
  position: relative;
  padding-right: 32px;
}

.station-list-panel .connection-list {
  display: flex;
  flex-wrap: wrap;

  gap: 5px;

  margin: 9px 0 0;
}

.station-list-panel .connection-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 5px 7px;

  background: var(--green-light);
  border: 1px solid rgba(0, 168, 107, 0.18);
  border-radius: 5px;

  color: var(--green-dark);

  font-size: 11px;
  font-weight: 600;
}

.station-list-panel .connection-badge strong {
  color: var(--green-dark);
  font-weight: 800;
}

.station-list-panel .station-toggle {
  position: absolute;
  top: 0;
  right: 0;

  width: 24px;
  height: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;

  background: var(--green-light);
  color: var(--green-dark);

  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.station-list-panel .station-toggle:hover {
  background: var(--green);
  color: #ffffff;
}

.station-list-panel .station-expanded {
  display: none;

  margin-top: 12px;
  padding-top: 12px;

  border-top: 1px solid var(--grey-200);
}

.station-list-panel .station-expanded-open .station-expanded {
  animation: stationExpand 150ms ease-out;
}

@keyframes stationExpand {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.station-list-panel .station-expanded-open .station-expanded {
  display: block;
}

.station-list-panel .station-expanded .station-operator {
  margin: 0 0 8px;

  color: var(--grey-700);

  font-size: 12px;
  font-weight: 600;
}
.station-list-panel .station-expanded .connection-list {
  margin-bottom: 8px;
}

.station-list-panel .station-expanded .connection-badge,
.station-list-panel .station-expanded .charger-count {
  font-size: 12px;
  padding: 5px 8px;
}

.station-list-panel .station-expanded .station-status {
  margin: 0;
  font-size: 12px;
}

.station-list-panel .charger-count {
  display: inline-flex;
  align-items: center;

  padding: 5px 7px;

  background: var(--grey-100);
  border-radius: 5px;

  color: var(--grey-700);

  font-size: 11px;
  font-weight: 600;
}

.station-list-panel .directions-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  margin-top: 12px;
  padding-top: 10px;

  border-top: 1px solid var(--grey-200);

  color: var(--green-dark);

  font-size: 12px;
  font-weight: 700;

  text-decoration: none;
}

.station-list-panel .directions-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}


.station-list-panel .station-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: var(--green-dark);

  font-size: 11px;
  font-weight: 700;
}

.station-list-panel .station-status::before {
  content: "";

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green);

  box-shadow: 0 0 0 3px var(--green-light);
}

@media (max-width: 900px) {

  /* Compact bar under the header, map stays visible below it */

  .spider-panel {
    position: fixed;
    
    left: 12px;
    right: 12px;
    bottom: auto;
    z-index: 600;

    width: auto;
    max-width: none;
    max-height: 50vh;

    padding: 12px 16px;
  }

  .spider-panel h1 {
    font-size: 18px;
    margin: 0 0 4px;
  }

  .spider-panel .eyebrow,
  .spider-panel .spider-tagline,
  .spider-panel .hero-intro {
    display: none;
  }

  /* Bottom sheet for the charger list, leaving the map visible above it */

  .station-list-panel {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 600;

    width: 100%;
    max-width: none;
    max-height: 44vh;

    border-radius: 16px 16px 0 0;

    padding: 18px 16px 20px;
  }

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

}

/* --------------------------------
   CHARGER INFORMATION
-------------------------------- */

.station-operator {
  margin: 0 0 6px;
  font-weight: 600;
}

.station-address {
  color: #505a5f;
  margin-bottom: 14px;
}


.station-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}


.station-info span {
  display: inline-block;
  padding: 6px 9px;
  background: #f1f3f2;
  border-radius: 4px;
  font-size: 14px;
}


.station-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}


.station-status {
  font-weight: 600;
  color: var(--green-dark);
}


.station-distance {
  font-weight: 600;
}


.directions-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
}


.directions-link:hover {
  text-decoration-thickness: 2px;
}

/* --------------------------------
   CONNECTION BADGES
-------------------------------- */

.connection-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-bottom: 10px;
}


.connection-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 7px 10px;

  background: #e6f7f0;
  border: 1px solid #b8dfce;
  border-radius: 5px;

  font-size: 14px;
}


.connection-badge strong {
  color: var(--green-dark);
}


.connection-badge span {
  padding: 0;
  background: transparent;
  font-size: 14px;
}


.charger-count {
  display: inline-block;
  padding: 6px 9px;
  background: #f1f3f2;
  border-radius: 4px;
  font-size: 14px;
}


.connection-unavailable {
  color: #505a5f;
  font-size: 14px;
}


.fastest-badge {
  display: inline-flex;
  align-items: center;

  margin-bottom: 10px;
  padding: 6px 9px;

  background: var(--green-light);
  border: 1px solid rgba(0, 168, 107, 0.25);
  border-radius: 6px;

  color: var(--green-dark);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}