@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #0b1120;
  color: #f1f5f9;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #83BF51;
  text-decoration: none;
}
a:hover {
  color: #6a9c41;
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(17, 24, 39, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #131b26;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
  z-index: 1000;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
}
.header-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: #83BF51;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.header-logo .logo-dot {
  color: #83BF51;
}
.header-logo .logo-img {
  width: 150px;
  height: auto;
}

.header-search {
  flex: 1;
  max-width: 440px;
  position: relative;
}
.header-search input {
  width: 100%;
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 9999px;
  color: #f1f5f9;
  font-size: 13px;
  padding: 8px 16px 8px 40px;
  outline: none;
  transition: border-color 120ms ease;
}
.header-search input::placeholder {
  color: #4b6080;
}
.header-search input:focus {
  border-color: #83BF51;
}
.header-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #4b6080;
  font-size: 14px;
  pointer-events: none;
}
.header-search .search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  display: none;
}
.header-search .search-dropdown.open {
  display: block;
}
.header-search .search-dropdown .search-section-label {
  padding: 8px 16px 4px;
  font-size: 10px;
  font-weight: 600;
  color: #4b6080;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-top: 1px solid #131b26;
}
.header-search .search-dropdown .search-section-label:first-child {
  border-top: none;
}
.header-search .search-dropdown .search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 120ms ease;
}
.header-search .search-dropdown .search-item:focus {
  outline: none;
  background: #1f2d42;
}
.header-search .search-dropdown .search-item:hover {
  background: #1f2d42;
}
.header-search .search-dropdown .search-item .search-item-icon {
  color: #4b6080;
  font-size: 13px;
}
.header-search .search-dropdown .search-item .search-item-label {
  color: #f1f5f9;
  font-size: 13px;
}
.header-search .search-dropdown .search-item .search-item-sub {
  color: #4b6080;
  font-size: 11px;
  margin-left: auto;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  margin-left: 8px;
  flex-shrink: 0;
  transition: background 120ms ease;
}
.burger-btn:hover {
  background: #1a2336;
}
.burger-btn .burger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #f1f5f9;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.burger-btn.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-btn.open .burger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.burger-btn.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background: #111827;
  border-left: 1px solid #334155;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
}
.mobile-nav.open {
  transform: translateX(0);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.7);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
  border-bottom: 1px solid #131b26;
  flex-shrink: 0;
}
.mobile-nav-header .logo-img {
  width: 200px;
  height: auto;
  padding: 5px;
}

.mobile-nav-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 10px;
  color: #94a3b8;
  cursor: pointer;
  font-size: 15px;
  transition: all 120ms ease;
}
.mobile-nav-close:hover {
  background: #1f2d42;
  color: #f1f5f9;
}

.mobile-nav-links {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 500;
  transition: all 120ms ease;
  border: 1px solid transparent;
}
.mobile-nav-links a .nav-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1a2336;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 120ms ease;
}
.mobile-nav-links a .nav-link-text {
  flex: 1;
}
.mobile-nav-links a .nav-link-arrow {
  font-size: 11px;
  color: #83BF51;
  opacity: 0.6;
}
.mobile-nav-links a:hover {
  color: #f1f5f9;
  background: #1a2336;
  border-color: #131b26;
}
.mobile-nav-links a:hover .nav-link-icon {
  background: #1f2d42;
}
.mobile-nav-links a.active {
  color: #83BF51;
  background: rgba(131, 191, 81, 0.08);
  border-color: rgba(131, 191, 81, 0.2);
}
.mobile-nav-links a.active .nav-link-icon {
  background: rgba(131, 191, 81, 0.12);
}

.mobile-nav-country {
  padding: 8px 12px;
  border-top: 1px solid #131b26;
  margin-top: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.mobile-nav-footer {
  padding: 16px;
  border-top: 1px solid #131b26;
  font-size: 11px;
  color: #4b6080;
  text-align: center;
  flex-shrink: 0;
}

body.mobile-nav-open {
  overflow: hidden;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.header-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  transition: all 120ms ease;
  white-space: nowrap;
}
.header-nav a:hover, .header-nav a.active {
  color: #f1f5f9;
  background: #1a2336;
}
.header-nav a.active {
  color: #83BF51;
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown:hover > .nav-dropdown-panel, .nav-dropdown.open > .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown:hover > .nav-dropdown-trigger .nav-chevron, .nav-dropdown.open > .nav-dropdown-trigger .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 120ms ease;
  line-height: 1.4;
}
.nav-dropdown-trigger:hover {
  color: #f1f5f9;
  background: #1a2336;
}
.nav-dropdown-trigger.active {
  color: #83BF51;
  background: #1a2336;
}

.nav-chevron {
  font-size: 10px;
  transition: transform 0.18s ease;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  min-width: 210px;
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  padding: 4px;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav-dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 120ms ease;
  background: transparent;
}
.nav-dropdown-panel a:hover {
  background: #111827;
  color: #f1f5f9;
}
.nav-dropdown-panel a.active {
  color: #83BF51;
  background: rgba(131, 191, 81, 0.08);
}

.nav-dropdown-sep {
  height: 1px;
  background: #131b26;
  margin: 4px 8px;
}

.mobile-nav-section {
  border-radius: 16px;
  overflow: hidden;
}
.mobile-nav-section.open > .mobile-nav-section-items {
  display: block;
}
.mobile-nav-section.open > .mobile-nav-section-btn .mobile-nav-chevron {
  transform: rotate(180deg);
}

.mobile-nav-section-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 16px;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 120ms ease;
}
.mobile-nav-section-btn .nav-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1a2336;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 120ms ease;
}
.mobile-nav-section-btn .nav-link-text {
  flex: 1;
}
.mobile-nav-section-btn .mobile-nav-chevron {
  font-size: 11px;
  color: #4b6080;
  transition: transform 0.18s ease;
}
.mobile-nav-section-btn:hover {
  color: #f1f5f9;
  background: #1a2336;
}
.mobile-nav-section-btn:hover .nav-link-icon {
  background: #1f2d42;
}
.mobile-nav-section-btn.active {
  color: #83BF51;
}
.mobile-nav-section-btn.active .nav-link-icon {
  background: rgba(131, 191, 81, 0.12);
}

.mobile-nav-section-items {
  display: none;
  padding: 0 8px 8px;
}
.mobile-nav-section-items a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  padding-left: calc(40px + 12px + 12px);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  transition: all 120ms ease;
}
.mobile-nav-section-items a:hover {
  background: #111827;
  color: #f1f5f9;
}
.mobile-nav-section-items a.active {
  color: #83BF51;
  background: rgba(131, 191, 81, 0.08);
}

.fuel-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(131, 191, 81, 0.3);
  border-radius: 9999px;
  color: #83BF51;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 120ms ease;
}
.fuel-pill:hover {
  background: rgba(131, 191, 81, 0.25);
}

.page-layout {
  margin-top: 56px;
  min-height: calc(100vh - 56px);
  padding: 24px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-top: calc(56px + 24px);
}
@media (max-width: 768px) {
  .page-layout {
    padding: 16px;
    padding-top: calc(56px + 16px);
  }
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.page-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
}
.page-header h1 span {
  color: #83BF51;
}
.page-header p {
  color: #94a3b8;
  font-size: 13px;
  margin-top: 4px;
}
@media (max-width: 576px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }
}

.page-header .btn,
.page-header-filters .btn {
  padding: 6px 16px;
  border: 1px solid #131b26;
  border-radius: 9999px;
  background: transparent;
  color: #4b6080;
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
}
.page-header .btn:hover,
.page-header-filters .btn:hover {
  background: #1f2d42;
  color: #f1f5f9;
  border-color: #83BF51;
}

