/* /Components/ForecastPanel.razor.rz.scp.css */
/* =========================================================
   FORECAST PANEL
   Designed for:
   - 6 columns on 1080p / large desktop displays
   - Responsive reduction on smaller screens
   ========================================================= */


/* ---------------------------------------------------------
   Overall forecast section

   The width calculation intentionally allows this section
   to grow wider than a constrained parent container.
   --------------------------------------------------------- */

.forecast-section[b-t1eida1gcx] {
  width: min(1800px, calc(100vw - 48px));

  position: relative;
  left: 50%;
  transform: translateX(-50%);

  margin-top: 2rem;
  margin-bottom: 2rem;

  box-sizing: border-box;
}


/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.forecast-header[b-t1eida1gcx] {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  gap: 1rem;

  margin-bottom: 1rem;
}

.forecast-header h2[b-t1eida1gcx] {
  margin: 0.2rem 0 0;

  font-size: 1.7rem;
  line-height: 1.1;
}

.forecast-header p[b-t1eida1gcx] {
  margin: 0;

  color: #64748b;

  font-size: 0.85rem;
  text-align: right;
}

.forecast-eyebrow[b-t1eida1gcx] {
  color: #5eead4;

  text-transform: uppercase;
  letter-spacing: 0.16em;

  font-size: 0.72rem;
  font-weight: 800;
}


/* ---------------------------------------------------------
   Forecast grid

   1920px desktop:
   6 columns x 2 rows for 12 forecast periods.
   --------------------------------------------------------- */

.forecast-grid[b-t1eida1gcx] {
  display: grid;

  grid-template-columns: repeat(6, minmax(0, 1fr));

  gap: 0.85rem;

  width: 100%;
  min-width: 0;
}


/* ---------------------------------------------------------
   Individual forecast cards
   --------------------------------------------------------- */

.forecast-card[b-t1eida1gcx] {
  position: relative;

  min-width: 0;
  min-height: 205px;

  overflow: hidden;

  padding: 1rem;

  box-sizing: border-box;

  border: 1px solid var(--category-border);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      var(--category-background),
      rgba(15, 28, 48, 0.94)
    );

  box-shadow:
    0 8px 28px var(--category-glow);
}


/* Colored bar at top of each card */

.forecast-card[b-t1eida1gcx]::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 4px;

  background: var(--category-color);
}


/* ---------------------------------------------------------
   Forecast time
   --------------------------------------------------------- */

.forecast-time[b-t1eida1gcx] {
  color: #e2e8f0;

  font-size: 0.78rem;
  font-weight: 750;

  white-space: nowrap;
}


/* ---------------------------------------------------------
   Flag label
   --------------------------------------------------------- */

.forecast-flag[b-t1eida1gcx] {
  margin-top: 0.9rem;

  color: var(--category-color);

  font-size: 0.68rem;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 0.1em;

  white-space: nowrap;
}


/* ---------------------------------------------------------
   WBGT value
   --------------------------------------------------------- */

.forecast-value[b-t1eida1gcx] {
  margin-top: 0.2rem;

  color: #ffffff;

  font-size: 2.25rem;
  line-height: 1;

  font-weight: 900;

  letter-spacing: -0.04em;
}


/* ---------------------------------------------------------
   WBGT category
   --------------------------------------------------------- */

.forecast-category[b-t1eida1gcx] {
  margin-top: 0.35rem;

  color: var(--category-color);

  font-size: 0.88rem;
  font-weight: 800;
}


/* ---------------------------------------------------------
   Weather details
   --------------------------------------------------------- */

.forecast-details[b-t1eida1gcx] {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 0.4rem;

  margin-top: 1rem;
}

.forecast-details div[b-t1eida1gcx] {
  min-width: 0;

  padding-top: 0.65rem;

  border-top:
    1px solid rgba(148, 163, 184, 0.16);
}

