﻿:root {
  --bg-0: #080a0f;
  --bg-1: #10131a;
  --bg-2: #181c27;
  --ink: #eef1f7;
  --muted: #95a1b7;
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.08);
  --accent: #e82127;
  --accent-soft: #ff6267;
  --energy: #54d08f;
  --solar: #ffb340;
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(232, 33, 39, 0.26), transparent 58%),
    radial-gradient(900px 420px at 95% 8%, rgba(90, 126, 255, 0.2), transparent 55%),
    linear-gradient(145deg, var(--bg-0), var(--bg-1) 52%, var(--bg-2));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 22%, transparent 76%);
}

.app {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.sidebar {
  width: 290px;
  background: linear-gradient(185deg, rgba(16, 19, 27, 0.96), rgba(12, 14, 20, 0.94));
  border-right: 1px solid var(--line);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  backdrop-filter: blur(16px);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
  animation: slideInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-close {
  display: none;
}

.sidebar-backdrop {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #f4f7ff;
  margin: 2px 0;
}

.brand-logo {
  display: block;
  width: clamp(170px, 52vw, 80px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 14px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 24px rgba(232, 33, 39, 0.66);
}

.brand-text h1 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: 0.03em;
}

.brand-text p {
  margin: 6px 0 0;
  font-size: 0.76rem;
  color: #8f98aa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #d9e0ee;
  border: 1px solid rgba(84, 208, 143, 0.26);
  background: rgba(84, 208, 143, 0.09);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--energy);
  box-shadow: 0 0 0 0 rgba(84, 208, 143, 0.56);
  animation: pulse 1.8s infinite;
}

.menu {
  gap: 10px;
}

.menu-link {
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: #e7edf9;
  text-align: left;
  padding: 12px 14px;
  font-size: 0.95rem;
  letter-spacing: 0.015em;
  transition: all 0.25s ease;
}

.menu-link:hover {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.menu-link.active {
  border-color: rgba(232, 33, 39, 0.55);
  background: linear-gradient(120deg, rgba(232, 33, 39, 0.22), rgba(232, 33, 39, 0.05));
  box-shadow: 0 10px 20px rgba(232, 33, 39, 0.23);
}

.main {
  padding: 34px;
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  display: block;
  max-width: 100%;
  min-width: 0;
  flex: 1 0 auto;
}

.section.section-enter {
  animation: fadeUp 0.45s ease;
}

.hidden {
  display: none;
}

.topbar {
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 5px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.topbar h2 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.85rem, 2.3vw, 2.6rem);
  letter-spacing: 0.01em;
}

.live-pill,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #e6edf8;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--energy);
}

.status-badge {
  font-weight: 600;
  color: #fff;
  border-color: rgba(232, 33, 39, 0.46);
  background: linear-gradient(120deg, rgba(232, 33, 39, 0.35), rgba(232, 33, 39, 0.08));
}

.status-badge.weather-badge-info {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.status-badge.weather-badge-success {
  border-color: rgba(84, 208, 143, 0.45);
  background: linear-gradient(120deg, rgba(84, 208, 143, 0.35), rgba(84, 208, 143, 0.1));
}

.status-badge.weather-badge-error {
  border-color: rgba(255, 98, 103, 0.45);
  background: linear-gradient(120deg, rgba(255, 98, 103, 0.3), rgba(255, 98, 103, 0.08));
}

.status-badge.price-badge-info {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.status-badge.price-badge-success {
  border-color: rgba(84, 208, 143, 0.45);
  background: linear-gradient(120deg, rgba(84, 208, 143, 0.35), rgba(84, 208, 143, 0.1));
}

.status-badge.price-badge-error {
  border-color: rgba(255, 98, 103, 0.45);
  background: linear-gradient(120deg, rgba(255, 98, 103, 0.3), rgba(255, 98, 103, 0.08));
}

.reveal-card {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

.row > div:nth-child(2) .reveal-card {
  animation-delay: 0.08s;
}

.row > div:nth-child(3) .reveal-card {
  animation-delay: 0.16s;
}

.row > div:nth-child(4) .reveal-card {
  animation-delay: 0.24s;
}

.stat-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(8px);
}

.stat-card {
  padding: 22px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.stat-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  color: #aab4c7;
}

.stat-card h3 {
  margin: 0;
  font-size: 2rem;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.02em;
}

.trend {
  margin-top: 8px;
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 9px;
  border-radius: 999px;
}

.trend.up {
  color: #b6ffd3;
  background: rgba(84, 208, 143, 0.18);
}

.trend.down {
  color: #ffd2d4;
  background: rgba(232, 33, 39, 0.2);
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  max-width: 100%;
  min-width: 0;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%);
}

.panel h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: 1.4rem;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.015em;
}