.page-header-filters {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 576px) {
  .page-header-filters {
    width: 100%;
  }
  .page-header-filters .select-styled {
    flex: 1;
    min-width: 0;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.grid-2 > * {
  min-width: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-3 > * {
  min-width: 0;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.grid-4 > * {
  min-width: 0;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .header-nav {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .header-search {
    max-width: none;
  }
  .header-search .search-dropdown {
    position: fixed;
    left: 0;
    right: 0;
    top: 56px;
    border-radius: 0 0 10px 10px;
    border-left: none;
    border-right: none;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: none;
  border-radius: 10px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 120ms ease;
}
.btn-primary {
  background: #83BF51;
  color: #fff;
}
.btn-primary:hover {
  background: #6a9c41;
}
.btn-secondary {
  background: #1a2336;
  color: #f1f5f9;
  border: 1px solid #131b26;
}
.btn-secondary:hover {
  background: #1f2d42;
}
.btn-ghost {
  background: transparent;
  color: #94a3b8;
}
.btn-ghost:hover {
  color: #f1f5f9;
  background: #1a2336;
}
.btn-sm {
  padding: 4px 12px;
  font-size: 12px;
}
.btn-lg {
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 16px;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

.input-styled {
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 10px;
  color: #f1f5f9;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  padding: 8px 12px;
  outline: none;
  transition: border-color 120ms ease;
}
.input-styled::placeholder {
  color: #4b6080;
}
.input-styled:focus {
  border-color: #83BF51;
}

.select-styled {
  appearance: none;
  background: #1a2336 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%2394a3b8'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid #131b26;
  border-radius: 10px;
  color: #f1f5f9;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  padding: 8px 32px 8px 12px;
  outline: none;
  cursor: pointer;
  transition: border-color 120ms ease;
}
.select-styled:focus {
  border-color: #83BF51;
}
.select-styled option {
  background: #1a2336;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
}
.price-badge.cheap {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.price-badge.mid {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.price-badge.dear {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
}
.change.down {
  color: #4ade80;
}
.change.up {
  color: #f87171;
}
.change.flat {
  color: #94a3b8;
}

.divider {
  border: none;
  border-top: 1px solid #131b26;
  margin: 16px 0;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 16px;
  color: #94a3b8;
  text-decoration: none;
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}
.tool-card:hover {
  border-color: rgba(131, 191, 81, 0.4);
  background: #1f2d42;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.tool-card:hover .tool-card-title {
  color: #83BF51;
}
.tool-card:hover .tool-card-arrow {
  opacity: 1;
  color: #83BF51;
}

.tool-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.tool-card-body {
  flex: 1;
  min-width: 0;
}

.tool-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 120ms ease;
}

.tool-card-desc {
  font-size: 13px;
  color: #4b6080;
  line-height: 1.5;
}

.tool-card-arrow {
  font-size: 14px;
  color: #4b6080;
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 120ms ease, color 120ms ease;
}

.fib, .fi {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
}

.fi {
  position: relative;
  display: inline-block;
  width: 1.333333em;
  line-height: 1em;
}

.fi:before {
  content: " ";
}

.fi.fis {
  width: 1em;
}

.fi-fr {
  background-image: url(../flags/4x3/fr.svg);
}

.fi-fr.fis {
  background-image: url(../flags/1x1/fr.svg);
}

.fi-es {
  background-image: url(../flags/4x3/es.svg);
}

.fi-es.fis {
  background-image: url(../flags/1x1/es.svg);
}

.fi-pt {
  background-image: url(../flags/4x3/pt.svg);
}

.fi-pt.fis {
  background-image: url(../flags/1x1/pt.svg);
}

.map-layout {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
}

.map-country-switch {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
}
@media (min-width: 769px) {
  .map-country-switch {
    display: none;
  }
}
@media (max-width: 768px) {
  .map-country-switch {
    display: flex !important;
  }
}

.map-container {
  flex: 1;
  position: relative;
  z-index: 1;
}
.map-container .leaflet-container {
  background: #1a2535;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.leaflet-container .leaflet-control-attribution {
  display: none;
}

.bi-geo-fill {
  color: #f87171;
}

.map-sidebar {
  width: 380px;
  flex-shrink: 0;
  background: #111827;
  border-left: 1px solid #131b26;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 380ms ease, opacity 380ms ease;
  z-index: 2;
}
@media (max-width: 1024px) {
  .map-sidebar {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
    transform: translateX(100%);
  }
  .map-sidebar.open {
    transform: translateX(0);
  }
}
@media (max-width: 768px) {
  .map-sidebar {
    width: 100%;
    top: auto;
    height: calc(100vh - 60px);
    transform: translateY(100%);
    border-left: none;
    border-top: 1px solid #131b26;
  }
  .map-sidebar.open {
    transform: translateY(0);
  }
}

.sidebar-header {
  padding: 16px;
  border-bottom: 1px solid #131b26;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-controls {
  display: flex;
  gap: 8px;
}
.sidebar-controls .btn-locate {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  background: #83BF51;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  transition: background 120ms ease;
}
.sidebar-controls .btn-locate:hover {
  background: #6a9c41;
}
.sidebar-controls .btn-locate .pulse {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}
.fuel-selector {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.fuel-selector::-webkit-scrollbar {
  height: 3px;
}
.fuel-selector .fuel-tab {
  flex-shrink: 0;
  padding: 4px 12px;
  border: 1px solid #131b26;
  border-radius: 9999px;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  transition: all 120ms ease;
  white-space: nowrap;
}
.fuel-selector .fuel-tab:hover {
  border-color: #83BF51;
  color: #83BF51;
}
.fuel-selector .fuel-tab.active {
  background: #83BF51;
  border-color: #83BF51;
  color: #fff;
}

.sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-section h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4b6080;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-section h3 .section-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #83BF51;
  padding: 1px 6px;
  border-radius: 9999px;
  font-size: 10px;
}

.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #83BF51;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  z-index: 500;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease, transform 120ms ease;
}
.sidebar-toggle:hover {
  background: #6a9c41;
  transform: scale(1.05);
}
.sidebar-toggle.active {
  background: #f87171;
}
@media (max-width: 1024px) {
  .sidebar-toggle {
    display: flex;
  }
}

.fab-locate {
  display: none;
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #111827;
  border: 2px solid #83BF51;
  color: #83BF51;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(131, 191, 81, 0.35);
  align-items: center;
  justify-content: center;
  z-index: 500;
  transition: background 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.fab-locate .pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  top: 6px;
  right: 6px;
  background: #83BF51;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.fab-locate:hover {
  background: rgba(131, 191, 81, 0.12);
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(131, 191, 81, 0.5);
}
@media (max-width: 1024px) {
  .fab-locate {
    display: flex;
  }
}

.leaflet-popup-content-wrapper {
  background: #1a2336 !important;
  border: 1px solid #131b26 !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7) !important;
  padding: 0 !important;
  overflow: hidden;
  min-width: 220px;
}

.leaflet-popup-tip {
  background: #1a2336 !important;
}

.leaflet-popup-close-button {
  color: #4b6080 !important;
  font-size: 18px !important;
  top: 10px !important;
  right: 12px !important;
}
.leaflet-popup-close-button:hover {
  color: #f1f5f9 !important;
}

.text-gold {
  color: #fbbf24;
}

.text-red {
  color: #f87171;
}

.text-info {
  color: #3b82f6;
}

.text-green {
  color: #4ade80;
}

.text-accent {
  color: #83BF51;
}

.text-muted {
  color: #4b6080;
}

.text-yellow {
  color: #ffff33;
}

.map-popup {
  padding: 16px;
}
.map-popup-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.map-popup-brand .brand-logo {
  width: 33px;
  height: 33px;
  border-radius: 6px;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #83BF51;
  border: 1px solid #131b26;
  flex-shrink: 0;
}
.map-popup-brand .brand-name {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
}
.map-popup-brand .brand-address {
  font-size: 11px;
  color: #4b6080;
  margin-top: 1px;
}
.map-popup-prices {
  display: block;
  text-align: center;
  margin: 12px 0;
}
.map-popup-prices .popup-price-item {
  background: #111827;
  border: 1px solid #131b26;
  border-radius: 6px;
  padding: 8px;
}
.map-popup-prices .popup-price-item .fuel-label {
  font-size: 10px;
  color: #4b6080;
  margin-bottom: 2px;
}
.map-popup-prices .popup-price-item .fuel-price {
  font-size: 15px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  color: #f1f5f9;
}
.map-popup-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.map-popup-meta .popup-change {
  font-weight: 600;
}
.map-popup-actions {
  display: flex;
  gap: 8px;
}
.map-popup-actions a {
  flex: 1;
  text-align: center;
  padding: 4px 8px;
  border: 1px solid #131b26;
  border-radius: 6px;
  color: #94a3b8;
  font-size: 11px;
  transition: all 120ms ease;
}
.map-popup-actions a:hover {
  border-color: #83BF51;
  color: #83BF51;
  background: rgba(59, 130, 246, 0.15);
}

.sync-badge {
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.sync-badge.fresh {
  color: #4ade80;
}
.sync-badge.warn {
  color: #fbbf24;
}
.sync-badge.stale {
  color: #f87171;
}

.freshness-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid #131b26;
}
.freshness-selector .freshness-label {
  font-size: 11px;
  color: #4b6080;
  white-space: nowrap;
}
.freshness-selector .freshness-pills {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.freshness-selector .freshness-pill {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid #131b26;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 120ms ease;
}
.freshness-selector .freshness-pill:hover {
  border-color: #83BF51;
  color: #83BF51;
}
.freshness-selector .freshness-pill.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: #83BF51;
  color: #83BF51;
  font-weight: 600;
}

.map-toggles {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid #131b26;
}
.map-toggles .map-toggle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid #131b26;
  border-radius: 9999px;
  color: #4b6080;
  font-size: 11px;
  font-weight: 500;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  cursor: pointer;
  transition: all 120ms ease;
}
.map-toggles .map-toggle .toggle-dot {
  font-size: 8px;
}
.map-toggles .map-toggle:hover {
  border-color: #83BF51;
  color: #83BF51;
}
.map-toggles .map-toggle.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: #83BF51;
  color: #83BF51;
  font-weight: 600;
}

.map-popup-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0;
  align-items: center;
}

.popup-open-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
}
.popup-open-badge i {
  font-size: 7px;
}
.popup-open-badge.open {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}
.popup-open-badge.closed {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}

.popup-restricted {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  padding: 2px 8px;
  border-radius: 9999px;
}

.popup-horario {
  font-size: 11px;
  color: #4b6080;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.open-dot {
  font-size: 9px;
  line-height: 1;
}
.open-dot.open {
  color: #4ade80;
}
.open-dot.closed {
  color: #f87171;
}
.open-dot.unknown {
  color: #4b6080;
}

.card-restricted {
  color: #fbbf24;
  font-size: 11px;
}

.custom-marker {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 120ms ease;
}
.custom-marker:hover {
  transform: scale(1.15);
}
.custom-marker.cheap {
  background: #4ade80;
  color: #060a12;
}
.custom-marker.mid {
  background: #fbbf24;
  color: #060a12;
}
.custom-marker.dear {
  background: #f87171;
  color: #fff;
}
.custom-marker.cluster {
  width: 40px;
  height: 40px;
  font-size: 12px;
  border-width: 3px;
  border-color: rgba(255, 255, 255, 0.35);
}

.marker-hover .custom-marker {
  transform: scale(1.2);
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5), 0 4px 12px rgba(0, 0, 0, 0.6);
  z-index: 1000 !important;
}

.marker-stale-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 11px;
  height: 11px;
  background: #fbbf24;
  border-radius: 50%;
  border: 2px solid #0d1117;
}

.custom-marker.stale {
  opacity: 0.75;
  border-style: dashed;
}

.map-controls {
  position: absolute;
  bottom: 24px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 400;
}
.map-controls button {
  width: 40px;
  height: 40px;
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 10px;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 120ms ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.map-controls button:hover {
  color: #f1f5f9;
  background: #1f2d42;
  border-color: #83BF51;
}

.map-stats-bar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 400;
}
@media (max-width: 768px) {
  .map-stats-bar {
    display: none;
  }
}
.map-stats-bar .map-stat {
  background: rgba(26, 35, 54, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid #131b26;
  border-radius: 9999px;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-stats-bar .map-stat .stat-label {
  font-size: 11px;
  color: #4b6080;
}
.map-stats-bar .map-stat .stat-value {
  font-size: 14px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  color: #f1f5f9;
}
.map-stats-bar .map-stat .stat-change {
  font-size: 11px;
  font-weight: 600;
}

.station-card {
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 220ms ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.station-card:hover {
  background: #1f2d42;
  border-color: #83BF51;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.station-card.highlighted {
  border-color: #83BF51;
  box-shadow: 0 0 0 2px rgba(131, 191, 81, 0.2);
}
.station-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.station-card-header .station-rank {
  min-width: 24px;
  height: 24px;
  background: #111827;
  border: 1px solid #131b26;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #4b6080;
  flex-shrink: 0;
}
.station-card-header .station-rank.gold {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}
.station-card-header .station-rank.silver {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.3);
  color: #94a3b8;
}
.station-card-header .station-rank.bronze {
  background: rgba(180, 120, 60, 0.1);
  border-color: rgba(180, 120, 60, 0.3);
  color: #cd853f;
}
.station-card-header .station-info {
  flex: 1;
  min-width: 0;
}
.station-card-header .station-brand {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.station-card-header .station-address {
  font-size: 11px;
  color: #4b6080;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.station-card-header .station-distance {
  font-size: 11px;
  color: #83BF51;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.station-card-prices {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.station-card-prices .price-item {
  display: flex;
  flex-direction: column;
  min-width: 80px;
  flex: 1;
}
.station-card-prices .price-item .price-fuel {
  font-size: 10px;
  color: #4b6080;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.station-card-prices .price-item .price-value {
  font-size: 16px !important;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  color: #f1f5f9;
  line-height: 1.2;
}
.station-card-prices .price-item .price-value.cheap {
  color: #4ade80;
}
.station-card-prices .price-item .price-value.mid {
  color: #fbbf24;
}
.station-card-prices .price-item .price-value.dear {
  color: #f87171;
}
.station-card-prices .price-item .price-diff {
  font-size: 10px;
  font-weight: 600;
}
.station-card-prices .price-item .price-diff.negative {
  color: #4ade80;
}
.station-card-prices .price-item .price-diff.positive {
  color: #f87171;
}
.station-card-prices .price-item .price-diff.zero {
  color: #94a3b8;
}
.station-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #131b26;
}
.station-card-footer .station-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #4b6080;
}
.station-card-footer .station-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.station-card-footer .station-actions {
  display: flex;
  gap: 4px;
}
.station-card-footer .station-actions a, .station-card-footer .station-actions button {
  padding: 3px 8px;
  border: 1px solid #131b26;
  border-radius: 6px;
  background: transparent;
  color: #4b6080;
  font-size: 11px;
  cursor: pointer;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  transition: all 120ms ease;
}
.station-card-footer .station-actions a:hover, .station-card-footer .station-actions button:hover {
  border-color: #83BF51;
  color: #83BF51;
  background: rgba(59, 130, 246, 0.15);
}
.station-card.compact {
  flex-direction: row;
  align-items: center;
  padding: 8px 12px;
  overflow: hidden;
  width: 100%;
}
.station-card.compact .station-card-header {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.station-card.compact .price-value {
  font-size: 16px !important;
  margin-left: 8px;
}
.station-card.compact > div:last-child {
  flex-shrink: 0;
  text-align: right;
}
.station-card.down-card {
  border-left: 3px solid #4ade80;
}
.station-card.up-card {
  border-left: 3px solid #f87171;
}

.stat-card {
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  pointer-events: none;
}
.stat-card.green::before {
  background: rgba(74, 222, 128, 0.12);
}
.stat-card.yellow::before {
  background: rgba(251, 191, 36, 0.12);
}
.stat-card.red::before {
  background: rgba(248, 113, 113, 0.12);
}
.stat-card.green .stat-icon {
  color: #4ade80;
}
.stat-card.yellow .stat-icon {
  color: #fbbf24;
}
.stat-card.red .stat-icon {
  color: #f87171;
}
.stat-card .stat-icon {
  font-size: 22px;
  line-height: 1;
  color: #83BF51;
}
.stat-card .stat-label {
  font-size: 12px;
  color: #4b6080;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-card .stat-value {
  font-size: 28px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  color: #f1f5f9;
  line-height: 1;
}
.stat-card .stat-sub {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.move-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 10px;
  padding: 12px 16px;
  transition: all 220ms ease;
}
.move-card:hover {
  background: #1f2d42;
  border-color: #334155;
}
.move-card .move-rank {
  font-size: 12px;
  font-weight: 700;
  color: #4b6080;
  min-width: 20px;
}
.move-card .move-info {
  flex: 1;
  min-width: 0;
}
.move-card .move-brand {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.move-card .move-address {
  font-size: 11px;
  color: #4b6080;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.move-card .move-price-wrap {
  text-align: right;
}
.move-card .move-price {
  font-size: 15px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  color: #f1f5f9;
}
.move-card .move-change {
  font-size: 13px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
}
.move-card .move-change.down {
  color: #4ade80;
}
.move-card .move-change.up {
  color: #f87171;
}
.move-card.down-card {
  border-left: 3px solid #4ade80;
}
.move-card.up-card {
  border-left: 3px solid #f87171;
}

.card {
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 16px;
  overflow: hidden;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid #131b26;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.card-header h2, .card-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-header .card-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.card-header h2 i, .card-header h3 i {
  color: #83BF51;
}
.card-body {
  padding: 20px;
}
.card-body-flush {
  padding: 0;
}

.station-detail-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .station-detail-header {
    flex-direction: column;
  }
}
.station-detail-header .detail-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #111827;
  border: 2px solid #131b26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #83BF51;
  flex-shrink: 0;
}
.station-detail-header .detail-info {
  flex: 1;
}
.station-detail-header .detail-name {
  font-size: 22px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.station-detail-header .detail-address {
  font-size: 14px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.station-detail-header .detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.station-detail-header .detail-tags .tag {
  padding: 3px 10px;
  background: #111827;
  border: 1px solid #131b26;
  border-radius: 9999px;
  font-size: 11px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.station-detail-header .detail-tags .tag i {
  font-size: 9px;
}
.station-detail-header .detail-tags .tag.tag--green {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.3);
}
.station-detail-header .detail-tags .tag.tag--red {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.3);
}
.station-detail-header .detail-tags .tag.tag--orange {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.3);
}
.station-detail-header .detail-tags .tag.tag--blue {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
}
.station-detail-header .detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .station-detail-header .detail-actions {
    justify-content: flex-start;
    width: 100%;
  }
}
.station-detail-header .detail-actions .btn {
  padding: 6px 16px;
  border: 1px solid #131b26;
  border-radius: 9999px;
  background: transparent;
  color: #4b6080;
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
}
.station-detail-header .detail-actions .btn:hover {
  background: #1f2d42;
  color: #f1f5f9;
  border-color: #83BF51;
  transform: none;
}
@media (max-width: 576px) {
  .station-detail-header .detail-actions .btn {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    font-size: 11px;
    padding: 6px 12px;
  }
}

.data-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #131b26;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table thead {
  background: #111827;
}
.data-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4b6080;
  border-bottom: 1px solid #131b26;
  white-space: nowrap;
  user-select: none;
}
.data-table thead th.sortable {
  cursor: pointer;
  transition: color 120ms ease;
}
.data-table thead th.sortable:hover {
  color: #94a3b8;
}
.data-table thead th.sortable::after {
  content: " ⇅";
  font-size: 10px;
  opacity: 0.4;
}
.data-table thead th.sortable.asc::after {
  content: " ↑";
  opacity: 1;
  color: #83BF51;
}
.data-table thead th.sortable.desc::after {
  content: " ↓";
  opacity: 1;
  color: #83BF51;
}
.data-table thead th.right {
  text-align: right;
}
.data-table tbody tr {
  border-bottom: 1px solid #131b26;
  transition: background 120ms ease;
}
.data-table tbody tr:last-child {
  border-bottom: none;
}
.data-table tbody tr:hover {
  background: #1f2d42;
  cursor: pointer;
}
.data-table tbody tr.highlighted {
  background: rgba(131, 191, 81, 0.05);
}
.data-table td {
  padding: 12px 16px;
  color: #f1f5f9;
  vertical-align: middle;
}
.data-table td.right {
  text-align: right;
}
.data-table td.muted {
  color: #4b6080;
  font-size: 12px;
}
.data-table td.price-cell {
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.data-table .col-rank {
  width: 40px;
  text-align: center;
}
.data-table .col-rank .rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: #111827;
  color: #4b6080;
}
.data-table .col-rank .rank-1 {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}
.data-table .col-rank .rank-2 {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
}
.data-table .col-rank .rank-3 {
  background: rgba(180, 120, 60, 0.1);
  color: #cd853f;
}
.data-table .col-station {
  display: flex;
  align-items: center;
  gap: 12px;
}
.data-table .col-station .station-mini-logo {
  width: 32px;
  height: 32px;
  background: #111827;
  border: 1px solid #131b26;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #83BF51;
  flex-shrink: 0;
}
.data-table .col-station .station-mini-info .station-mini-brand {
  font-weight: 600;
  color: #f1f5f9;
  font-size: 13px;
}
.data-table .col-station .station-mini-info .station-mini-loc {
  font-size: 11px;
  color: #4b6080;
  margin-top: 1px;
}
.data-table .price-bar-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.data-table .price-bar-cell .price-bar {
  flex: 1;
  height: 4px;
  background: #111827;
  border-radius: 2px;
  overflow: hidden;
  min-width: 60px;
}
.data-table .price-bar-cell .price-bar .price-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}
.data-table .price-bar-cell .price-bar .price-bar-fill.cheap {
  background: #4ade80;
}
.data-table .price-bar-cell .price-bar .price-bar-fill.mid {
  background: #fbbf24;
}
.data-table .price-bar-cell .price-bar .price-bar-fill.dear {
  background: #f87171;
}

