/* =========================================================
   WEATHER.CSS
   Page-specific layout for Weather Details
   Depends on: ephemeris.css
   ---------------------------------------------------------
   01. Page Shell
   02. Hero Date Control
   03. Observing Outlook Feature Layout
   04. Metric Strip Layout
   05. Hourly Table Layout
   06. Cloud Timeline Layout
   07. Score Breakdown Layout
   08. Weather Responsive Rules
   ========================================================= */

/* =========================================================
   01. PAGE SHELL
   ========================================================= */

.weather-detail-page {
    padding-top: 0;
}

/* =========================================================
   02. HERO DATE CONTROL
   Form visuals come from global app form/button rules.
   ========================================================= */

.weather-date-form {
    margin-top: 16px;
}

.weather-date-form div {
    display: grid;
    grid-template-columns: 1fr 82px;
    gap: 8px;
}

.weather-date-form input,
.weather-date-form button {
    height: 42px;
}

.weather-callout-score {
    margin-top: 18px;
    color: var(--text);
    font-weight: 900;
}

.weather-callout-score strong {
    color: var(--gold);
    font-size: 20px;
}

.weather-callout-score span {
    margin-left: 6px;
}

/* =========================================================
   03. OBSERVING OUTLOOK FEATURE LAYOUT
   Card visuals come from global app-feature-card/weather-decision-card.
   ========================================================= */

.weather-decision-card {
    min-height: 0;
    margin-bottom: 22px;
    padding: 30px 34px 2px;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 270px;
    gap: 30px;
    align-items: start;
}

.weather-decision-icon img {
    width: 190px;
    height: 190px;
    object-fit: contain;
}

.weather-decision-main h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 28px;
}

.weather-decision-main p {
    margin: 0 0 18px;
}

.weather-decision-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* =========================================================
   04. METRIC STRIP LAYOUT
   Tile visuals come from global app-tile aliases.
   ========================================================= */

.weather-card {
    margin-bottom: 22px;
}

