/* ============================================================================
   OCPP.Core.Charge — Charge portal visual system (2026-04-30 UX rework)
   ----------------------------------------------------------------------------
   Layered on top of Tabler.io. Tokens override Tabler's CSS variables so
   buttons/cards/badges automatically pick up the new palette.

   Design language:
   - Inter (sans) for body + headlines — modern, neutral, performant on mobile.
   - Electric green primary (#10c878) on a near-black secondary (#0a1628).
   - Generous border radius (16–24px).
   - Soft shadows; depth via blur, not heavy borders.
   - Distinct dark mode (not just inverted): deeper black, mint accent.
   - Subtle motion on interactive elements only — never page-level.
   ============================================================================ */

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

/* ============ DESIGN TOKENS ============ */

:root {
    --charge-green-50:   #ecfdf5;
    --charge-green-100:  #d1fae5;
    --charge-green-300:  #6ee7b7;
    --charge-green-500:  #10c878;
    --charge-green-600:  #059669;
    --charge-green-700:  #047857;

    --charge-ink-900:    #0a1628;
    --charge-ink-800:    #102338;
    --charge-ink-700:    #1b3358;

    --charge-amber-500:  #f59e0b;
    --charge-rose-500:   #f43f5e;

    --charge-radius-sm: 0.625rem;   /* 10px — small chips */
    --charge-radius-md: 1rem;       /* 16px — buttons, inputs */
    --charge-radius-lg: 1.25rem;    /* 20px — cards */
    --charge-radius-xl: 1.5rem;     /* 24px — hero blocks */

    --charge-shadow-sm: 0 1px 2px 0 rgba(10,22,40,.06);
    --charge-shadow-md: 0 4px 16px -4px rgba(10,22,40,.08), 0 2px 6px -2px rgba(10,22,40,.05);
    --charge-shadow-lg: 0 16px 40px -12px rgba(10,22,40,.18);
    --charge-shadow-glow: 0 0 0 4px rgba(16,200,120,.18);

    --charge-grad-hero: linear-gradient(135deg, #10c878 0%, #059669 50%, #0a1628 100%);
    --charge-grad-card: linear-gradient(180deg, rgba(16,200,120,.05) 0%, rgba(16,200,120,0) 100%);

    /* Override Tabler primary so buttons + accents pick up green automatically */
    --tblr-primary:      var(--charge-green-500);
    --tblr-primary-rgb:  16,200,120;
    --tblr-primary-fg:   #ffffff;
    --tblr-link-color:   var(--charge-green-600);
    --tblr-border-radius: var(--charge-radius-md);

    --tblr-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

[data-bs-theme="dark"] {
    --charge-ink-900: #050b15;
    --tblr-bg-surface:        #0d1a2e;
    --tblr-bg-surface-tertiary: #112038;
    --tblr-border-color:      rgba(255,255,255,.06);
    --charge-grad-hero: linear-gradient(135deg, #10c878 0%, #047857 40%, #050b15 100%);
}

/* ============ BASE ============ */

html, body {
    font-family: var(--tblr-font-sans-serif);
    font-feature-settings: 'cv11', 'ss01', 'ss03';
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5, .page-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ============ NAVBAR ============ */

.navbar {
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    background-color: rgba(255,255,255,.78);
    border-bottom: 1px solid rgba(10,22,40,.06);
}
[data-bs-theme="dark"] .navbar {
    background-color: rgba(10,22,40,.78);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar-brand img { transition: transform .2s ease; }
.navbar-brand:hover img { transform: rotate(-6deg) scale(1.05); }

/* Live "LIVE" pill in navbar — pulse */
.navbar .badge.bg-success-lt {
    background-color: var(--charge-green-100) !important;
    color: var(--charge-green-700) !important;
    border-radius: 999px;
    font-weight: 600;
}
[data-bs-theme="dark"] .navbar .badge.bg-success-lt {
    background-color: rgba(16,200,120,.18) !important;
    color: var(--charge-green-300) !important;
}

/* ============ MOBILE BOTTOM NAV (≤ md) ============ */

.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1030;
    display: flex;
    background-color: rgba(255,255,255,.92);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-top: 1px solid rgba(10,22,40,.08);
    padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom));
}
[data-bs-theme="dark"] .bottom-nav {
    background-color: rgba(10,22,40,.92);
    border-top: 1px solid rgba(255,255,255,.06);
}
.bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    padding: .45rem 0;
    color: var(--tblr-secondary);
    text-decoration: none;
    font-size: .72rem;
    font-weight: 500;
    border-radius: var(--charge-radius-sm);
    transition: color .15s ease, background-color .15s ease;
}
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--charge-green-600); }
[data-bs-theme="dark"] .bottom-nav a.active { color: var(--charge-green-300); }
.bottom-nav a:hover { color: var(--charge-ink-900); }
[data-bs-theme="dark"] .bottom-nav a:hover { color: #fff; }

/* Reserve scroll-padding-bottom for the fixed nav so the last content isn't hidden */
@media (max-width: 767.98px) {
    body { padding-bottom: 4.25rem; }
}
@media (min-width: 768px) {
    .bottom-nav { display: none; }
}

/* ============ HERO ============ */

.charge-hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 1.5rem 3.5rem;
    border-radius: var(--charge-radius-xl);
    background: var(--charge-grad-hero);
    color: #fff;
    margin-bottom: 1.5rem;
}
.charge-hero::after {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 60%),
        radial-gradient(45% 60% at 0% 100%, rgba(16,200,120,.55) 0%, rgba(16,200,120,0) 70%);
    pointer-events: none;
}
.charge-hero > * { position: relative; z-index: 1; }
.charge-hero h1 {
    color: #fff;
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 .75rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.charge-hero .lead {
    color: rgba(255,255,255,.88);
    max-width: 38rem;
    margin: 0 0 1.75rem;
    font-size: 1.0625rem;
}

.charge-hero-search {
    display: flex;
    gap: .5rem;
    background: rgba(255,255,255,.97);
    padding: .35rem;
    border-radius: 999px;
    box-shadow: var(--charge-shadow-lg);
    max-width: 36rem;
}
.charge-hero-search input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: .65rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--charge-ink-900);
    outline: none;
}
.charge-hero-search input::placeholder { color: #94a3b8; }
.charge-hero-search button {
    border: 0;
    background: var(--charge-ink-900);
    color: #fff;
    border-radius: 999px;
    padding: .65rem 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: transform .15s ease, background-color .15s ease;
}
.charge-hero-search button:hover { background: var(--charge-green-600); transform: translateY(-1px); }
.charge-hero-search button:active { transform: translateY(0); }

/* ============ CARDS ============ */

.card {
    border: 1px solid rgba(10,22,40,.06);
    border-radius: var(--charge-radius-lg);
    box-shadow: var(--charge-shadow-sm);
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
[data-bs-theme="dark"] .card {
    border-color: rgba(255,255,255,.06);
}
.card-link-pop:hover, .card-link:hover {
    border-color: rgba(16,200,120,.4);
    box-shadow: var(--charge-shadow-md);
    transform: translateY(-2px);
}

/* ============ BUTTONS ============ */

.btn {
    border-radius: var(--charge-radius-md);
    font-weight: 600;
    transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-primary {
    background: var(--charge-green-500);
    border-color: var(--charge-green-500);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--charge-green-600);
    border-color: var(--charge-green-600);
    color: #fff;
    box-shadow: var(--charge-shadow-glow);
}
.btn-primary:active { transform: scale(.98); }
.btn-lg { padding: .85rem 1.5rem; font-size: 1.0625rem; }

.btn-icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 999px;
    padding: .5rem 1rem;
    font-weight: 600;
}

/* ============ STATIONS MAP ============ */

.stations-map {
    position: relative;       /* anchor for the .map-loading overlay */
    height: 60vh;
    min-height: 22rem;
    border-radius: var(--charge-radius-lg);
    border: 1px solid rgba(10,22,40,.06);
    overflow: hidden;
}

/* Loading overlay — covers the map until the first real frame (geolocation OR a
   markers-bounds fallback) lands. Without this, the map flashes its initial setView
   region (Bulgaria) for 50–500 ms before snapping to the user. */
.map-loading {
    position: absolute;
    inset: 0;
    z-index: 500;             /* above all Leaflet panes (max default = 400) */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    background: var(--tblr-bg-surface, #fff);
    color: var(--tblr-secondary);
    font-size: .9rem;
    font-weight: 500;
    transition: opacity .25s ease;
}
[data-bs-theme="dark"] .map-loading { background: #0d1a2e; }
.stations-map:not(.is-loading) .map-loading {
    opacity: 0;
    pointer-events: none;
}
.map-loading-spinner {
    width: 28px; height: 28px;
    border: 3px solid rgba(16,200,120,.25);
    border-top-color: var(--charge-green-500);
    border-radius: 50%;
    animation: map-spin .9s linear infinite;
}
@keyframes map-spin { to { transform: rotate(360deg); } }
[data-bs-theme="dark"] .stations-map { border-color: rgba(255,255,255,.06); }
.leaflet-popup-content-wrapper {
    border-radius: var(--charge-radius-md);
    box-shadow: var(--charge-shadow-md);
    border: 1px solid rgba(10,22,40,.08);
}
.leaflet-popup-content { font-family: var(--tblr-font-sans-serif); margin: .75rem 1rem; }
.station-popup strong { display: block; font-size: 1rem; margin-bottom: .15rem; color: var(--charge-ink-900); }
.station-popup .muted { color: #64748b; font-size: .85rem; }
[data-bs-theme="dark"] .station-popup strong { color: #fff; }

/* ============ STATION + PARTNER DIRECTORY CARDS ============ */

.station-card { box-shadow: var(--charge-shadow-sm); }
.station-card-header { display: flex; align-items: center; padding: 1rem 1.25rem; background: transparent; border-bottom: 0; }
.station-divider { height: 1.5px; margin: 0 1rem; }
.station-divider.divider-success { background: rgba(16,200,120,.85); }
.station-divider.divider-danger  { background: rgba(244,63,94,.85); }
.station-divider.divider-warning { background: rgba(245,158,11,.85); }

/* ============ STATION TILE (partner-detail station cards w/ hero photo) ============ */

.station-tile { overflow: hidden; }
.station-tile-photo {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--charge-green-50) 0%, var(--charge-green-100) 100%);
}
[data-bs-theme="dark"] .station-tile-photo {
    background: linear-gradient(135deg, var(--charge-ink-800) 0%, var(--charge-ink-900) 100%);
}
.station-tile-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.station-tile:hover .station-tile-photo img { transform: scale(1.04); }
.station-tile-power {
    position: absolute;
    top: .75rem; right: .75rem;
    background: rgba(10,22,40,.78);
    color: #fff;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ============ "RECENT STATIONS" ROW ============ */

.recent-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .75rem;
}
.recent-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    border-radius: var(--charge-radius-md);
    background: var(--charge-grad-card), var(--tblr-bg-surface);
    border: 1px solid rgba(10,22,40,.06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
[data-bs-theme="dark"] .recent-card { border-color: rgba(255,255,255,.06); }
.recent-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--charge-shadow-md);
    border-color: rgba(16,200,120,.4);
    color: inherit;
}
.recent-card .recent-title { font-weight: 700; margin-bottom: .25rem; }
.recent-card .recent-meta { font-size: .8rem; color: var(--tblr-secondary); }
.recent-card .recent-cta {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-top: .75rem;
    color: var(--charge-green-600);
    font-weight: 600;
    font-size: .85rem;
}

/* ============ THEME TOGGLE ============ */

#theme-toggle .icon-moon { display: none; }
[data-bs-theme="dark"] #theme-toggle .icon-sun { display: none; }
[data-bs-theme="dark"] #theme-toggle .icon-moon { display: inline-block; }

/* ============ LIVE CHARGING DASHBOARD ============ */

.charge-live {
    position: relative;
    border-radius: var(--charge-radius-xl);
    background: var(--charge-grad-hero);
    color: #fff;
    padding: 2rem 1.5rem;
    overflow: hidden;
    box-shadow: var(--charge-shadow-lg);
}
.charge-live::before {
    content: "";
    position: absolute; inset: -40% -10% auto auto;
    width: 70%; height: 70%;
    background: radial-gradient(closest-side, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    animation: charge-breathe 6s ease-in-out infinite;
}
@keyframes charge-breathe {
    0%, 100% { transform: scale(1); opacity: .8; }
    50%      { transform: scale(1.15); opacity: 1; }
}
.charge-live > * { position: relative; z-index: 1; }
.charge-live .live-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    padding: .35rem .9rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.charge-live .live-pill .dot {
    width: 8px; height: 8px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,.7);
    animation: charge-pulse 1.6s ease-out infinite;
}
@keyframes charge-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
    70%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.charge-live .station-line {
    margin-top: 1.25rem;
    font-size: .95rem;
    opacity: .9;
}
.charge-live .station-line strong { font-weight: 700; }

.charge-live-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    margin-top: 1.5rem;
}
@media (min-width: 480px) {
    .charge-live-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .charge-live-grid { grid-template-columns: repeat(4, 1fr); }
}

.charge-tile {
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--charge-radius-lg);
    padding: 1.25rem 1.25rem 1.5rem;
}
.charge-tile .tile-label {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.75);
}
.charge-tile .tile-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-top: .35rem;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.charge-tile .tile-unit {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    margin-left: .35rem;
}
.charge-tile.is-primary .tile-value { font-size: 3rem; }