.filters-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filters-bar .filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filters-bar .filter-group label {
  font-size: 12px;
  color: #4b6080;
  white-space: nowrap;
}
.filters-bar .filters-right {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
@media (max-width: 576px) {
  .filters-bar {
    gap: 8px;
  }
  .filters-bar .filter-group {
    flex: 1 1 calc(50% - 8px);
    flex-direction: column;
    align-items: flex-start;
  }
  .filters-bar .filter-group .select-styled {
    width: 100%;
  }
  .filters-bar .filters-right {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table tr {
  border-bottom: 1px solid #131b26;
}
.price-table tr:last-child {
  border-bottom: none;
}
.price-table tr:hover {
  background: #1f2d42;
}
.price-table td {
  padding: 12px 16px;
  font-size: 13px;
  vertical-align: middle;
}
.price-table .fuel-name {
  color: #f1f5f9;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-table .fuel-name .fuel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.price-table .fuel-name .fuel-dot.petrol {
  background: #fbbf24;
}
.price-table .fuel-name .fuel-dot.diesel {
  background: #83BF51;
}
.price-table .fuel-name .fuel-dot.gas {
  background: #4ade80;
}
.price-table .fuel-name .fuel-dot.premium {
  background: #f87171;
}
.price-table .fuel-price {
  font-size: 18px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  text-align: right;
}
.price-table .fuel-price.cheap {
  color: #4ade80;
}
.price-table .fuel-price.mid {
  color: #fbbf24;
}
.price-table .fuel-price.dear {
  color: #f87171;
}
.price-table .fuel-price.na {
  color: #4b6080;
  font-size: 13px;
  font-weight: 400;
}
.price-table .fuel-vs-avg {
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
}
.price-table .fuel-vs-avg.negative {
  color: #4ade80;
}
.price-table .fuel-vs-avg.positive {
  color: #f87171;
}
.price-table .fuel-updated {
  font-size: 11px;
  color: #4b6080;
  text-align: right;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
.dashboard-grid > * {
  min-width: 0;
}

.dashboard-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 1024px) {
  .dashboard-main {
    grid-template-columns: 1fr;
  }
}
.dashboard-main > * {
  min-width: 0;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .dashboard-row {
    grid-template-columns: 1fr;
  }
}
.dashboard-row > * {
  min-width: 0;
}

.chart-container {
  position: relative;
  width: 100%;
}
.chart-container canvas {
  width: 100% !important;
}
.chart-container.chart-sm {
  height: 180px;
}
.chart-container.chart-md {
  height: 260px;
}
.chart-container.chart-lg {
  height: 340px;
}

.period-selector {
  display: flex;
  gap: 4px;
}
.period-selector button {
  padding: 6px 16px;
  border: 1px solid #131b26;
  border-radius: 9999px;
  background: transparent;
  color: #4b6080;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  transition: all 120ms ease;
  white-space: nowrap;
}
.period-selector button:hover {
  color: #f1f5f9;
  border-color: #83BF51;
}
.period-selector button.active {
  background: #1f2d42;
  color: #f1f5f9;
  border-color: #83BF51;
}

.chart-fuel-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chart-fuel-selector .chart-fuel-btn {
  padding: 6px 16px;
  border: 1px solid #131b26;
  border-radius: 9999px;
  background: transparent;
  color: #4b6080;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  transition: all 120ms ease;
  white-space: nowrap;
}
.chart-fuel-selector .chart-fuel-btn:hover {
  color: #f1f5f9;
  border-color: #83BF51;
}
.chart-fuel-selector .chart-fuel-btn.active-g95 {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}
.chart-fuel-selector .chart-fuel-btn.active-goa {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(131, 191, 81, 0.3);
  color: #83BF51;
}
.chart-fuel-selector .chart-fuel-btn.active-g98 {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.3);
  color: #f87171;
}
.chart-fuel-selector .chart-fuel-btn.active-glp {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

.province-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.province-list .province-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 120ms ease;
}
.province-list .province-item:hover {
  background: #1f2d42;
  cursor: pointer;
}
.province-list .province-item .province-name {
  flex: 1;
  font-size: 13px;
  color: #f1f5f9;
}
.province-list .province-item .province-price {
  font-size: 14px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  color: #f1f5f9;
}
.province-list .province-item .province-bar {
  width: 80px;
  height: 4px;
  background: #111827;
  border-radius: 2px;
  overflow: hidden;
}
.province-list .province-item .province-bar .fill {
  height: 100%;
  border-radius: 2px;
}
.province-list .province-item .province-bar .fill.cheap {
  background: #4ade80;
}
.province-list .province-item .province-bar .fill.mid {
  background: #fbbf24;
}
.province-list .province-item .province-bar .fill.dear {
  background: #f87171;
}

.brand-ranking {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.brand-ranking .brand-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #111827;
  border: 1px solid #131b26;
  border-radius: 10px;
  transition: all 120ms ease;
}
.brand-ranking .brand-item:hover {
  background: #1f2d42;
  border-color: #334155;
}
.brand-ranking .brand-item .brand-rank {
  font-size: 16px;
  font-weight: 800;
  color: #4b6080;
  min-width: 28px;
}
.brand-ranking .brand-item .brand-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
}
.brand-ranking .brand-item .brand-price {
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  font-size: 15px;
  font-weight: 700;
}
.brand-ranking .brand-item .brand-price.cheap {
  color: #4ade80;
}
.brand-ranking .brand-item .brand-price.mid {
  color: #fbbf24;
}
.brand-ranking .brand-item .brand-price.dear {
  color: #f87171;
}
.brand-ranking .brand-item .brand-count {
  font-size: 11px;
  color: #4b6080;
  min-width: 60px;
  text-align: right;
}

.moves-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .moves-grid {
    grid-template-columns: 1fr;
  }
}
.moves-grid > * {
  min-width: 0;
}

