/* Map container */
#californiaMap {
  height: 75vh;        /* Height relative to the viewport height */
  width: 100%;         /* Full width */
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive map height for small screens */
@media screen and (max-width: 600px) {
  #californiaMap {
    height: 300px;
  }
}

/* Hero banner */
.hero-banner {
  background: linear-gradient(135deg, #0b5d1e 0%, #0f7a2a 60%, #0b5d1e 100%);
  color:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.15);
}

.banner-title {
  font-size: 1.35rem;
  font-weight: 550;
  opacity: 0.9;
  margin-bottom: 0.25rem;
  text-align: center;
  text-transform: uppercase;
}

.hero-banner-text {
  color: #ffffff;
  margin: 0;
}

.hero-banner-count {
  display:inline-block;
  margin:0 .25rem;
  padding:.15rem .6rem;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  font-weight:800;
  font-variant-numeric: tabular-nums;	
}

/* Calendar icon */
.calendar-icon {
  color: green;
}

/* HMS fire legend dot */
.icon-hms-fire {
  width: 10px;
  height: 10px;
  background-color: #DD571C;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  margin-left: 4px;
  border-radius: 50%;
  border: 2px solid orange;
}

/* Legend styling */
.rx-legend {
  background-color: #ffffff;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  font-size: 0.85rem;
}

.rx-legend-row {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.rx-legend-row:last-child {
  margin-bottom: 0;
}

.rx-legend-icon {
  width: 20px;
  height: auto;
  margin-right: 4px;
}

.rx-legend-line {
  width: 18px;
  height: 2px;
  background-color: gray;
  display: inline-block;
  margin-right: 3px;
}

/* Home control button */
.rx-home-container {
  background-color: #ffffff;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(0,0,0,0.2);
  cursor: pointer;
}

.leaflet-control-home-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Popup headers */
.popup-header {
  color: #ffffff;
  padding: 5px;
  border-radius: 5px;
  margin: 0 0 4px 0;
  font-size: 0.95rem;
}

.popup-header-rx {
  background-color: #33A33C;
}

.popup-header-smoke {
  background-color: gray;
}

.popup-header-fire {
  background-color: orange;
}

/* Popup button */
.rx-popup-button {
  background-color: #33A33C;
  color: #ffffff !important;
  padding: 8px 15px;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  font-size: 14px;
  margin-top: 10px;
  border: none;
}