/* Sticky stop button at the bottom of the screen on mobile.
   Desktop renders inline within the card. */
.charge-stop-bar {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    background: rgba(0,0,0,.18);
    border-radius: var(--charge-radius-md);
    padding: 1rem 1.25rem;
    color: rgba(255,255,255,.92);
}
.charge-stop-bar .preauth { font-size: .9rem; }
.charge-stop-bar .preauth strong { font-weight: 700; }
.charge-stop-bar form { margin: 0; }
.charge-stop-bar .btn-stop {
    background: #fff;
    color: var(--charge-rose-500);
    border: 0;
    border-radius: 999px;
    padding: .75rem 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(244,63,94,.25);
}
.charge-stop-bar .btn-stop:hover { background: var(--charge-rose-500); color: #fff; }
.charge-stop-bar .btn-stop:disabled { background: rgba(255,255,255,.4); color: rgba(0,0,0,.4); box-shadow: none; }

@media (max-width: 767.98px) {
    .charge-stop-bar {
        position: sticky;
        bottom: calc(4.25rem + .5rem);  /* sit above the mobile bottom-nav */
        z-index: 5;
    }
}

/* Old metric cards from previous live page — keep CSS as a fallback in case
   any other view still references them. */
.charge-metric .metric-label { color: var(--tblr-secondary); font-size: .8rem; text-transform: uppercase; letter-spacing: .02em; }
.charge-metric .metric-value { font-size: 1.875rem; font-weight: 600; margin-top: .25rem; line-height: 1.1; }
.charge-metric .metric-value .unit { font-size: 1rem; color: var(--tblr-secondary); font-weight: 400; margin-left: .25rem; }

/* ============ RECEIPT ============ */

.charge-receipt { max-width: 56rem; margin: 0 auto; }

.receipt-hero {
    border-radius: var(--charge-radius-xl);
    background: var(--charge-grad-hero);
    color: #fff;
    padding: 2rem 1.75rem 2.25rem;
    box-shadow: var(--charge-shadow-lg);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}
.receipt-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(50% 70% at 100% 0%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}
.receipt-hero > * { position: relative; z-index: 1; }
.receipt-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.receipt-eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .75rem;
    font-weight: 700;
    color: rgba(255,255,255,.75);
}
.receipt-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin: .25rem 0 .35rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
}
.receipt-meta { color: rgba(255,255,255,.85); }
.receipt-meta span { font-size: .95rem; }

