/* Trip Weather Module */
/* Gemini: created 2025-12-30 - Weather widget for trip pages */

.trip-weather {
    border: 1px solid var(--accent);
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    max-width: 360px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.trip-weather .tw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.trip-weather .tw-kicker {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trip-weather .tw-location {
    font-size: 16px;
    font-weight: 600;
    margin-top: 4px;
}

.trip-weather .tw-updated {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.trip-weather .tw-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.trip-weather .tw-icon {
    display: none;
    /* toggled on when an icon is available */
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
}

.trip-weather .tw-temp {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.trip-weather .tw-summary {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.trip-weather .tw-details {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.trip-weather .tw-error {
    display: none;
    margin-top: 10px;
    font-size: 13px;
    color: #b91c1c;
    /* allowed hardcoded danger color */
}