body {
  background: radial-gradient(circle at top, #04151f 0%, #020711 55%, #020408 100%);
  padding: 4rem 7vw 5rem;
  color: #f5f7ff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

/* Header */
.aqi-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
}

.dash-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: #4fe38d;
  margin-bottom: 0.4rem;
}

.dash-title {
  font-size: 2.1rem;
  margin: 0 0 0.6rem;
}

.dash-sub {
  max-width: 480px;
  font-size: 0.98rem;
  color: #a0aec0;
}

.dash-search-block {
  background: radial-gradient(circle at top left, #062b37, #020914);
  border-radius: 18px;
  padding: 1.4rem 1.6rem 1.5rem;
  box-shadow: 0 0 18px rgba(9, 169, 75, 0.45);
  max-width: 430px;
}

.dash-search-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7ddfb3;
  margin-bottom: 0.5rem;
}

.dash-search-input {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.dash-search-input input {
  flex: 1;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  border: 1px solid #1b3949;
  background: #020711;
  color: #f5f7ff;
  font-size: 0.9rem;
}

.dash-search-input input::placeholder {
  color: #64748b;
}

.dash-search-input button {
  border-radius: 999px;
  border: none;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #0df16a, #09a94b);
  color: #02030a;
  box-shadow: 0 0 12px rgba(13, 241, 106, 0.55);
}

.dash-search-hint {
  font-size: 0.82rem;
  color: #9ca3af;
}

/* Grid layout */

.aqi-dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.aqi-dash-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Cards */

.dash-card {
  background: radial-gradient(circle at top left, #07252f, #020612 65%, #010308 100%);
  border-radius: 20px;
  padding: 1.6rem 1.8rem 1.5rem;
  border: 1px solid rgba(88, 255, 163, 0.12);
  box-shadow: 0 0 22px rgba(9, 169, 75, 0.35);
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.2rem;
}

.dash-card-header h2 {
  font-size: 1.15rem;
  margin: 0 0 0.2rem;
}

.dash-card-header p {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Buttons */

.dash-cta-primary {
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  border: none;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(135deg, #0df16a, #09a94b);
  color: #02030a;
  box-shadow: 0 0 14px rgba(9, 169, 75, 0.55);
}

.dash-cta-ghost {
  border-radius: 999px;
  padding: 0.4rem 1.05rem;
  border: 1px solid rgba(79, 227, 141, 0.7);
  background: transparent;
  color: #c7ffdf;
  font-size: 0.84rem;
  cursor: pointer;
}

/* Tables & empty states */

.dash-card-body {
  font-size: 0.9rem;
}

.dash-table-header {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr 0.7fr;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #9ca3af;
  margin-bottom: 0.7rem;
}

.dash-alerts .dash-table-header {
  grid-template-columns: 1.4fr 0.7fr 1.1fr 0.5fr;
}

.dash-empty {
  padding: 0.9rem 0 0.6rem;
}

.dash-empty p {
  margin: 0;
}

.dash-empty-sub {
  margin-top: 0.25rem;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* Bullets & quotes */

.dash-bullets {
  margin: 0.6rem 0 0.3rem;
  padding-left: 1.1rem;
  color: #d1d5db;
  font-size: 0.86rem;
}

.dash-bullets li + li {
  margin-top: 0.2rem;
}

.dash-quote {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-style: italic;
  color: #7ddfb3;
}

/* Responsive */

@media (max-width: 1024px) {
  .aqi-dash-header {
    flex-direction: column;
  }

  .dash-search-block {
    max-width: 100%;
  }

  .aqi-dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .aqi-dashboard {
    padding: 3rem 1.25rem 4rem;
  }

  .dash-title {
    font-size: 1.55rem;
  }

  .dash-card {
    padding: 1.4rem 1.3rem 1.3rem;
  }

  .dash-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-table-header {
    display: none; /* you can swap to stacked rows on mobile later */
  }
}
