.sah-dashboard {
  --c1: #293B5F;
  --c2: #47597E;
  --c3: #DBE6FD;
  --c4: #5A543C;
  --clight: whitesmoke;
  --cdark: darkslategray;
  --dottedUnderline: 2px dotted whitesmoke;
  --dayWidth: 18%;
  --dayMargin: 0 1%;
  --gradient: linear-gradient(90deg, rgba(219,230,253,.5) 0%, rgba(71,89,126,0.5) 90%);
}

.sah-dashboard {
  background: rgb(41,59,95);
  background: var(--gradient);
  padding: 1rem 0;
  min-height: 100vh;
  width: 100%;
}

.sah-dashboard div.section {
  background: rgba(255,255,255,0.25);
  color: var(--cdark);
  width: 100%;
}

.sah-dashboard div.hbhTitle {
  color: var(--cdark);
  float: left;
  border: none;
  padding: 5px 0;
  margin: 0;
  width: 100%;
  text-decoration: underline var(--dottedUnderline);
}

.sah-dashboard div.hbhBlock {
  width: 25%;
  float: left;
  padding: 0 .5em;
  text-align: center;
}

.sah-dashboard div.hbhImgBlock {
  width: 5%;
  float: left;
  padding: 2px 5px;
}

.sah-dashboard div.hbhRowHeader {
  width: 100%;
  height: 23px;
  margin: 5px 0;
  border-top: var(--dottedUnderline);
  padding-top: 4px;
}

.sah-dashboard div.hbhBadRow {
  background-color: transparent;
  width: 100%;
  margin: 0;
  text-align: left;
  padding: 1px 0;
}

.sah-dashboard div.hbhDate {
  color: var(--c4);
}

.sah-dashboard div.forecast {
  background-size: 102%;
  padding-top: 10rem;
  width: 100%;
  margin: 0;
  color: white;
  letter-spacing: 1.2px;
  margin-left: auto;
  margin-right: auto;
}

.sah-dashboard .clear {
  clear: both;
  display: block;
}

.sah-dashboard .small-font {
  font-size: 0.7em !important;
  font-weight: bold;
  text-transform: uppercase;
  color: #181a18;
}

.sah-dashboard .title {
  font-size: 1.2em;
  text-decoration: dotted underline 1px;
  margin-bottom: 1em;
}

.sah-dashboard .hourlyRows .hourlyrow {
  background: rgba(255,255,255,0.666);
}

.sah-dashboard .hourlyRows .hourlyrow:nth-child(odd) {
  background: rgba(255,255,255,0.333);
}

.sah-dashboard .hourlyRows .hourlyrow:hover {
  background: rgba(255,255,255,.8);
}

.sah-dashboard .fiveday .info {
  text-align: left;
  font-size: .8em;
  font-style: italic;
}

.sah-dashboard .temp:empty::after,
.sah-dashboard .wetbulb:empty::after,
.sah-dashboard .humidity:empty::after,
.sah-dashboard .hi:empty::after,
.sah-dashboard .lo:empty::after {
  content: ' --- ';
}

.sah-dashboard .temp:not(:empty)::after,
.sah-dashboard .wetbulb:not(:empty)::after,
.sah-dashboard .hi:not(:empty)::after,
.sah-dashboard .lo:not(:empty)::after {
  content: '\00B0';
}

.sah-dashboard .humidity:not(:empty)::after {
  content: '%';
}

.sah-dashboard .current-fc .icon,
.sah-dashboard .hourlyrow .icon,
.sah-dashboard .fiveday .icon {
  max-height: 30px;
}

.sah-dashboard .hourlyrow .icon {
  padding: 2px 0;
}

.sah-dashboard .current .icon-title {
  font-size: .8em;
}

.sah-dashboard .center {
  text-align: center;
}

.sah-dashboard .right {
  text-align: right;
}

.sah-dashboard .fiveday .day p,
.sah-dashboard .fiveday .night p {
  margin: 0;
}

.sah-dashboard .fiveday .day,
.sah-dashboard .fiveday .night {
  padding: 1em;
}

.sah-dashboard .fiveday .icon {
  margin: 1em 0;
}

.sah-dashboard .fiveday .small-font {
  font-size: 0.8em;
}

.sah-dashboard .current .form-check label {
  text-decoration: none;
  font-size: 0.8em;
}

/* Snowmaking condition colors */
.sah-dashboard .hourlyRows .hourlyrow.none {
  background: #fe0034;
  color: whitesmoke;
}

.sah-dashboard .hourlyRows .hourlyrow.poor {
  background: #829eef;
}

.sah-dashboard .hourlyRows .hourlyrow.good {
  background: #1b2acb;
  color: whitesmoke;
}

.sah-dashboard .legend {
  font-weight: bold;
}

.sah-dashboard .legend .conditions.none {
  background: #fe0034;
  color: whitesmoke;
}

.sah-dashboard .legend .conditions.poor {
  background: #829eef;
}

.sah-dashboard .legend .conditions.good {
  background: #1b2acb;
  color: whitesmoke;
}

.sah-dashboard .fiveday .day.none,
.sah-dashboard .fiveday .night.none {
  background: #fe0034;
  color: whitesmoke;
}

.sah-dashboard .fiveday .day.poor,
.sah-dashboard .fiveday .night.poor {
  background: #829eef;
}

.sah-dashboard .fiveday .day.good,
.sah-dashboard .fiveday .night.good {
  background: #1b2acb;
  color: whitesmoke;
}

.sah-dashboard .fiveday .nomargin .night {
  margin-top: 0 !important;
}

.sah-dashboard .none .small-font {
  color: #fff;
}

.sah-dashboard .current-fc.none {
  background: #fe0034;
  color: whitesmoke;
}

.sah-dashboard .current-fc.poor {
  background: #829eef;
}

.sah-dashboard .current-fc.good {
  background: #1b2acb;
  color: whitesmoke;
}

.sah-dashboard .fas.fa-snowflake {
  z-index: 100;
  display: inline-block;
  position: absolute;
  top: 0.25em;
  left: 0.25em;
  font-size: 0.75em;
}

/* Nearest metro panel */
.sah-dashboard .nearest-metro-panel {
  color: var(--cdark);
  padding: 0 1.5em 1.5em;
}

.sah-dashboard .nearest-metro-panel .stat-number {
  font-size: 2em;
  font-weight: bold;
  color: var(--c1);
}

.sah-dashboard .nearest-metro-panel .stat-label {
  font-size: 0.8em;
  text-transform: uppercase;
  font-weight: bold;
}

.sah-dashboard .nearestmetro .title {
  margin-bottom: 0;
}

.sah-dashboard .select2-results__option {
  padding: 1px;
}

/* ── Nearest metro visualizations ─────────────────────── */
.sah-dashboard .metro-city-name {
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.25em;
}

.sah-dashboard .metro-total-row {
  text-align: center;
  margin: 1em 0;
}

.sah-dashboard .metro-total-row .stat-number {
  font-size: 2em;
}

.sah-dashboard .metro-total-row .stat-label {
  margin-left: 0.3em;
}

.sah-dashboard .metro-chart-row {
  margin: 1em auto;
  max-width: 900px;
  height: 400px;
}

@media (max-width: 768px) {
  .sah-dashboard .metro-chart-row {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .sah-dashboard .metro-chart-row {
    height: 240px;
  }
}

.sah-dashboard .metro-legend {
  font-size: 0.85em;
}

.sah-dashboard .legend-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 2px;
}
