@charset "UTF-8";

/* [N-Style 날씨 위젯 공통] */
.n-weather-widget .na-card { 
    position: relative;
    border: 1px solid var(--bs-border-color); 
    border-radius: 12px; 
    background: var(--bs-body-bg); 
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); 
}

/* 상단 그린 포인트 라인 */
.n-weather-widget .na-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 33%; height: 3px;
    background-color: var(--bs-primary);
    z-index: 10;
}

/* 헤더 영역 */
.n-weather-widget .na-sec-head { 
    background: var(--bs-tertiary-bg); 
    border-bottom: 1px solid var(--bs-border-color) !important;
}

/* 지역명 및 아이콘 색상 기본 */
.n-weather-widget .location-text {
    color: var(--bs-secondary-color);
}

/* 예보 비교 배지 */
.n-weather-widget .badge-weather-compare {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
    border: 1px solid var(--bs-border-color);
}

/* 메인 온도 및 텍스트 */
.n-weather-widget .weather-main-icon { font-size: 3rem; line-height: 1; }
.n-weather-widget .weather-temp-text { font-size: 2rem; font-weight: 700; letter-spacing: -1px; color: var(--bs-body-color); }
.n-weather-widget .weather-desc { font-size: 0.9rem; white-space: nowrap; color: var(--bs-secondary-color); }
.n-weather-widget .weather-minmax { font-size: 0.95rem; font-weight: 500; color: var(--bs-body-color); }
.n-weather-widget .weather-finedust { font-size: 0.8rem; color: var(--bs-secondary-color); white-space: nowrap; }

/* 시간대별 예보 */
.n-weather-widget .hourly-forecast { display: flex; justify-content: space-between; text-align: center; position: relative; margin-top: 15px;}
.n-weather-widget .hourly-item { flex: 1; display: flex; flex-direction: column; align-items: center; z-index: 2; }
.n-weather-widget .hourly-time { font-size: 0.85rem; color: var(--bs-secondary-color); font-weight: 500; margin-top: 8px; }
.n-weather-widget .hourly-icon { font-size: 1.2rem; margin: 5px 0; }
.n-weather-widget .hourly-temp { font-size: 0.9rem; font-weight: 600; margin-bottom: 25px; color: var(--bs-body-color); }

/* 달 아이콘 보정 */
.n-weather-widget .bi-moon-stars-fill { color: #5dade2 !important; }

/* 📈 실시간 꺾은선 그래프 (SVG) */
.n-weather-widget .hourly-graph-svg {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
    color: var(--bs-secondary-color);
}

/* 🌙 [다크 모드 가독성 패치] */
[data-bs-theme=dark] .n-weather-widget .location-text,
[data-bs-theme=dark] .n-weather-widget .bi-gear {
    color: #adb5bd !important; /* 흐릿한 지역명과 설정 아이콘을 선명하게 */
}

[data-bs-theme=dark] .n-weather-widget .weather-desc {
    color: #adb5bd !important;
}

[data-bs-theme=dark] .n-weather-widget .hourly-graph-svg {
    opacity: 0.5;
    color: #495057;
}