.moves-section .moves-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #131b26;
}
.moves-section .moves-section-title.down-title {
  color: #4ade80;
}
.moves-section .moves-section-title.up-title {
  color: #f87171;
}
.moves-section .move-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.station-mini-map {
  height: 220px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #131b26;
}
.station-mini-map .leaflet-container {
  background: #1a2535;
}

.vs-average {
  background: #111827;
  border: 1px solid #131b26;
  border-radius: 10px;
  padding: 16px;
}
.vs-average .vs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 8px;
}
.vs-average .vs-row strong {
  color: #f1f5f9;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
}
.vs-average .vs-diff {
  font-size: 22px;
  font-weight: 800;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  text-align: center;
  padding: 12px 0;
}
.vs-average .vs-diff.positive {
  color: #4ade80;
}
.vs-average .vs-diff.negative {
  color: #f87171;
}
.vs-average .vs-label {
  text-align: center;
  font-size: 12px;
  color: #4b6080;
}

.skeleton {
  background: linear-gradient(90deg, #111827 25%, #1f2d42 50%, #111827 75%);
  background-size: 200% 100%;
  animation: skeleton-load 1.5s infinite;
  border-radius: 6px;
}
.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
}
.skeleton-title {
  height: 22px;
  width: 60%;
  margin-bottom: 12px;
}
.skeleton-card {
  height: 80px;
  border-radius: 10px;
}