.forecast-details span[b-t1eida1gcx] {
  display: block;

  color: #64748b;

  font-size: 0.60rem;

  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.forecast-details strong[b-t1eida1gcx] {
  display: block;

  margin-top: 0.15rem;

  color: #e2e8f0;

  font-size: 0.77rem;
  font-weight: 750;

  white-space: nowrap;
}


/* ---------------------------------------------------------
   Forecast disclaimer
   --------------------------------------------------------- */

.forecast-note[b-t1eida1gcx] {
  margin-top: 0.85rem;

  color: #64748b;

  font-size: 0.75rem;
  line-height: 1.5;
}


/* =========================================================
   FLAG / CATEGORY COLORS
   ========================================================= */


/* Green Flag */

.normal[b-t1eida1gcx] {
  --category-color: #22c55e;

  --category-border:
    rgba(34, 197, 94, 0.42);

  --category-background:
    rgba(34, 197, 94, 0.12);

  --category-glow:
    rgba(34, 197, 94, 0.08);
}


/* Yellow Flag */

.caution[b-t1eida1gcx] {
  --category-color: #eab308;

  --category-border:
    rgba(234, 179, 8, 0.42);

  --category-background:
    rgba(234, 179, 8, 0.12);

  --category-glow:
    rgba(234, 179, 8, 0.08);
}


/* Orange Flag */

.extreme-caution[b-t1eida1gcx] {
  --category-color: #f97316;

  --category-border:
    rgba(249, 115, 22, 0.42);

  --category-background:
    rgba(249, 115, 22, 0.12);

  --category-glow:
    rgba(249, 115, 22, 0.08);
}


/* Red Flag */

.danger[b-t1eida1gcx] {
  --category-color: #ef4444;

  --category-border:
    rgba(239, 68, 68, 0.45);

  --category-background:
    rgba(239, 68, 68, 0.14);

  --category-glow:
    rgba(239, 68, 68, 0.10);
}


/* Black / Extreme Danger Flag */

.extreme-danger[b-t1eida1gcx] {
  --category-color: #dc2626;

  --category-border:
    rgba(220, 38, 38, 0.55);

  --category-background:
    rgba(220, 38, 38, 0.18);

  --category-glow:
    rgba(220, 38, 38, 0.14);
}


/* =========================================================
   RESPONSIVE LAYOUT
   ========================================================= */


/* ---------------------------------------------------------
   Large desktop
   Examples:
   1920x1080
   2560x1440

   6 cards per row.
   --------------------------------------------------------- */

@media (min-width: 1600px) {

  .forecast-grid[b-t1eida1gcx] {
    grid-template-columns:
            repeat(6, minmax(0, 1fr));
  }
}


/* ---------------------------------------------------------
   Normal desktop / laptop

   4 cards per row.
   --------------------------------------------------------- */

@media (min-width: 1200px) and (max-width: 1599px) {

  .forecast-section[b-t1eida1gcx] {
    width: min(1500px, calc(100vw - 40px));
  }

  .forecast-grid[b-t1eida1gcx] {
    grid-template-columns:
            repeat(4, minmax(0, 1fr));
  }
}


/* ---------------------------------------------------------
   Smaller laptop / tablet landscape

   3 cards per row.
   --------------------------------------------------------- */

@media (min-width: 850px) and (max-width: 1199px) {

  .forecast-section[b-t1eida1gcx] {
    width: calc(100vw - 32px);
  }

  .forecast-grid[b-t1eida1gcx] {
    grid-template-columns:
            repeat(3, minmax(0, 1fr));
  }
}


/* ---------------------------------------------------------
   Tablet / narrow window

   2 cards per row.
   --------------------------------------------------------- */

@media (min-width: 550px) and (max-width: 849px) {

  .forecast-section[b-t1eida1gcx] {
    width: calc(100vw - 24px);
  }

  .forecast-grid[b-t1eida1gcx] {
    grid-template-columns:
            repeat(2, minmax(0, 1fr));
  }

  .forecast-header[b-t1eida1gcx] {
    align-items: flex-start;
    flex-direction: column;
  }

  .forecast-header p[b-t1eida1gcx] {
    text-align: left;
  }
}


/* ---------------------------------------------------------
   Phone

   1 card per row.
   --------------------------------------------------------- */

@media (max-width: 549px) {

  .forecast-section[b-t1eida1gcx] {
    width: calc(100vw - 20px);
  }

  .forecast-grid[b-t1eida1gcx] {
    grid-template-columns: 1fr;
  }

  .forecast-header[b-t1eida1gcx] {
    align-items: flex-start;
    flex-direction: column;
  }

  .forecast-header p[b-t1eida1gcx] {
    text-align: left;
  }

  .forecast-card[b-t1eida1gcx] {
    min-height: 190px;
  }

  .forecast-details strong[b-t1eida1gcx] {
    font-size: 0.82rem;
  }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.site-shell[b-3xvo6yinj1] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.shell-width[b-3xvo6yinj1] {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

.site-header[b-3xvo6yinj1] {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(8, 17, 31, 0.9);
    backdrop-filter: blur(14px);
}

.header-content[b-3xvo6yinj1] {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark[b-3xvo6yinj1] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.25);
}

.brand-title[b-3xvo6yinj1] {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-subtitle[b-3xvo6yinj1] {
    color: #94a3b8;
    font-size: 0.78rem;
}

.site-main[b-3xvo6yinj1] {
    flex: 1;
    padding-block: 2.5rem 4rem;
}

.site-footer[b-3xvo6yinj1] {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    color: #64748b;
    font-size: 0.78rem;
    padding-block: 1.2rem;
}

.site-footer a[b-3xvo6yinj1] {
    color: #5eead4;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.hero[b-rkmsca39ni] {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
}

.hero h1[b-rkmsca39ni] {
    margin: 0.35rem 0 0.65rem;
    font-size: clamp(2.3rem, 6vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero p[b-rkmsca39ni] {
    width: min(680px, 100%);
    margin: 0 auto;
    color: #94a3b8;
    line-height: 1.7;
}

.eyebrow[b-rkmsca39ni] {
    color: #5eead4;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 800;
}

.search-panel[b-rkmsca39ni] {
    padding: 1.25rem;
    margin-bottom: 1.2rem;
}

.search-row[b-rkmsca39ni] {
    display: flex;
    align-items: end;
    gap: 1rem;
}

.field-group[b-rkmsca39ni] {
    flex: 1;
    display: grid;
    gap: 0.45rem;
}

.field-group label[b-rkmsca39ni] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #cbd5e1;
}

.text-input[b-rkmsca39ni] {
    width: 100%;
    min-height: 48px;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 0 0.9rem;
    color: #f8fafc;
    background: #0f1c30;
    font: inherit;
}

.text-input:focus[b-rkmsca39ni] {
    outline: 2px solid rgba(45, 212, 191, 0.5);
    outline-offset: 1px;
    border-color: #2dd4bf;
}

.primary-button[b-rkmsca39ni] {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    padding: 0 1.3rem;
    font: inherit;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #0d9488, #0891b2);
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(8, 145, 178, 0.22);
}

.primary-button:disabled[b-rkmsca39ni] {
    opacity: 0.6;
    cursor: wait;
}

.alert[b-rkmsca39ni] {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 1.2rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
}

.error-alert[b-rkmsca39ni] {
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(127, 29, 29, 0.22);
    color: #fecaca;
}

.loading-state[b-rkmsca39ni] {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #94a3b8;
}

.spinner[b-rkmsca39ni] {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(94, 234, 212, 0.2);
    border-top-color: #5eead4;
    border-radius: 50%;
    animation: spin-b-rkmsca39ni 0.8s linear infinite;
}

.results-header[b-rkmsca39ni] {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0 1rem;
}

.results-header h2[b-rkmsca39ni] {
    margin: 0.25rem 0 0;
    font-size: 1.7rem;
}

.results-header p[b-rkmsca39ni],
.timestamp[b-rkmsca39ni] {
    color: #64748b;
    margin: 0.25rem 0 0;
}

.timestamp[b-rkmsca39ni] {
    text-align: right;
    font-size: 0.82rem;
}

.timestamp strong[b-rkmsca39ni] {
    color: #cbd5e1;
}

.empty-state[b-rkmsca39ni] {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
}

.empty-state h2[b-rkmsca39ni] {
    color: #e2e8f0;
    margin-bottom: 0.2rem;
}

.empty-state p[b-rkmsca39ni] {
    margin-top: 0.2rem;
}

.empty-icon[b-rkmsca39ni] {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #5eead4;
    background: rgba(20, 184, 166, 0.1);
    font-size: 0.9rem;
    font-weight: 900;
}

.validation-message[b-rkmsca39ni] {
    color: #fca5a5;
    font-size: 0.78rem;
}

@keyframes spin-b-rkmsca39ni {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .search-row[b-rkmsca39ni],
    .results-header[b-rkmsca39ni] {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button[b-rkmsca39ni] {
        width: 100%;
    }

    .timestamp[b-rkmsca39ni] {
        text-align: left;
    }
}

.location-divider[b-rkmsca39ni] {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: #64748b;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.location-divider[b-rkmsca39ni]::before,
.location-divider[b-rkmsca39ni]::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #334155;
}

.coordinate-preview[b-rkmsca39ni] {
  color: #64748b;
  font-size: 0.75rem;
  font-family: monospace;
}
/* /Components/WbgtPanel.razor.rz.scp.css */
.wbgt-panel[b-q5c2pv4jv2] {
    margin-top: 1rem;
    padding: 1.35rem;
    border-color: rgba(148, 163, 184, 0.2);
    overflow: hidden;
}

.wbgt-panel[b-q5c2pv4jv2]::before {
    content: "";
    display: block;
    height: 5px;
    margin: -1.35rem -1.35rem 1.35rem;
    background: var(--category-color, #14b8a6);
}

.wbgt-summary[b-q5c2pv4jv2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.flag[b-q5c2pv4jv2] {
    color: var(--category-color, #5eead4);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 900;
}

.wbgt-summary h2[b-q5c2pv4jv2] {
    margin: 0.25rem 0;
    font-size: 2rem;
}

.wbgt-summary p[b-q5c2pv4jv2] {
    max-width: 660px;
    color: #94a3b8;
    line-height: 1.6;
}

.wbgt-value[b-q5c2pv4jv2] {
    flex: 0 0 auto;
    min-width: 210px;
    text-align: right;
}

.wbgt-value span[b-q5c2pv4jv2],
.details-grid span[b-q5c2pv4jv2] {
    display: block;
    color: #94a3b8;
    font-size: 0.76rem;
}

.wbgt-value strong[b-q5c2pv4jv2] {
    display: block;
    font-size: 3rem;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.wbgt-value small[b-q5c2pv4jv2] {
    color: #94a3b8;
}

.details-grid[b-q5c2pv4jv2] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.details-grid > div[b-q5c2pv4jv2] {
    padding: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    background: rgba(15, 28, 48, 0.55);
}

.details-grid strong[b-q5c2pv4jv2] {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.94rem;
    line-height: 1.4;
}

.guidance[b-q5c2pv4jv2] {
    margin-top: 1.2rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(15, 28, 48, 0.55);
}

.guidance h3[b-q5c2pv4jv2] {
    margin: 0 0 0.55rem;
    font-size: 1rem;
}

.guidance ul[b-q5c2pv4jv2] {
    margin: 0;
    padding-left: 1.2rem;
    color: #cbd5e1;
    line-height: 1.65;
}

.model-note[b-q5c2pv4jv2] {
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.6;
}

.normal[b-q5c2pv4jv2] { --category-color: #22c55e; }
.caution[b-q5c2pv4jv2] { --category-color: #eab308; }
.extreme-caution[b-q5c2pv4jv2] { --category-color: #f97316; }
.danger[b-q5c2pv4jv2] { --category-color: #ef4444; }
.extreme-danger[b-q5c2pv4jv2] { --category-color: #dc2626; }

@media (max-width: 820px) {
    .wbgt-summary[b-q5c2pv4jv2] {
        align-items: flex-start;
        flex-direction: column;
    }

    .wbgt-value[b-q5c2pv4jv2] {
        text-align: left;
    }

    .details-grid[b-q5c2pv4jv2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .details-grid[b-q5c2pv4jv2] { grid-template-columns: 1fr; }
    .wbgt-value strong[b-q5c2pv4jv2] { font-size: 2.5rem; }
}
/* /Components/WeatherMetrics.razor.rz.scp.css */
.metric-grid[b-295g39mc8i] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.metric-card[b-295g39mc8i] {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.metric-card span[b-295g39mc8i] {
    color: #94a3b8;
    font-size: 0.77rem;
    line-height: 1.35;
}

.metric-card strong[b-295g39mc8i] {
    margin-top: 0.35rem;
    font-size: 1.35rem;
    line-height: 1.2;
}

.metric-card small[b-295g39mc8i] {
    margin-top: 0.35rem;
    color: #64748b;
}

@media (max-width: 900px) {
    .metric-grid[b-295g39mc8i] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .metric-grid[b-295g39mc8i] { grid-template-columns: 1fr; }
}
