/* Futuristic, responsive styles */
:root{
  --bg:#05060a;
  --glass: rgba(255,255,255,0.03);
  --accent:#00d4ff;
  --muted:#9aa4b2;
  --card:#0b1220;
  --neon: rgba(0, 212, 255, 0.12);
  --hdr-height:84px;
  --ads-width:80px;
  --radius:14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html {
  min-height: 100%;
  background: linear-gradient(180deg,#021026 0%, #041027 50%, #081221 100%) fixed no-repeat;
  background-color: #021026;
}

*{box-sizing:border-box}
body{
  margin:0;
  background: linear-gradient(180deg,#021026 0%, #041027 50%, #081221 100%);
  color:#e6eef8;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  min-height:100vh;
  align-items:stretch;
}

/* Ads panels */
.ads{
  width:var(--ads-width);
  min-width:var(--ads-width);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-left: 1px solid rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.03);
  display:flex;
  align-items:center;
  justify-content:center;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  color:var(--muted);
  font-size:12px;
}

/* On small screens ads become slim top/bottom bars */
@media(max-width:900px){
  .ads{ display:none; }
  .ads-mobile{ display:block; height:44px; width:100%; position:fixed; left:0; z-index:20; }
  .ads-mobile.top{ top:0; }
  .ads-mobile.bottom{ bottom:0; }
}

/* site area */
.site{
  flex:1;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  margin: 0; /*18px*/
  padding: 18px;
  border-radius:16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: none; /* 0 8px 30px rgba(2,6,23,0.6); */
  overflow:visible;
}

/* header */
.site-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 22px;
  border-bottom:1px solid rgba(255,255,255,0.03);
  gap:16px;
}
.brand{ display:flex; gap:12px; align-items:center;}
.logo{ width:56px;height:56px;border-radius:12px;background:linear-gradient(135deg,var(--accent),#7b00ff);display:flex;align-items:center;justify-content:center;font-size:22px;box-shadow:0 6px 18px rgba(0,212,255,0.06); }
.brand h1{ margin:0; font-size:18px; letter-spacing:0.3px;}
.subtitle{ margin:0;color:var(--muted); font-size:13px; }

/* nav */
\.top-nav{ pointer-events:none; display:flex; gap:12px; align-items:center; }
.top-nav a{ color:var(--muted); text-decoration:none; padding:6px 10px; border-radius:8px;}
.top-nav a.active, .top-nav a:hover{ color:white; background: linear-gradient(90deg, rgba(0,212,255,0.06), rgba(123,0,255,0.04)); }

.container{ padding:22px; display:flex; gap:20px; flex:1; flex-wrap:wrap; align-items:flex-start; }

/* Cards */
.summary-card, .chart-card{ background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-radius:12px; padding:18px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.02); width:100%; }

.summary-box{ display:flex; gap:12px; flex-wrap:wrap; }
.city-summary{ background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-radius:10px; padding:12px; min-width:220px; flex:1; box-shadow:0 6px 24px rgba(2,8,24,0.45); }
.city-summary h4{ margin:0 0 6px 0; font-size:13px; color:var(--accent); }
.lead{ color:var(--muted); margin-top:6px; }

.info-card {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  justify-items: center;
}
.info-card div{ 
  max-width: 700px;
}

/* chart controls */
.chart-controls{ display:flex; gap:12px; align-items:center; margin-bottom:12px; flex-wrap:wrap;}
.chart-wrap{ height:460px; background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-radius:10px; padding:6px; }

.nav-buttons button{ background:transparent; border:1px solid rgba(255,255,255,0.04); color:var(--muted); padding:8px 12px; border-radius:8px; cursor:pointer;}
.nav-buttons button:hover{ color: white; border-color: rgba(0,212,255,0.12); }

/* footer */
.site-footer{ padding:12px 20px; border-top:1px solid rgba(255,255,255,0.03); color:var(--muted); display:flex; justify-content:space-between; align-items:center; font-size:13px; }

/* stations list */
.stations-list{ margin-top:18px; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }

/* responsive tweaks */
@media(max-width:1100px){
  .container{ padding:14px; }
  .chart-wrap{ height:300px; }
}
@media(max-width:700px){
  body{ margin:0; }
  .site{ margin:0; border-radius:0; }
  .top-nav{ display:none; }
  .site-header{ padding:12px; }
  .chart-wrap{ height:260px; }
  .ads{ display:none; }
}

/* cookie banner (CookieYes will render its own banner) */
.cookie-banner{ display:none; }
.muted{ color:var(--muted); font-size:13px; text-decoration:none;}

/* only patch */
.chart-btn{
  margin-top:10px;
  padding:10px 18px;
  background:#00d4ff22;
  border:1px solid #00d4ff55;
  border-radius:8px;
  color:#00d4ff;
  cursor:pointer;
  transition:0.2s;
}
.chart-btn:hover{
  background:#00d4ff44;
}

.site-footer{
  background:rgba(255,255,255,0.03);
  position:static !important;
  margin-top:auto;
}



/* Fix: ensure footer has no dark overlay stripe */
.site-footer::after, .site-footer::before { display: none !important; }
.site-footer { background: rgba(255,255,255,0.03) !important; box-shadow:none; }

/* Stations list styling */
.stations-list { padding: 12px; }
.stations-ul{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap:8px;}
.station-item{ background:var(--glass); padding:8px; border-radius:8px; display:flex; justify-content:space-between; align-items:center; font-size:14px; color:var(--muted); }
.station-name{ font-weight:600; color: #fff; margin-right:6px; }
.station-price{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace; color:var(--accent); }

/* Header brand clickable already changed; make brand layout inline */
.brand{ display:flex; align-items:center; gap:8px; text-decoration:none; color:inherit; }
.brand h1{ margin:0; font-size:18px; }
.hamburger{ display:none; background:transparent; border:0; font-size:22px; color:var(--muted); padding:8px; cursor:pointer; }

/* Mobile nav */

@media (max-width:800px){
  .top-nav{ position:fixed; left:0; right:0; top:var(--hdr-height); background:var(--card); padding:16px; transform:translateY(-100%); transition: transform .25s ease, visibility .2s linear; z-index:1000; display:flex; flex-direction:column; gap:8px; visibility:hidden; max-height: calc(100vh - var(--hdr-height)); overflow:auto; box-shadow: 0 8px 30px rgba(0,0,0,0.6); }
  body.nav-open .top-nav{ pointer-events:auto; transform:translateY(0); visibility:visible; }
  .hamburger{ display:block; margin-left:auto; }
  .top-nav a{ padding:8px 12px; border-radius:8px; background:transparent; color:#fff; text-decoration:none; }
}

/* styled select / range */
.styled-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.2));
    color: #fff;
    min-width: 160px;

    background-color: rgba(0,0,0,0.55);
}

/* hover, focus */
select.styled-select:focus {
    outline: 2px solid rgba(0,212,255,0.12);
}

.styled-select option {
    background-color: rgba(22,22,22,0.95) !important;
    color: #fff !important;
}

/* For Firefox */
.styled-select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #fff;
}

.styled-select option:hover {
    background-color: rgba(40,40,40,1) !important;
}


/* small tidy */
.muted{ opacity:0.7; font-size:13px; }