@keyframes skeleton-load {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 16px;
  padding: 12px 20px;
  font-size: 13px;
  color: #f1f5f9;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toast-in 0.25s ease;
  pointer-events: all;
}
.toast.success {
  border-color: rgba(74, 222, 128, 0.4);
  background-color: #6a9c41;
}
.toast.error {
  border-color: rgba(248, 113, 113, 0.4);
  background-color: #f87171;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dashboard-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.dashboard-grid-5 > * {
  min-width: 0;
}
@media (max-width: 1024px) {
  .dashboard-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .dashboard-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .dashboard-grid-5 {
    grid-template-columns: 1fr;
  }
}

.fuel-selector-btn {
  padding: 6px 16px;
  border: 1px solid #131b26;
  border-radius: 9999px;
  background: transparent;
  color: #4b6080;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  transition: all 120ms ease;
  white-space: nowrap;
}
.fuel-selector-btn:hover {
  color: #f1f5f9;
  border-color: #83BF51;
}
.fuel-selector-btn.active {
  background: #1f2d42;
  color: #f1f5f9;
  border-color: #83BF51;
}

.ranking-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.ranking-layout > * {
  min-width: 0;
}
@media (max-width: 1024px) {
  .ranking-layout {
    grid-template-columns: 1fr;
  }
}

.dias-sidebar {
  position: sticky;
  top: calc(56px + 16px);
}
@media (max-width: 1024px) {
  .dias-sidebar {
    position: static;
  }
}

.card-body-dias {
  padding: 12px;
  max-height: 480px;
  overflow-y: auto;
}
@media (max-width: 1024px) {
  .card-body-dias {
    max-height: 200px;
  }
}

.mes-grupo {
  margin-bottom: 12px;
}

.mes-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #4b6080;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.dias-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.dia-pill {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #131b26;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  transition: all 100ms ease;
}
@media (min-width: 768px) {
  .dia-pill {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}
.dia-pill:hover {
  background: #1f2d42;
  color: #f1f5f9;
}
.dia-pill.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-value-lg {
  font-size: 20px !important;
}

.card-header-note {
  font-size: 11px;
  color: #4b6080;
}

.dias-skeleton {
  height: 32px;
  margin-bottom: 8px;
  border-radius: 6px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  animation: toast-in 0.2s ease;
}

.modal-box {
  background: #1a2336;
  border: 1px solid #334155;
  border-radius: 16px;
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}
.modal-box.modal-sm {
  max-width: 440px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #334155;
  flex-shrink: 0;
}
.modal-header h3 {
  margin: 0;
  font-size: 15px;
  color: #f1f5f9;
}

.modal-close {
  background: none;
  border: none;
  color: #4b6080;
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: background 120ms ease, color 120ms ease;
}
.modal-close:hover {
  background: #1f2d42;
  color: #f1f5f9;
}

.modal-body {
  padding: 20px;
  flex: 1;
}

.modal-footer {
  padding: 12px 20px;
  border-top: 1px solid #334155;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.form-group input[type=number],
.form-group input[type=email],
.form-group select {
  width: 100%;
  box-sizing: border-box;
  background: #111827;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px 12px;
  color: #f1f5f9;
  font-size: 14px;
  transition: border-color 120ms ease;
}
.form-group input[type=number]:focus,
.form-group input[type=email]:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
}
.form-group p {
  font-size: 11px;
  color: #4b6080;
  margin: 4px 0 0;
}

.btn-alerta-activa {
  border-color: #3b82f6 !important;
  background: #1f2d42 !important;
  color: #f1f5f9 !important;
}

.btn-favorito-activo {
  border-color: #f87171 !important;
  background: #1f2d42 !important;
  color: #f1f5f9 !important;
}

.app-footer {
  border-top: 1px solid #131b26;
  padding: 16px 24px;
  margin-top: 32px;
  background: #111827;
}
.app-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #4b6080;
}
.app-footer .footer-brand {
  font-weight: 600;
  color: #94a3b8;
}
.app-footer .footer-links {
  display: flex;
  gap: 20px;
}
.app-footer .footer-links a {
  color: #4b6080;
  text-decoration: none;
  transition: color 120ms ease;
}
.app-footer .footer-links a:hover {
  color: #83BF51;
}
.app-footer .footer-disclaimer {
  font-size: 11px;
  color: #4b6080;
  opacity: 0.6;
}
@media (max-width: 768px) {
  .app-footer {
    padding: 16px;
  }
  .app-footer .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .app-footer .footer-disclaimer {
    display: none;
  }
}

.legal-content {
  max-width: 760px;
}
.legal-content h1 {
  margin-bottom: 24px;
}
.legal-content h2 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #131b26;
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-content h2 i {
  color: #83BF51;
}
.legal-content p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-content ul {
  margin: 4px 0 12px 20px;
  padding: 0;
  list-style: disc;
}
.legal-content ul li {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 4px;
}
.legal-content .legal-meta {
  background: #111827;
  border: 1px solid #131b26;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 13px;
}
.legal-content .legal-meta table {
  width: 100%;
  border-collapse: collapse;
}
.legal-content .legal-meta td {
  padding: 4px 12px 4px 0;
  color: #94a3b8;
  vertical-align: top;
}
.legal-content .legal-meta td:first-child {
  color: #4b6080;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding-right: 20px;
  padding-top: 5px;
  width: 130px;
}
.legal-content a {
  color: #83BF51;
  text-decoration: none;
}
.legal-content a:hover {
  text-decoration: underline;
}
.legal-content .legal-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.legal-content .legal-nav a {
  padding: 8px 16px;
  border: 1px solid #131b26;
  border-radius: 10px;
  font-size: 12px;
  color: #4b6080;
  transition: all 120ms ease;
}
.legal-content .legal-nav a:hover, .legal-content .legal-nav a.active {
  border-color: #83BF51;
  color: #83BF51;
  background: rgba(59, 130, 246, 0.15);
  text-decoration: none;
}

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: #1a2336;
  border-top: 1px solid #131b26;
  padding: 12px 20px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}
.cookie-notice.visible {
  transform: translateY(0);
}
.cookie-notice-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-notice-icon {
  font-size: 16px;
  color: #83BF51;
  flex-shrink: 0;
}
.cookie-notice-text {
  flex: 1;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  min-width: 200px;
  margin: 0;
}
.cookie-notice-text a {
  color: #83BF51;
  text-decoration: none;
}
.cookie-notice-text a:hover {
  text-decoration: underline;
}
.cookie-notice-btn {
  background: #83BF51;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 600;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 120ms ease;
}
.cookie-notice-btn:hover {
  opacity: 0.85;
}
@media (max-width: 576px) {
  .cookie-notice {
    padding: 12px 16px;
  }
  .cookie-notice-inner {
    gap: 12px;
  }
  .cookie-notice-text {
    font-size: 11px;
  }
  .cookie-notice-btn {
    padding: 5px 14px;
  }
}

.pwa-install-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 1400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #83BF51;
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 120ms ease, opacity 120ms ease, box-shadow 120ms ease;
}
.pwa-install-btn i {
  font-size: 15px;
}
.pwa-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.6);
  opacity: 0.92;
}
.pwa-install-btn:active {
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 576px) {
  .pwa-install-btn {
    bottom: 16px;
    right: 12px;
    font-size: 12px;
    padding: 8px 12px;
  }
}

.pwa-manual-hint {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1400;
  padding: 12px;
  animation: pwa-slide-up 0.3s ease;
}
.pwa-manual-hint-inner {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  background: #1a2336;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}
.pwa-manual-hint-inner p {
  font-size: 14px;
  color: #f1f5f9;
  margin: 0 24px 12px 0;
}
.pwa-manual-hint-inner ol {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.9;
}
.pwa-manual-hint-inner ol i {
  color: #83BF51;
}
.pwa-manual-hint .pwa-manual-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: #4b6080;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 120ms ease;
}
.pwa-manual-hint .pwa-manual-close:hover {
  color: #f1f5f9;
}

.pwa-browser-tooltip {
  position: fixed;
  z-index: 1401;
  background: #1a2336;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 16px 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  width: 230px;
  animation: pwa-fade-in 0.15s ease;
}
.pwa-browser-tooltip p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 8px;
  line-height: 1.5;
}
.pwa-browser-tooltip p:first-child {
  color: #f1f5f9;
  font-weight: 600;
}
.pwa-browser-tooltip-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.pwa-browser-tooltip-btns a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 8px;
  background: #111827;
  border: 1px solid #131b26;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  transition: all 120ms ease;
}
.pwa-browser-tooltip-btns a i {
  font-size: 13px;
}
.pwa-browser-tooltip-btns a:hover {
  border-color: #83BF51;
  color: #83BF51;
}

@keyframes pwa-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes pwa-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fav-count-badge {
  font-size: 12px;
  color: #94a3b8;
  background: #111827;
  border: 1px solid #131b26;
  border-radius: 9999px;
  padding: 3px 12px;
  font-weight: 500;
}

.fav-subtitle {
  font-size: 13px;
  color: #4b6080;
  margin-top: 4px;
}

.fav-card {
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 120ms ease, transform 120ms ease;
}
.fav-card:hover {
  border-color: #334155;
  transform: translateY(-1px);
}
.fav-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 0;
}

.fav-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #111827, #0b1120);
  border: 1px solid #131b26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #3b82f6;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.fav-info {
  flex: 1;
  min-width: 0;
}

