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

.currency-dashboard {
  --dash-accent: #0d8b2f;
  --dash-accent-2: #0f5d22;
  --dash-ink: #0b1a12;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}
.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 22px;
  background: radial-gradient(
      circle at top left,
      rgba(14, 166, 69, 0.18),
      transparent 55%
    ),
    linear-gradient(130deg, rgba(11, 26, 18, 0.08), rgba(11, 26, 18, 0.02));
  border: 1px solid rgba(15, 93, 34, 0.15);
  box-shadow: 0 20px 40px rgba(9, 35, 19, 0.08);
}
.dashboard-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 900;
  color: var(--dash-accent-2);
  font-size: 0.7rem;
  margin: 0 0 6px;
}
.dashboard-hero h4 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: clamp(1.4rem, 1vw + 1.1rem, 2rem);
  color: var(--dash-ink);
}
.dashboard-hero .meta {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.98rem;
  max-width: 520px;
  margin-top: 8px;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(13, 139, 47, 0.12);
  border: 1px solid rgba(13, 139, 47, 0.2);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--dash-accent-2);
}
.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.hero-card {
  padding: 12px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 26, 18, 0.08);
  box-shadow: 0 10px 24px rgba(9, 35, 19, 0.08);
}
.hero-card .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 6px;
}
.hero-card .value {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--dash-ink);
}
@media (max-width: 768px) {
  .dashboard-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-cards {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    width: 100%;
  }
}
@media (max-width: 520px) {
  .hero-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .chart-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .currency-picker {
    width: 100%;
    justify-content: space-between;
  }
  .currency-picker .dropdown {
    width: 100%;
  }
  .currency-picker .btn {
    width: 100%;
    justify-content: space-between;
  }
  .chart-body {
    padding: 6px 12px 16px;
  }
  .fuel-table {
    font-size: 0.84rem;
  }
  .fuel-table th,
  .fuel-table td {
    white-space: nowrap;
  }
}
.chart-card {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(
      180deg,
      rgba(8, 140, 22, 0.08),
      rgba(8, 140, 22, 0.02) 50%,
      #ffffff 100%
    );
  border: 1px solid rgba(13, 139, 47, 0.18);
  box-shadow: 0 20px 40px rgba(9, 35, 19, 0.08);
}
.chart-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(13, 139, 47, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.chart-title {
  font-weight: 900;
  margin: 0;
  color: var(--dash-ink);
}
.chart-meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.chart-body {
  padding: 6px 18px 18px;
}
.chart-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 139, 47, 0.12);
  border: 1px solid rgba(13, 139, 47, 0.2);
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--dash-accent-2);
  margin-bottom: 6px;
}
.currency-picker .btn {
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 14px;
}
.currency-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.currency-pill .fi {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.currency-menu {
  min-width: 220px;
}
.currency-menu .dropdown-item {
  font-weight: 700;
}
.fuel-card .panel-title {
  margin-bottom: 10px;
}
.fuel-card {
  border-radius: 20px;
  border: 1px solid rgba(11, 26, 18, 0.08);
  box-shadow: 0 16px 30px rgba(9, 35, 19, 0.08);
  background: #ffffff;
  padding: 18px 20px;
}
.fuel-card .panel-title span {
  font-weight: 900;
  color: var(--dash-ink);
}
.fuel-card .panel-title small {
  color: var(--muted);
  font-weight: 700;
}
.fuel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.fuel-table th,
.fuel-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.fuel-table th {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
  font-weight: 900;
}
.fuel-table tbody tr:hover {
  background: rgba(13, 139, 47, 0.06);
}
.fuel-table td:last-child {
  text-align: right;
  font-weight: 900;
  color: var(--brand-2);
}
.fuel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(8, 140, 22, 0.2);
  background: rgba(8, 140, 22, 0.08);
  font-weight: 800;
  font-size: 0.85rem;
}

.currency-chart {
  height: 320px;
  width: 100%;
}

a.canvasjs-chart-credit {
  display: none !important;
}
.leaflet-control-attribution {
  display: none !important;
}