.receipt-totals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: end;
}
@media (min-width: 640px) {
    .receipt-totals { grid-template-columns: auto 1fr; }
}
.receipt-total-label {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .72rem;
    font-weight: 700;
    color: rgba(255,255,255,.7);
}
.receipt-total-value {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    margin-top: .25rem;
}
.receipt-total-value .amount {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.receipt-total-value .ccy {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
}

.receipt-total-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-left: 0;
    padding-left: 0;
}
@media (min-width: 640px) {
    .receipt-total-grid { border-left: 1px solid rgba(255,255,255,.18); padding-left: 1.5rem; }
}
.receipt-mini-label {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .68rem;
    font-weight: 700;
    color: rgba(255,255,255,.65);
    margin-bottom: .15rem;
}
.receipt-mini-value {
    font-size: 1.1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.receipt-mini-value span { font-weight: 500; color: rgba(255,255,255,.75); font-size: .85rem; margin-left: .15rem; }
.receipt-mini-value.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .95rem; }

.receipt-card { border-radius: var(--charge-radius-lg); }
.receipt-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--tblr-secondary); }
.receipt-table td { font-variant-numeric: tabular-nums; vertical-align: middle; }
.receipt-table tr.receipt-total-row td { font-size: 1.1rem; padding-top: 1rem; padding-bottom: 1rem; border-top: 2px solid var(--tblr-border-color); }