.fav-rotulo {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-lugar {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.fav-dir {
  font-size: 11px;
  color: #4b6080;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.fav-precio-destacado {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.fav-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  line-height: 1.2;
  min-width: 66px;
}
.fav-badge small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.75;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}
.fav-badge.diesel {
  background: rgba(59, 130, 246, 0.12);
  color: rgb(117.5131707317, 167.3170731707, 248.6868292683);
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.fav-badge.petrol {
  background: rgba(131, 191, 81, 0.1);
  color: #83BF51;
  border: 1px solid rgba(131, 191, 81, 0.2);
}

.btn-quitar-fav {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 10px;
  line-height: 1;
  color: #f87171;
  transition: background 120ms ease;
}
.btn-quitar-fav:hover {
  background: rgba(248, 113, 113, 0.12);
}

.fav-precios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 8px;
}

.fav-precio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #111827;
  border: 1px solid #131b26;
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 72px;
}

.fav-fuel-label {
  font-size: 10px;
  color: #4b6080;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.fav-fuel-price {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  margin-top: 2px;
}

.fav-no-precios {
  font-size: 12px;
  color: #4b6080;
  padding: 8px;
  margin: 0;
}

.fav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  border-top: 1px solid #131b26;
  margin-top: 8px;
}

.fav-updated {
  font-size: 11px;
  color: #4b6080;
}
.fav-updated.stale {
  color: #fbbf24;
}

.fav-link {
  font-size: 12px;
  color: #3b82f6;
  font-weight: 500;
}
.fav-link:hover {
  color: rgb(117.5131707317, 167.3170731707, 248.6868292683);
}

.fav-empty {
  text-align: center;
  padding: 64px 24px;
}
.fav-empty-icon {
  font-size: 56px;
  display: block;
  margin-bottom: 16px;
  color: #4b6080;
  opacity: 0.4;
}
.fav-empty h2 {
  font-size: 20px;
  color: #94a3b8;
  font-weight: 600;
  margin: 0 0 8px;
}
.fav-empty p {
  font-size: 14px;
  color: #4b6080;
  max-width: 320px;
  margin: 0 auto 24px;
}

.fav-skeleton {
  padding: 20px;
}
.fav-skeleton-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.fav-skeleton-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}
.fav-skeleton-lines {
  flex: 1;
}
.fav-skeleton-prices {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.fav-skeleton-chip {
  flex: 1;
  height: 40px;
  border-radius: 10px;
}

@media (min-width: 768px) {
  #fav-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 12px;
  }
  .fav-card {
    margin-bottom: 0;
  }
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #4b6080;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: #4b6080;
  text-decoration: none;
  transition: color 120ms ease;
}
.breadcrumb a:hover {
  color: #94a3b8;
}
.breadcrumb span:last-child {
  color: #94a3b8;
}

.bc-sep {
  color: #334155;
  font-size: 11px;
}

@media (max-width: 576px) {
  .muni-hide-sm {
    display: none;
  }
}
.news-widget-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #131b26;
  background: #1a2336;
  text-decoration: none;
  color: inherit;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.news-widget-card:hover {
  background: #1f2d42;
  border-color: #83BF51;
  transform: translateY(-1px);
}
.news-widget-card .news-widget-img {
  width: 68px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #111827;
}
.news-widget-card .news-widget-img-placeholder {
  width: 68px;
  height: 52px;
  border-radius: 6px;
  flex-shrink: 0;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.news-widget-card .news-widget-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.news-widget-card .news-widget-title {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-widget-card .news-widget-meta {
  font-size: 11px;
  color: #4b6080;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.noti-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.noti-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 9999px;
  padding: 3px 10px;
  text-decoration: none;
  white-space: nowrap;
}
.noti-badge .bi {
  font-size: 11px;
}
.noti-badge, .noti-badge--green {
  color: #83BF51;
  background: rgba(131, 191, 81, 0.12);
  border: 1px solid rgba(131, 191, 81, 0.25);
}
.noti-badge--blue {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.noti-badge--purple {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.noti-badge--orange {
  color: #f97316;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
}
.noti-badge--amber {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.noti-clear-filter {
  font-size: 12px;
  color: #4b6080;
  text-decoration: none;
  border: 1px solid #131b26;
  border-radius: 9999px;
  padding: 1px 9px;
  margin-left: 4px;
  transition: all 120ms ease;
}
.noti-clear-filter:hover {
  color: #f1f5f9;
  border-color: #334155;
}

.noti-filters-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.noti-filters-wrap::-webkit-scrollbar {
  display: none;
}

.noti-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 2px solid #131b26;
  white-space: nowrap;
  min-width: max-content;
}
@media (min-width: 576px) {
  .noti-filters {
    flex-wrap: wrap;
    white-space: normal;
    min-width: auto;
  }
}

.noti-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #131b26;
  background: #1a2336;
  color: #94a3b8;
  transition: all 120ms ease;
  white-space: nowrap;
}
.noti-pill .bi {
  font-size: 14px;
}
.noti-pill:hover:not(.noti-pill--empty) {
  background: #1f2d42;
  border-color: #334155;
  color: #f1f5f9;
}
.noti-pill.active {
  background: rgba(131, 191, 81, 0.12);
  border-color: rgba(131, 191, 81, 0.4);
  color: #83BF51;
  font-weight: 600;
}
.noti-pill--blue.active {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
  color: #3b82f6;
}
.noti-pill--purple.active {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.4);
  color: #8b5cf6;
}
.noti-pill--orange.active {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.4);
  color: #f97316;
}
.noti-pill--amber.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #f59e0b;
}
.noti-pill--blue:hover:not(.noti-pill--empty) {
  color: #3b82f6;
}
.noti-pill--purple:hover:not(.noti-pill--empty) {
  color: #8b5cf6;
}
.noti-pill--orange:hover:not(.noti-pill--empty) {
  color: #f97316;
}
.noti-pill--amber:hover:not(.noti-pill--empty) {
  color: #f59e0b;
}
.noti-pill--empty {
  opacity: 0.35;
  pointer-events: none;
}

.noti-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  color: #4b6080;
}

.noti-ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}
.noti-ribbon .bi {
  font-size: 13px;
}
.noti-ribbon--green {
  background: rgba(131, 191, 81, 0.92);
}
.noti-ribbon--blue {
  background: rgba(59, 130, 246, 0.92);
}
.noti-ribbon--purple {
  background: rgba(139, 92, 246, 0.92);
}
.noti-ribbon--orange {
  background: rgba(249, 115, 22, 0.92);
}
.noti-ribbon--amber {
  background: rgba(245, 158, 11, 0.92);
}
@media (max-width: 576px) {
  .noti-ribbon {
    padding: 6px 12px;
    font-size: 10px;
  }
}

.noti-hero {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  margin-bottom: 28px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
@media (max-width: 768px) {
  .noti-hero {
    border-radius: 16px;
    margin-bottom: 24px;
  }
}
.noti-hero__img {
  display: block;
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  transition: transform 600ms ease;
}
@media (max-width: 768px) {
  .noti-hero__img {
    aspect-ratio: 16/9;
  }
}
@media (max-width: 576px) {
  .noti-hero__img {
    aspect-ratio: 4/3;
  }
}
.noti-hero:hover .noti-hero__img {
  transform: scale(1.03);
}
.noti-hero__bg {
  width: 100%;
  aspect-ratio: 21/9;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .noti-hero__bg {
    aspect-ratio: 16/9;
  }
}
.noti-hero__bg .bi {
  font-size: 100px;
  opacity: 0.06;
  color: #fff;
}
.noti-hero .noti-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.noti-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.2) 65%, transparent 100%);
  gap: 12px;
}
@media (max-width: 768px) {
  .noti-hero__overlay {
    padding: 24px;
  }
}
@media (max-width: 576px) {
  .noti-hero__overlay {
    padding: 16px;
  }
}
.noti-hero__title {
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}
@media (max-width: 576px) {
  .noti-hero__title {
    font-size: 20px;
  }
}
.noti-hero:hover .noti-hero__title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.noti-hero__resumen {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 640px;
}
@media (max-width: 576px) {
  .noti-hero__resumen {
    display: none;
  }
}
.noti-hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 576px) {
  .noti-hero__meta {
    font-size: 12px;
    gap: 12px;
  }
}
.noti-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #83BF51;
  font-weight: 600;
}
.noti-hero__cta .bi {
  transition: transform 120ms ease;
}
.noti-hero:hover .noti-hero__cta .bi {
  transform: translateX(4px);
}

.noti-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #4b6080;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid #131b26;
}

.noti-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.noti-cards--3col {
  gap: 16px;
}
.noti-cards--3col .noti-card {
  flex: 0 0 calc(33.333% - 14px);
}
@media (max-width: 768px) {
  .noti-cards--3col .noti-card {
    flex: 0 0 calc(50% - 8px);
  }
}
@media (max-width: 576px) {
  .noti-cards--3col .noti-card {
    flex: 0 0 100%;
  }
}