.glass-panel {
  min-height: 330px;
}

.chart {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 230px;
  padding: 14px 8px 4px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.bar {
  width: 100%;
  max-width: 42px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, #8ca6ff 0%, #445dde 52%, #243b9a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 18px rgba(0, 0, 0, 0.35);
  transform-origin: bottom;
  animation: barGrow 0.8s cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

.bar.solar {
  background: linear-gradient(180deg, #ffd48a 0%, #f4a21d 54%, #a35f00 100%);
}

.bar-wrap:nth-child(2) .bar {
  animation-delay: 0.08s;
}

.bar-wrap:nth-child(3) .bar {
  animation-delay: 0.16s;
}

.bar-wrap:nth-child(4) .bar {
  animation-delay: 0.24s;
}

.bar-wrap:nth-child(5) .bar {
  animation-delay: 0.32s;
}

.bar-wrap:nth-child(6) .bar {
  animation-delay: 0.4s;
}

.bar-wrap:nth-child(7) .bar {
  animation-delay: 0.48s;
}

.label {
  font-size: 0.75rem;
  color: #94a0b6;
}

.weather-controls {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.solar-chart-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
}

.solar-chart-title {
  margin: 0;
  font-size: 0.78rem;
  color: #afbdd4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solar-day-select-label {
  font-size: 0.78rem;
  color: #d7e1f5;
  margin-left: auto;
}

.solar-day-select {
  height: 36px;
  min-width: 180px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(11, 14, 19, 0.7);
  color: #fff;
  padding: 0 10px;
}

.solar-day-select:focus {
  outline: none;
  border-color: rgba(84, 208, 143, 0.65);
  box-shadow: 0 0 0 2px rgba(84, 208, 143, 0.2);
}

.solar-production-chart {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  overflow-x: auto;
  overflow-y: hidden;
  justify-content: center;
  scrollbar-width: thin;
  gap: 10px;
}

.solar-production-chart .bar-wrap {
  flex: 0 0 clamp(24px, 3vw, 34px);
  min-width: clamp(24px, 3vw, 34px);
}

.solar-production-chart .label {
  font-size: clamp(0.62rem, 1.4vw, 0.75rem);
}

#dashboard-combined-chart {
  position: relative;
  display: block;
  height: 260px;
  padding: 8px 4px 2px;
  overflow: hidden;
}

#dashboard-combined-chart canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

#dashboard-combined-chart .chart-empty {
  margin: 0;
  color: #afbdd4;
  font-size: 0.84rem;
}

#prices-energy-chart {
  position: relative;
  display: block;
  height: 250px;
  padding: 8px 4px 2px;
  overflow: hidden;
}

#prices-energy-chart canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

#prices-energy-chart .chart-empty {
  margin: 0;
  color: #afbdd4;
  font-size: 0.84rem;
}

#prices .prices-zone-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

#prices .price-zone-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #eaf0fb;
  font-size: 0.78rem;
  cursor: pointer;
  user-select: none;
}

#prices .price-zone-option input {
  accent-color: #54d08f;
}

#prices .panel {
  overflow: hidden;
}

#prices .stats-list {
  gap: 9px;
}

#prices .stat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

#prices .stat-row span,
#prices .stat-row strong {
  min-width: 0;
}

#prices .stat-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}

#prices .topbar .status-badge {
  max-width: 100%;
}

.dashboard-weather-strip .panel {
  margin-bottom: 0;
}

.dashboard-weather-panel {
  padding: 18px 20px;
}

.dashboard-weather-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.dashboard-weather-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

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

.dashboard-weather-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-weather-item span {
  display: block;
  font-size: 0.76rem;
  color: #afbdd4;
  margin-bottom: 5px;
}

.dashboard-weather-item strong {
  font-size: 0.92rem;
  color: #f8fbff;
}

.weather-controls label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: #d7e1f5;
}

.weather-input-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.weather-input-row input {
  flex: 1;
  min-width: 220px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(11, 14, 19, 0.7);
  color: #fff;
  padding: 0 12px;
}

.weather-input-row input:focus {
  outline: none;
  border-color: rgba(84, 208, 143, 0.65);
  box-shadow: 0 0 0 2px rgba(84, 208, 143, 0.2);
}

.weather-status {
  margin: 9px 0 0;
  font-size: 0.79rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 10px;
}

.weather-status.weather-status-info {
  color: #d5deef;
  background: rgba(255, 255, 255, 0.05);
}

.weather-status.weather-status-success {
  color: #d2ffe4;
  border-color: rgba(84, 208, 143, 0.4);
  background: rgba(84, 208, 143, 0.12);
}

.weather-status.weather-status-error {
  color: #ffd4d5;
  border-color: rgba(255, 98, 103, 0.4);
  background: rgba(255, 98, 103, 0.14);
}