.weather-tonight-grid {
    display: grid;
    grid-template-columns: 160px repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.weather-overall-gauge,
.weather-metric-tile {
    padding: 18px;
}

.weather-overall-gauge span,
.weather-metric-tile span {
    display: block;
    margin-bottom: 8px;
}

.weather-overall-gauge strong {
    display: block;
    color: var(--gold);
    font-size: 52px;
    line-height: 1;
}

.weather-overall-gauge em,
.weather-metric-tile em {
    display: block;
    margin-top: 6px;
    color: #aab6c4;
    font-style: normal;
    font-size: 12px;
}

.weather-metric-tile strong {
    color: var(--text);
    font-size: 26px;
}

.weather-section-head > span {
    color: var(--muted);
    font-size: 12px;
}

/* =========================================================
   05. HOURLY TABLE LAYOUT
   Table visuals come from global app-table aliases.
   ========================================================= */

.weather-hour-table td strong {
    color: var(--gold);
}

/* =========================================================
   06. CLOUD TIMELINE LAYOUT
   ========================================================= */

.weather-cloud-chart {
    display: grid;
    grid-template-columns: repeat(12, minmax(42px, 1fr));
    gap: 8px;
    align-items: end;
    min-height: 190px;
}

.weather-cloud-hour {
    display: grid;
    grid-template-rows: 140px 24px;
    gap: 8px;
    transition: opacity 0.15s ease;
}

.weather-cloud-hour.is-dimmed {
    opacity: 0.42;
}

.weather-cloud-stack {
    position: relative;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--panel-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.weather-cloud-stack span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
}

.weather-cloud-low {
    background: rgba(217, 169, 91, 0.72);
}

.weather-cloud-mid {
    background: rgba(143, 58, 58, 0.62);
}

.weather-cloud-high {
    background: rgba(120, 207, 255, 0.46);
}

.weather-cloud-hour strong {
    color: #aab6c4;
    text-align: center;
    font-size: 11px;
}

/* =========================================================
   07. SCORE BREAKDOWN LAYOUT
   Row visuals come from global app-data-row aliases.
   ========================================================= */

.weather-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.weather-factor-list,
.weather-weight-list {
    margin-top: 18px;
}

.weather-weight-list div {
    grid-template-columns: 1fr auto;
}

.weather-factor-row em {
    color: #aab6c4;
    font-style: normal;
    font-size: 12px;
}

.weather-factor-row strong,
.weather-weight-list strong {
    color: var(--gold);
}

/* =========================================================
   08. WEATHER RESPONSIVE RULES
   ========================================================= */

@media (max-width: 1000px) {
    .weather-decision-card,
    .weather-tonight-grid,
    .weather-detail-grid {
        grid-template-columns: 1fr;
    }

    .weather-decision-icon img {
        width: 130px;
        height: 130px;
    }
}

/* =========================================================
   FORECAST DATE CALENDAR
   ========================================================= */

.weather-decision-card {
    grid-template-columns: 180px minmax(0, 1fr) 270px;
}

.weather-date-card {
    align-self: center;
    justify-self: end;
    width: 270px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(4, 10, 18, 0.38);
}

.weather-date-calendar-title {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.weather-date-calendar {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(4, 10, 18, 0.42);
}

.weather-date-calendar-head,
.weather-date-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.weather-date-calendar-head span {
    height: 34px;
    display: grid;
    place-items: center;
    background: rgba(120, 207, 255, 0.18);
    color: #d7eefc;
    font-size: 12px;
    font-weight: 900;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.weather-date-calendar-head span:last-child {
    border-right: 0;
}

.weather-date-calendar-grid a,
.weather-date-calendar-grid span {
    height: 38px;
    display: grid;
    place-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.055);
    color: var(--text);
    font-size: 15px;
    font-weight: 900;
}

.weather-date-calendar-grid a:nth-child(7n),
.weather-date-calendar-grid span:nth-child(7n) {
    border-right: 0;
}

.weather-date-calendar-grid a:hover {
    background: rgba(217, 169, 91, 0.24);
    color: #ffffff;
}

.weather-date-calendar-grid .is-selected {
    background: var(--gold);
    color: #111;
}

.weather-date-calendar-grid .is-today:not(.is-selected) {
    color: var(--gold);
    box-shadow: inset 0 0 0 2px rgba(217, 169, 91, 0.55);
}

.weather-date-calendar-grid .is-disabled {
    color: rgba(196, 206, 216, 0.38);
    background: rgba(255, 255, 255, 0.025);
}

@media (max-width: 1000px) {
    .weather-decision-card {
        grid-template-columns: 1fr;
    }

    .weather-date-card {
        justify-self: start;
        width: 250px;
    }
}

.weather-location-context {
    grid-column: 1 / -1;

    margin-top: 2px;
    padding-top: 12px;

    border-top: 1px solid rgba(255,255,255,0.08);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.weather-location-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.weather-location-main span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.weather-location-main strong {
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.weather-location-main small {
    color: var(--muted-light);
    font-size: 12px;
}

.weather-location-context-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.weather-location-context-actions button {
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(217, 169, 91, 0.28);
    border-radius: 999px;
    background: rgba(7, 20, 32, 0.55);
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.weather-location-context-actions button:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(217, 169, 91, 0.08);
}

@media (max-width: 900px) {
    .weather-location-context {
        flex-direction: column;
        align-items: flex-start;
    }

    .weather-location-context-actions {
        width: 100%;
        margin-left: 0;
    }

    .weather-location-context-actions button {
        flex: 1;
    }
}

.weather-section-note {
    margin: 6px 0 0;
    color: #9fb0c7;
    font-size: 0.9rem;
}

.cloud-legend {
    display: flex;
    gap: 14px;
    align-items: center;
    color: #aebbd0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cloud-key {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
}

.cloud-key.low,
.cloud-bar.low {
    background: #a35b48;
}

.cloud-key.mid,
.cloud-bar.mid {
    background: #8794a8;
}

.cloud-key.high,
.cloud-bar.high {
    background: #4e819b;
}

.readable-cloud-chart {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.cloud-hour-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    padding: 12px;
}

.cloud-hour-time {
    font-weight: 800;
    color: #edf3fb;
    margin-bottom: 8px;
}

.cloud-total {
    font-size: 1.35rem;
    font-weight: 900;
    color: #e2b45d;
    margin-bottom: 10px;
}

.cloud-total span {
    display: block;
    font-size: 0.68rem;
    color: #8ea2bc;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cloud-layer-row {
    display: grid;
    grid-template-columns: 34px 1fr 38px;
    gap: 8px;
    align-items: center;
    margin-top: 7px;
    font-size: 0.72rem;
    color: #b8c5d8;
}

.cloud-layer-row div {
    height: 7px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
    overflow: hidden;
}

.cloud-bar {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.cloud-layer-row strong {
    text-align: right;
    color: #edf3fb;
}

@media (max-width: 900px) {
    .readable-cloud-chart {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .readable-cloud-chart {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   09. RIG-AWARE FORECAST INTELLIGENCE
   ========================================================= */

.weather-intelligence-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 22px;
    margin-bottom: 22px;
}

.weather-rig-card,
.weather-confidence-card {
    min-height: 100%;
}

.weather-rig-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(217, 169, 91, 0.28);
    border-radius: 999px;
    background: rgba(217, 169, 91, 0.08);
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.weather-use-case-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.weather-use-case {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.62);
}

.weather-use-case-symbol {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 950;
}

.weather-use-case strong {
    display: block;
    color: var(--text);
    font-size: 0.98rem;
}

.weather-use-case p {
    margin: 4px 0 0;
    color: #aebbd0;
    font-size: 0.88rem;
    line-height: 1.45;
}

.weather-use-case.is-good .weather-use-case-symbol,
.weather-use-case.is-available .weather-use-case-symbol {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
}

.weather-use-case.is-fair .weather-use-case-symbol {
    background: rgba(250, 204, 21, 0.14);
    color: #fde68a;
}

.weather-use-case.is-poor .weather-use-case-symbol {
    background: rgba(248, 113, 113, 0.14);
    color: #fca5a5;
}

.weather-use-case.is-locked .weather-use-case-symbol {
    background: rgba(148, 163, 184, 0.14);
    color: #cbd5e1;
}

.weather-rig-warning-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.weather-rig-warning {
    padding: 14px;
    border: 1px solid rgba(217, 169, 91, 0.20);
    border-radius: 16px;
    background: rgba(217, 169, 91, 0.07);
}

.weather-rig-warning strong {
    display: block;
    color: var(--gold);
    margin-bottom: 5px;
}

.weather-rig-warning p {
    margin: 0 0 8px;
    color: #d7e1ef;
    font-size: 0.88rem;
}

.weather-rig-warning a,
.weather-question-list a,
.weather-empty-rig-cta a {
    color: var(--gold);
    font-weight: 900;
    text-decoration: none;
}

.weather-rig-warning a:hover,
.weather-question-list a:hover,
.weather-empty-rig-cta a:hover {
    text-decoration: underline;
}

.weather-empty-rig-cta {
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(120, 207, 255, 0.08);
    border: 1px solid rgba(120, 207, 255, 0.18);
}

.weather-confidence-card h2 {
    margin-bottom: 12px;
}

.weather-confidence-card p {
    color: #cbd6e4;
    line-height: 1.5;
}

.weather-confidence-meter {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.16);
    margin-bottom: 14px;
}

.weather-confidence-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.weather-confidence-meter.is-high span {
    width: 88%;
    background: rgba(34, 197, 94, 0.86);
}

.weather-confidence-meter.is-moderate span {
    width: 62%;
    background: rgba(250, 204, 21, 0.86);
}

.weather-confidence-meter.is-low span {
    width: 36%;
    background: rgba(248, 113, 113, 0.86);
}

.weather-confidence-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 16px 0 12px;
    padding: 13px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.weather-confidence-meta strong {
    color: var(--gold);
    font-size: 2rem;
    line-height: 1;
}

.weather-confidence-meta span {
    color: #aebbd0;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.weather-confidence-signals {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.weather-confidence-signals li {
    position: relative;
    padding-left: 18px;
    color: #b8c5d8;
    font-size: 0.88rem;
    line-height: 1.4;
}

.weather-confidence-signals li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.weather-question-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.weather-question-list a {
    display: block;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.62);
    color: #e8eef8;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.weather-question-list a:hover {
    border-color: rgba(217, 169, 91, 0.42);
    background: rgba(217, 169, 91, 0.08);
    color: var(--gold);
    text-decoration: none;
}

.weather-inline-question {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-left: 5px;
    border-radius: 50%;
    border: 1px solid rgba(217, 169, 91, 0.38);
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.weather-inline-question:hover {
    background: rgba(217, 169, 91, 0.12);
}

/* Updated readable cloud card dimming */
.cloud-hour-card {
    transition:
        opacity 0.15s ease,
        transform 0.15s ease,
        border-color 0.15s ease;
}

.cloud-hour-card.is-dimmed {
    opacity: 0.44;
}

.cloud-hour-card:hover {
    transform: translateY(-1px);
    border-color: rgba(217, 169, 91, 0.28);
}

/* The old score-weight card is gone, but keep this harmless in case cached markup exists. */
.weather-weight-list {
    display: none;
}

@media (max-width: 1100px) {
    .weather-intelligence-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .weather-section-head {
        gap: 12px;
        align-items: flex-start;
    }

    .weather-rig-pill {
        white-space: normal;
    }

    .weather-use-case {
        grid-template-columns: 36px minmax(0, 1fr);
    }
}

/* =========================================================
   10. WEATHER INTELLIGENCE PHASE 2 POLISH
   ========================================================= */

.weather-rig-context {
    margin: 4px 0 6px;
    color: #dbe7f6;
    font-size: 0.88rem;
    font-weight: 800;
}

.weather-session-flags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.weather-session-flag {
    min-height: 76px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.62);
}

.weather-session-flag span {
    display: block;
    margin-bottom: 6px;
    color: #8ea2bc;
    font-size: 0.66rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.weather-session-flag strong {
    display: block;
    color: #edf3fb;
    font-size: 0.94rem;
    line-height: 1.25;
}

.weather-session-flag.is-good {
    border-color: rgba(34, 197, 94, 0.30);
    background: rgba(34, 197, 94, 0.08);
}

.weather-session-flag.is-good strong {
    color: #bbf7d0;
}

.weather-session-flag.is-fair,
.weather-session-flag.is-available {
    border-color: rgba(250, 204, 21, 0.26);
    background: rgba(250, 204, 21, 0.07);
}

.weather-session-flag.is-fair strong,
.weather-session-flag.is-available strong {
    color: #fde68a;
}

.weather-session-flag.is-poor,
.weather-session-flag.is-locked {
    border-color: rgba(248, 113, 113, 0.26);
    background: rgba(248, 113, 113, 0.07);
}

.weather-session-flag.is-poor strong,
.weather-session-flag.is-locked strong {
    color: #fecaca;
}

.weather-use-case {
    border-left: 4px solid rgba(148, 163, 184, 0.20);
}

.weather-use-case.is-good,
.weather-use-case.is-available {
    border-color: rgba(34, 197, 94, 0.28);
    border-left-color: rgba(34, 197, 94, 0.76);
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.08), rgba(15, 23, 42, 0.62));
}

.weather-use-case.is-fair {
    border-color: rgba(250, 204, 21, 0.26);
    border-left-color: rgba(250, 204, 21, 0.78);
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.08), rgba(15, 23, 42, 0.62));
}

.weather-use-case.is-poor {
    border-color: rgba(248, 113, 113, 0.28);
    border-left-color: rgba(248, 113, 113, 0.78);
    background: linear-gradient(90deg, rgba(248, 113, 113, 0.08), rgba(15, 23, 42, 0.62));
}

.weather-use-case.is-locked {
    border-color: rgba(148, 163, 184, 0.18);
    border-left-color: rgba(148, 163, 184, 0.46);
}

.weather-use-case-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.weather-use-case-link:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .weather-session-flags {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PHASE 3: Rig selector + cleaner location context
   ========================================================= */

.weather-location-main small {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.weather-location-main small em {
    color: var(--muted-light);
    font-style: normal;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.weather-location-main small b {
    color: #9fb0c7;
    font-size: 12px;
    font-weight: 700;
}

.weather-rig-headline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 10px;
}

.weather-rig-headline h2 {
    margin-bottom: 6px;
}

.weather-change-rig-btn {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(217, 169, 91, 0.38);
    border-radius: 999px;
    background: rgba(7, 20, 32, 0.62);
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.weather-change-rig-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(217, 169, 91, 0.10);
}

.weather-rig-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
}

.weather-rig-modal[aria-hidden="false"] {
    display: block;
}

.weather-rig-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 24, 0.72);
    backdrop-filter: blur(7px);
}

