/**
 * 날씨 상세 예보 페이지 스타일
 *
 * pages/weather.php 에서 사용한다.
 * - 현재 날씨 카드 (대형, 동적 배경)
 * - 오늘/내일~ 시간별 슬롯 가로 스크롤
 * - 일별 예보 카드 (최고/최저, 일출/일몰)
 */

.weather-page .weather-current-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
    transition: background 0.4s ease;
}

/* 시간별 슬롯 가로 스크롤 */
.weather-page .weather-hour-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.weather-page .weather-hour-scroll::-webkit-scrollbar {
    height: 6px;
}

.weather-page .weather-hour-scroll::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.3);
    border-radius: 3px;
}

.weather-page .weather-hour-slot {
    flex: 0 0 88px;
    min-height: 118px;
    border-radius: 12px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.4s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.weather-page .weather-hour-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.weather-page .weather-hour-slot .slot-time {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
}

.weather-page .weather-hour-slot .slot-icon {
    font-size: 1.6rem;
    margin: 4px 0;
    opacity: 0.95;
}

.weather-page .weather-hour-slot .slot-temp {
    font-size: 1rem;
    font-weight: 700;
}

.weather-page .weather-hour-slot .slot-temp small {
    font-size: 0.65rem;
    vertical-align: super;
    margin-left: 1px;
    opacity: 0.8;
}

/* 일별 예보 카드 */
.weather-page .weather-forecast-day {
    background-color: var(--color-bg-card, #fff);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.weather-page .weather-forecast-day:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* 모바일 반응형 */
@media (max-width: 767.98px) {
    .weather-page .weather-hour-slot {
        flex: 0 0 78px;
        min-height: 108px;
    }

    .weather-page .weather-hour-slot .slot-icon {
        font-size: 1.4rem;
    }

    .weather-page .weather-current-card .display-3 {
        font-size: 3rem;
    }

    .weather-page .weather-current-card .display-5 {
        font-size: 2.2rem;
    }
}