.noti-card {
  flex: 0 0 calc(33.333% - 14px);
  display: flex;
  flex-direction: column;
  background: #1a2336;
  border: 1px solid #131b26;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 120ms ease, transform 220ms ease, box-shadow 220ms ease;
}
@media (max-width: 768px) {
  .noti-card {
    flex: 0 0 calc(50% - 10px);
  }
}
@media (max-width: 576px) {
  .noti-card {
    flex: 0 0 100%;
  }
}
.noti-card:hover {
  border-color: #83BF51;
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}
.noti-card:hover .noti-card__title {
  color: #83BF51;
}
.noti-card:hover .noti-card__img {
  transform: scale(1.06);
}
.noti-card:hover .noti-card__arrow {
  opacity: 1;
  transform: translateX(3px);
}
.noti-card__img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.noti-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #111827;
  transition: transform 450ms ease;
}
.noti-card__img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
}
.noti-card__img-placeholder .bi {
  font-size: 48px;
  opacity: 0.1;
}
.noti-card__img-placeholder--green .bi {
  color: #83BF51;
}
.noti-card__img-placeholder--blue .bi {
  color: #3b82f6;
}
.noti-card__img-placeholder--purple .bi {
  color: #8b5cf6;
}
.noti-card__img-placeholder--orange .bi {
  color: #f97316;
}
.noti-card__img-placeholder--amber .bi {
  color: #f59e0b;
}
.noti-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.noti-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 120ms ease;
}
.noti-card__excerpt {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.noti-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #131b26;
  font-size: 12px;
  color: #4b6080;
}
.noti-card__date {
  display: flex;
  align-items: center;
  gap: 5px;
}
.noti-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #83BF51;
  font-weight: 600;
  opacity: 0;
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

.noti-empty {
  text-align: center;
  padding: 80px 16px;
  color: #4b6080;
}
.noti-empty > .bi {
  font-size: 56px;
  display: block;
  margin-bottom: 20px;
  opacity: 0.15;
}
.noti-empty p {
  margin: 0 0 20px;
  font-size: 16px;
}

.noti-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #83BF51;
  border: 1px solid rgba(131, 191, 81, 0.3);
  background: rgba(131, 191, 81, 0.08);
  transition: all 120ms ease;
}
.noti-empty-btn:hover {
  background: rgba(131, 191, 81, 0.15);
  border-color: rgba(131, 191, 81, 0.5);
}

.noti-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.noti-pagination a, .noti-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #131b26;
  background: #1a2336;
  color: #94a3b8;
  transition: all 120ms ease;
}
.noti-pagination a:hover:not(.disabled):not(.active), .noti-pagination span:hover:not(.disabled):not(.active) {
  border-color: #83BF51;
  color: #f1f5f9;
}
.noti-pagination a.active, .noti-pagination span.active {
  background: #83BF51;
  border-color: #83BF51;
  color: #fff;
  font-weight: 700;
}
.noti-pagination a.disabled, .noti-pagination a.ellipsis, .noti-pagination span.disabled, .noti-pagination span.ellipsis {
  opacity: 0.4;
  pointer-events: none;
}

.noti-article {
  margin-bottom: 32px;
}
.noti-article__hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}
@media (max-width: 576px) {
  .noti-article__hero {
    border-radius: 16px;
    margin-bottom: 24px;
  }
}
.noti-article__hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}
@media (max-width: 768px) {
  .noti-article__hero-img {
    aspect-ratio: 16/9;
  }
}
@media (max-width: 576px) {
  .noti-article__hero-img {
    aspect-ratio: 4/3;
  }
}
.noti-article__hero .noti-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.noti-article__body {
  max-width: 740px;
  margin: 0 auto;
}
.noti-article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 13px;
  color: #4b6080;
}
.noti-article__autogen {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #4b6080;
  background: #111827;
  border: 1px solid #131b26;
  border-radius: 9999px;
  padding: 2px 8px;
}
.noti-article__title {
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.18;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}
.noti-article__lead {
  font-size: 19px;
  color: #94a3b8;
  line-height: 1.68;
  margin: 0 0 24px;
  padding-left: 20px;
  border-left: 4px solid #83BF51;
}
@media (max-width: 576px) {
  .noti-article__lead {
    font-size: 16px;
  }
}
.noti-article__divider {
  width: 48px;
  height: 3px;
  background: #83BF51;
  border-radius: 2px;
  margin: 0 0 28px;
  opacity: 0.7;
}
.noti-article__content {
  font-size: 17px;
  line-height: 1.85;
  color: #94a3b8;
}
@media (max-width: 576px) {
  .noti-article__content {
    font-size: 15px;
    line-height: 1.75;
  }
}
.noti-article__content p {
  margin: 0 0 20px;
}
.noti-article__content p:last-child {
  margin-bottom: 0;
}
.noti-article__content strong {
  color: #f1f5f9;
  font-weight: 600;
}
.noti-article__content em {
  font-style: italic;
}
.noti-article__content h2, .noti-article__content h3 {
  color: #f1f5f9;
  font-weight: 700;
  line-height: 1.3;
  margin: 32px 0 16px;
}
.noti-article__content h2 {
  font-size: 22px;
}
.noti-article__content h3 {
  font-size: 19px;
}
.noti-article__content ul, .noti-article__content ol {
  margin: 0 0 20px 20px;
}
.noti-article__content ul li, .noti-article__content ol li {
  margin-bottom: 8px;
}
.noti-article__content ul li::marker, .noti-article__content ol li::marker {
  color: #83BF51;
}
.noti-article__content blockquote {
  border-left: 4px solid #83BF51;
  margin: 24px 0;
  padding: 16px 20px;
  background: rgba(131, 191, 81, 0.06);
  border-radius: 0 10px 10px 0;
  font-size: 17px;
  color: #f1f5f9;
  font-style: italic;
}
.noti-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 14px;
}
.noti-article__content table th, .noti-article__content table td {
  padding: 10px 14px;
  border: 1px solid #131b26;
  text-align: left;
}
.noti-article__content table th {
  background: #111827;
  color: #f1f5f9;
  font-weight: 600;
}
.noti-article__content table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}
.noti-article__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #131b26;
}
.noti-article__footer-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(131, 191, 81, 0.1);
  border: 1px solid rgba(131, 191, 81, 0.25);
  color: #83BF51;
  transition: all 120ms ease;
}
.noti-article__footer-cat:hover {
  background: rgba(131, 191, 81, 0.18);
}
.noti-article__footer-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #131b26;
  color: #94a3b8;
  transition: all 120ms ease;
}
.noti-article__footer-back:hover {
  color: #f1f5f9;
  border-color: #334155;
}

.noti-map-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(59, 130, 246, 0.07);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 12px;
  text-decoration: none;
  color: #93c5fd;
  font-weight: 600;
  font-size: 14px;
  transition: background 120ms ease, border-color 120ms ease;
}
.noti-map-cta:hover {
  background: rgba(59, 130, 246, 0.13);
  border-color: rgba(59, 130, 246, 0.4);
}
.noti-map-cta__icon {
  font-size: 22px;
  flex-shrink: 0;
  color: #60a5fa;
}
.noti-map-cta__text {
  flex: 1;
  line-height: 1.4;
}
.noti-map-cta__text strong {
  display: block;
  font-size: 15px;
  color: #f1f5f9;
}
.noti-map-cta__arrow {
  flex-shrink: 0;
  font-size: 16px;
  opacity: 0.6;
}

.noti-related-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #131b26;
}

.bc-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 576px) {
  .bc-truncate {
    max-width: 120px;
  }
}

.consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #1a2336;
  border-top: 1px solid #334155;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.55);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.consent-bar.visible {
  transform: translateY(0);
}
@media (max-width: 576px) {
  .consent-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }
}

.consent-text {
  flex: 1;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}
.consent-text strong {
  color: #f1f5f9;
  font-weight: 600;
}
.consent-text a {
  color: #83BF51;
  text-decoration: none;
  white-space: nowrap;
}
.consent-text a:hover {
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
}
@media (max-width: 576px) {
  .consent-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

.consent-btn-accept {
  background: #83BF51 !important;
  border-color: #83BF51 !important;
  color: #fff !important;
}
.consent-btn-accept:hover {
  background: #6a9c41 !important;
  border-color: #6a9c41 !important;
}

.country-selector {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #111827;
  border: 1px solid #334155;
  border-radius: 9999px;
  padding: 3px;
  flex-shrink: 0;
}
.mobile-nav-footer .country-selector {
  margin-top: 12px;
}

.country-btn {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #4b6080;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  transition: background 120ms ease, color 120ms ease;
}
.country-btn .flag {
  font-size: 14px;
  line-height: 1;
}
.country-btn.active {
  background: #83BF51;
  color: #fff;
  cursor: default;
  pointer-events: none;
}
.country-btn:not(.active) {
  cursor: pointer;
}
.country-btn:not(.active):hover {
  background: #1f2d42;
  color: #f1f5f9;
}

@media (max-width: 768px) {
  .header-country {
    display: none;
  }
}
@media (max-width: 380px) {
  .header-country .country-btn .country-label {
    display: none;
  }
}
.fuel-route-page {
  padding-bottom: 32px;
}

.fuel-route-form-card {
  margin-bottom: 16px;
}

.fuel-route-form-groups {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.fuel-route-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}
.fuel-route-group.group-ruta {
  flex: 1.2;
  min-width: 260px;
}
.fuel-route-group.group-vehiculo {
  flex: 1.4;
  min-width: 280px;
}
.fuel-route-group.group-estrategia {
  flex: 1.4;
  min-width: 280px;
}

.fuel-route-group-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4b6080;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px solid #131b26;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fuel-route-group-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fuel-route-group-fields.fields-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 576px) {
  .fuel-route-group-fields.fields-row {
    grid-template-columns: 1fr;
  }
}
.fuel-route-group-fields .form-group {
  margin: 0;
}
.fuel-route-group-fields .form-group label {
  display: block;
  margin-bottom: 5px;
  color: #4b6080;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fuel-route-group-fields .form-group .input-styled,
.fuel-route-group-fields .form-group .select-styled {
  width: 100%;
}

.fuel-route-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}
.fuel-route-field-head label {
  margin-bottom: 0 !important;
}