.weather-rig-modal-card {
    position: relative;
    width: min(560px, calc(100% - 32px));
    max-height: 82vh;
    overflow-y: auto;
    margin: 72px auto;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 24px;
    background: rgba(10, 18, 38, 0.97);
    color: #e8eef8;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

.weather-rig-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    border: 0;
    background: transparent;
    color: #dbe4f0;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.weather-rig-modal-header h2 {
    margin: 6px 0 8px;
    font-size: 1.45rem;
}

.weather-rig-modal-header p {
    margin: 0 0 20px;
    color: #9fb0c7;
}

.weather-rig-modal-list {
    display: grid;
    gap: 12px;
}

.weather-rig-modal-option {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.82);
    color: #edf3fb;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.weather-rig-modal-option:hover {
    border-color: rgba(217, 169, 91, 0.62);
    background: rgba(30, 41, 59, 0.92);
    transform: translateY(-1px);
}

.weather-rig-modal-option.is-active {
    border-color: rgba(250, 204, 21, 0.82);
    background: rgba(250, 204, 21, 0.10);
}

.weather-rig-modal-option strong,
.weather-rig-modal-option small {
    display: block;
}

.weather-rig-modal-option strong {
    margin-bottom: 4px;
    color: #fff;
}

.weather-rig-modal-option small {
    color: #9fb0c7;
}

.weather-rig-modal-option em {
    flex: 0 0 auto;
    padding: 4px 8px;
    border: 1px solid rgba(250, 204, 21, 0.45);
    border-radius: 999px;
    color: #facc15;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
}

@media (max-width: 700px) {
    .weather-rig-headline {
        flex-direction: column;
    }

    .weather-change-rig-btn {
        width: 100%;
    }
}