.receipt-dl { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.25rem; margin: 0; }
.receipt-dl dt { font-size: .8rem; color: var(--tblr-secondary); font-weight: 500; padding-top: .15rem; }
.receipt-dl dd { margin: 0; font-weight: 600; }
.receipt-dl dd.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight: 500; font-size: .9rem; }

.receipt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}
.receipt-actions .btn { padding: .85rem 1.5rem; }

/* Print: drop shadows + hero gradient become flat for ink-economy. */
@media print {
    .navbar, .bottom-nav, .receipt-actions, footer { display: none !important; }
    .receipt-hero {
        background: #fff !important;
        color: var(--charge-ink-900) !important;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    .receipt-hero .receipt-title,
    .receipt-hero .receipt-eyebrow,
    .receipt-hero .receipt-total-label,
    .receipt-hero .receipt-mini-label,
    .receipt-hero .receipt-mini-value span,
    .receipt-hero .receipt-meta { color: var(--charge-ink-900) !important; }
    .card { box-shadow: none !important; border: 1px solid #ddd !important; }
}

/* ============ STATION DETAIL PHOTOS ============ */

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .5rem; }
.photo-grid img {
    width: 100%; height: 8rem; object-fit: cover;
    border-radius: var(--charge-radius-md);
    transition: transform .25s ease;
}
.photo-grid img:hover { transform: scale(1.02); }

/* ============ ACCESSIBILITY ============ */

:focus-visible { outline: 3px solid var(--charge-green-500); outline-offset: 2px; border-radius: var(--charge-radius-sm); }

/* Honor user's reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