.ai-box {
  border: 1px solid rgba(232, 33, 39, 0.5);
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 0;
  background:
    radial-gradient(300px 180px at 100% 0%, rgba(232, 33, 39, 0.3), transparent 70%),
    linear-gradient(145deg, rgba(14, 18, 28, 0.95), rgba(23, 26, 36, 0.95));
  box-shadow: 0 24px 40px rgba(10, 12, 16, 0.55);
  display: flex;
  flex-direction: column;
}

.ai-box h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-family: "Rajdhani", sans-serif;
}

.ai-box p {
  margin: 0 0 10px;
  color: #dee5f2;
  font-size: 0.94rem;
  line-height: 1.48;
}

.dashboard-main-row > [class*="col-"] {
  display: flex;
}

.dashboard-main-row > [class*="col-"] > .panel,
.dashboard-main-row > [class*="col-"] > .ai-box {
  width: 100%;
}

.dashboard-main-row .ai-box .buttons {
  margin-top: auto;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn-neo-primary,
.btn-neo-secondary {
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.88rem;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.btn-neo-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), #ba1118);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-neo-primary:hover {
  color: #fff;
  background: linear-gradient(120deg, #ff3138, #be0d14);
}

.btn-neo-secondary {
  color: #f4f7ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-neo-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.battery {
  display: flex;
  justify-content: center;
  margin: 12px 0 18px;
}

.battery-shell {
  width: 210px;
  height: 90px;
  border: 3px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  padding: 8px;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
}

.battery-shell::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 30px;
  width: 9px;
  height: 24px;
  border-radius: 0 6px 6px 0;
  background: rgba(255, 255, 255, 0.58);
}

.battery-level {
  height: 100%;
  width: 68%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d271b;
  font-weight: 700;
  background: linear-gradient(120deg, #37d57d, #8df8bf);
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 13px;
  border-radius: 14px;
  color: #dbe3f4;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row strong {
  color: #fff;
  font-weight: 600;
}

.legal-note {
  margin: 16px 0 0;
  color: #b6c2d8;
  font-size: 0.86rem;
  line-height: 1.5;
}

.legal-note a,
.contact-site a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.contact-site {
  margin: 0;
}

.app-footer {
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-left p {
  margin: 0;
}

.footer-brand {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.footer-copy {
  font-size: 0.8rem;
  color: #9aa7be;
}

.footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-link {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f3f7ff;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.78rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.footer-link.external {
  border-color: rgba(232, 33, 39, 0.5);
  background: rgba(232, 33, 39, 0.2);
}

@media (max-width: 1199.98px) {
  body.menu-open {
    overflow: hidden;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 340px);
    height: 100vh;
    border-right: 1px solid var(--line);
    border-bottom: none;
    z-index: 1200;
    transform: translateX(-105%);
    transition: transform 0.26s ease;
    animation: none;
    overflow-y: auto;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    background: rgba(3, 6, 10, 0.7);
    transition: opacity 0.25s ease;
    backdrop-filter: blur(3px);
  }

  .sidebar.is-open + .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    position: sticky;
    top: 10px;
    z-index: 1000;
  }

  .main {
    padding: 26px;
  }
}

@media (max-width: 767.98px) {
  .main {
    padding: 18px;
  }

  .panel,
  .ai-box,
  .stat-card {
    border-radius: 18px;
  }

  .topbar-right {
    width: 100%;
  }

  .dashboard-weather-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solar-day-select-label {
    margin-left: 0;
  }

  .solar-day-select {
    width: 100%;
  }

  .solar-production-chart {
    max-width: 100%;
    justify-content: flex-start;
    gap: 4px;
    padding-inline: 2px;
  }

  .solar-production-chart .bar-wrap {
    flex-basis: 20px;
    min-width: 20px;
  }

  .solar-production-chart .label {
    font-size: 0.6rem;
  }

  .chart {
    gap: 8px;
    padding-inline: 4px;
  }

  .bar {
    max-width: 30px;
  }

  .app-footer {
    padding: 14px;
  }


  #dashboard-combined-chart {
    height: 230px;
    padding-inline: 0;
  }
  #prices-energy-chart {
    height: 220px;
    padding-inline: 0;
  }

  #prices .prices-zone-controls {
    gap: 6px;
  }

  #prices .price-zone-option {
    font-size: 0.74rem;
    padding: 6px 9px;
  }

  #prices .stat-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  #prices .stat-row strong {
    text-align: left;
  }

  #prices .topbar .status-badge {
    height: auto;
    min-height: 38px;
    padding: 8px 12px;
    white-space: normal;
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
    opacity: 0.4;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(84, 208, 143, 0.56);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(84, 208, 143, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(84, 208, 143, 0);
  }
}


