/* VVE Weather radar types, local place label, future chance and notification controls. */
.wx-radar-layer-choice,
.wx-radar-warning-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #bfe6f8;
}
.wx-radar-layer-choice select,
.wx-notify-controls select {
  color: #eafaff;
  background: #0d2943;
  border: 1px solid #94dafba8;
  border-radius: 10px;
  min-height: 42px;
  padding: 0.4rem 0.75rem;
  max-width: 100%;
}
.wx-radar-layer-choice select:focus-visible,
.wx-notify-controls select:focus-visible,
.wx-radar-warning-toggle input:focus-visible {
  outline: 3px solid #ffe391;
  outline-offset: 3px;
}
.wx-radar-warning-toggle {
  padding: 0.4rem 0.65rem;
  border: 1px solid #72b8df57;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
}
.wx-radar-warning-toggle input {
  accent-color: #6ed6ff;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.wx-radar-mode-description {
  margin: 0 0 0.5rem;
  color: #afe0f5;
  font-size: 0.76rem;
}
.wx-radar-future-tools {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 0.55rem 0;
}
.wx-radar-future-tools a {
  color: #92e4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.78rem;
}
.wx-radar-future-tools span {
  font-size: 0.72rem;
  color: #bdd7e6;
}
.wx .wx-radar-future-tools button {
  min-height: 38px;
  padding: 0.45rem 0.7rem;
  font-size: 0.76rem;
}
.wx .wx-radar-future-tools button[aria-pressed="true"] {
  border-color: #a1f1f4;
  color: #fff;
}
.wx-radar-future-panel {
  margin: 0.65rem 0;
  padding: 0.75rem;
  background: linear-gradient(145deg, #061a2b, #103552);
  border: 1px solid #80d8ed69;
  border-radius: 14px;
}
.wx-radar-future-panel[hidden] {
  display: none !important;
}
.wx-future-caption {
  margin: 0.1rem 0 0.55rem;
  font-size: 0.75rem;
  color: #b8ddeb;
  line-height: 1.5;
}
.wx-future-hours {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 0.3rem 0;
}
.wx-future-hour {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 55px;
  gap: 0.32rem;
  font-size: 0.69rem;
  color: #d9f5ff;
}
.wx-future-track {
  display: flex;
  align-items: flex-end;
  width: 28px;
  height: 65px;
  background: #092033;
  border-radius: 6px;
  border: 1px solid #b6efff38;
  overflow: hidden;
}
.wx-future-fill {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #9cf1ff, #258bf6);
  min-height: 0;
  transition: height 0.35s ease;
}
.wx-future-hour strong {
  color: #effbff;
}
.wx-map-place {
  display: inline-flex;
  margin: 0.65rem 0 0.3rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: #cbf2ff;
  font-size: 0.78rem;
  border: 1px solid #77cbf48c;
  background: #123957b8;
}
.wx-notify-controls {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0.55rem 0;
  padding: 0.6rem;
  background: #07233d;
  border: 1px solid #91c9e453;
  border-radius: 12px;
}
.wx-notify-controls label {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  color: #cfefff;
  font-size: 0.74rem;
}
.wx .wx-notify-controls button {
  padding: 0.4rem 0.75rem;
  min-height: 38px;
  font-size: 0.76rem;
}
.wx-notify-controls p {
  flex-basis: 100%;
  margin: 0.15rem 0;
  font-size: 0.71rem;
  color: #b7d5e5;
}
@media (max-width: 700px) {
  .wx-radar-layer-choice {
    width: 100%;
    justify-content: space-between;
  }
  .wx-radar-layer-choice select {
    min-width: 0;
    max-width: 70%;
  }
  .wx-radar-warning-toggle {
    flex: 1;
  }
  .wx-radar-future-tools {
    align-items: flex-start;
  }
  .wx-notify-controls {
    align-items: stretch;
  }
  .wx-notify-controls label {
    width: 100%;
    justify-content: space-between;
  }
  .wx-notify-controls select {
    max-width: 75%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wx-future-fill {
    transition: none;
  }
}

.wx-live-alerts {
  position: fixed;
  top: 90px;
  right: 18px;
  z-index: 15000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: min(370px, calc(100vw - 30px));
  pointer-events: none;
}
.wx-live-alert {
  pointer-events: auto;
  padding: 0.8rem 1rem;
  background: linear-gradient(140deg, #542c38, #172d45);
  border: 2px solid #ffc9a4;
  border-radius: 15px;
  box-shadow:
    0 14px 38px #000b,
    0 0 24px #f46b3e38;
  color: #fff;
}
.wx-live-alert strong {
  font-size: 0.94rem;
  line-height: 1.4;
}
.wx-live-alert p {
  font-size: 0.82rem;
  color: #f6d7ca;
  margin: 0.45rem 0;
}
.wx-live-alert a {
  color: #a5eaff;
  font-size: 0.79rem;
  display: inline-block;
  margin-right: 0.7rem;
  text-decoration: underline;
}
.wx .wx-live-alert button {
  min-height: 34px;
  padding: 0.32rem 0.6rem;
  font-size: 0.75rem;
}
@media (max-width: 700px) {
  .wx-live-alerts {
    top: 12px;
    left: 12px;
    right: 12px;
    width: auto;
  }
}