.fuel-route-locate-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #131b26;
  background: #111827;
  color: #83BF51;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: border-color 120ms ease, background 120ms ease;
}
.fuel-route-locate-btn:hover {
  background: rgba(131, 191, 81, 0.1);
  border-color: rgba(131, 191, 81, 0.5);
}
.fuel-route-locate-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.fuel-route-locate-btn.is-locating {
  border-color: rgba(131, 191, 81, 0.55);
  background: rgba(131, 191, 81, 0.16);
}

.fuel-route-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #131b26;
  flex-wrap: wrap;
}

.fuel-route-status {
  font-size: 12px;
  color: #4b6080;
}

.fuel-route-geocode-field {
  position: relative;
  width: 100%;
}

.fuel-route-geocode-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  border: 1px solid #131b26;
  border-radius: 10px;
  background: #1a2336;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.fuel-route-geocode-dropdown.open {
  display: block;
}

.fuel-route-geocode-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 8px 12px;
}
.fuel-route-geocode-item:hover, .fuel-route-geocode-item:focus {
  background: #1f2d42;
  outline: none;
}

.fuel-route-geocode-main {
  font-size: 12px;
  color: #f1f5f9;
}

.fuel-route-geocode-sub,
.fuel-route-geocode-empty {
  font-size: 11px;
  color: #4b6080;
}

.fuel-route-geocode-empty {
  padding: 8px 12px;
}

.fuel-route-results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 1024px) {
  .fuel-route-results-layout {
    grid-template-columns: 1fr;
  }
}

.fuel-route-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.fuel-route-map-card .card-body-flush {
  border-top: 1px solid #131b26;
}

#fuel-route-map {
  width: 100%;
  height: 580px;
  background: #1a2535;
}
@media (max-width: 768px) {
  #fuel-route-map {
    height: 420px;
  }
}

.fuel-route-map-pick {
  min-width: 180px;
}
.fuel-route-map-pick .title {
  font-size: 11px;
  color: #4b6080;
  margin-bottom: 8px;
}
.fuel-route-map-pick .actions {
  display: flex;
  gap: 8px;
}
.fuel-route-map-pick .btn-map-pick {
  flex: 1;
  border: 1px solid #131b26;
  background: #111827;
  color: #94a3b8;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}
.fuel-route-map-pick .btn-map-pick:hover {
  border-color: rgba(131, 191, 81, 0.55);
  color: #f1f5f9;
  background: rgba(131, 191, 81, 0.08);
}

.fuel-route-marker {
  background: #1a2336;
  color: #f1f5f9;
  border: 1px solid #83BF51;
  border-radius: 6px;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 18px;
  height: 20px;
  min-width: 42px;
  padding: 0 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.fuel-route-popup .brand {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.fuel-route-popup .address {
  font-size: 11px;
  color: #4b6080;
  margin-bottom: 6px;
}
.fuel-route-popup .meta {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.fuel-route-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 576px) {
  .fuel-route-kpi-grid {
    grid-template-columns: 1fr;
  }
}
.fuel-route-kpi-grid .stat-card {
  min-width: 0;
  padding: 12px;
}
.fuel-route-kpi-grid .stat-card .stat-icon {
  font-size: 16px;
}
.fuel-route-kpi-grid .stat-card .stat-label {
  font-size: 10px;
}
.fuel-route-kpi-grid .stat-card .stat-value {
  font-size: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fuel-route-kpi-grid .stat-card .stat-sub {
  font-size: 10px;
  line-height: 1.35;
}

.fuel-route-kpi-grid-opt {
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 768px) {
  .fuel-route-kpi-grid-opt {
    grid-template-columns: 1fr;
  }
}

.fuel-route-warning {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fuel-route-summary .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid transparent;
}
.fuel-route-summary .pill.warn {
  color: #facc15;
  background: rgba(250, 204, 21, 0.14);
  border-color: rgba(250, 204, 21, 0.36);
}
.fuel-route-summary .pill.soft {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.22);
}

.fuel-route-summary-empty {
  color: #4b6080;
  font-size: 13px;
}

.fuel-route-summary .muted {
  color: #94a3b8;
}

.fuel-route-error {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.15);
  color: #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
}

.fuel-route-stop-list {
  margin-top: 12px;
  border: 1px solid #131b26;
  border-radius: 10px;
  background: #111827;
  padding: 12px;
}

.fuel-route-stop-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4b6080;
  margin-bottom: 8px;
}

.fuel-route-stop-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 80px 64px;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(19, 27, 38, 0.6);
  width: 100%;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.fuel-route-stop-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.fuel-route-stop-row:hover {
  background: rgba(131, 191, 81, 0.06);
}
.fuel-route-stop-row .order {
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  color: #94a3b8;
}
.fuel-route-stop-row .brand {
  color: #f1f5f9;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fuel-route-stop-row .price,
.fuel-route-stop-row .liters {
  text-align: right;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  color: #94a3b8;
}

.fuel-route-plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fuel-route-plan-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #131b26;
}

.fuel-route-plan-route {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: #94a3b8;
}

.fuel-route-plan-km {
  font-size: 18px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  color: #f1f5f9;
}

.fuel-route-plan-sep {
  color: #4b6080;
}

.fuel-route-plan-cost {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.fuel-route-plan-cost-value {
  font-size: 18px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  color: #4ade80;
}

.fuel-route-plan-cost-sub {
  font-size: 11px;
  color: #4b6080;
}

.fuel-route-plan-savings {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 9999px;
  padding: 4px 10px;
}
.fuel-route-plan-savings::before {
  content: "↓";
}

.fuel-route-plan-stops {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fuel-route-plan-stop {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #131b26;
  border-radius: 10px;
  background: #111827;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}
.fuel-route-plan-stop:hover {
  border-color: rgba(131, 191, 81, 0.45);
  background: rgba(131, 191, 81, 0.06);
}

.fuel-route-plan-stop-km {
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  font-size: 11px;
  color: #4b6080;
  text-align: center;
  white-space: nowrap;
}

.fuel-route-plan-stop-info {
  min-width: 0;
}

.fuel-route-plan-stop-brand {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fuel-route-plan-stop-addr {
  font-size: 11px;
  color: #4b6080;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fuel-route-plan-stop-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
}

.fuel-route-plan-stop-price {
  font-size: 13px;
  font-weight: 700;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  color: #4ade80;
}

.fuel-route-plan-stop-fill {
  font-size: 11px;
  color: #94a3b8;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
}

.fuel-route-plan-stop-detour {
  font-size: 10px;
  color: #4b6080;
}

.fuel-route-debug {
  margin-top: 8px;
  border: 1px solid #131b26;
  border-radius: 10px;
  background: #111827;
}
.fuel-route-debug summary {
  padding: 8px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4b6080;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.fuel-route-debug summary::-webkit-details-marker {
  display: none;
}
.fuel-route-debug summary::before {
  content: "▸ ";
}
.fuel-route-debug[open] summary::before {
  content: "▾ ";
}

.fuel-route-debug-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 8px 12px 12px;
  font-size: 11px;
}
.fuel-route-debug-grid span:nth-child(odd) {
  color: #4b6080;
}
.fuel-route-debug-grid span:nth-child(even) {
  color: #94a3b8;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  text-align: right;
}

.fuel-route-candidates {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 460px;
  overflow-y: auto;
}

.fuel-route-cand-row {
  display: grid;
  grid-template-columns: 24px 1fr 48px 52px auto;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  transition: background 120ms ease;
}
.fuel-route-cand-row:hover {
  background: #1f2d42;
}
.fuel-route-cand-row.in-plan {
  background: rgba(74, 222, 128, 0.07);
}

.fuel-route-cand-rank {
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  font-size: 11px;
  color: #4b6080;
  text-align: center;
}

.fuel-route-cand-brand {
  color: #f1f5f9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fuel-route-cand-km {
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  font-size: 11px;
  color: #4b6080;
  text-align: right;
  white-space: nowrap;
}

.fuel-route-cand-price {
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
  text-align: right;
  white-space: nowrap;
}

.fuel-route-cand-badge {
  font-size: 10px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 6px;
  padding: 1px 5px;
  white-space: nowrap;
}

.fuel-route-primary-stop {
  margin-top: 12px;
  width: 100%;
  border: 1px solid rgba(131, 191, 81, 0.35);
  background: rgba(131, 191, 81, 0.08);
  border-radius: 10px;
  padding: 12px;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.fuel-route-primary-stop:hover {
  border-color: rgba(131, 191, 81, 0.65);
  background: rgba(131, 191, 81, 0.14);
}
.fuel-route-primary-stop .title {
  font-size: 11px;
  color: #4b6080;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.fuel-route-primary-stop .brand {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}
.fuel-route-primary-stop .meta {
  font-size: 12px;
  color: #94a3b8;
}
