/**
 * 충주시 날씨 위젯 스타일
 */

.wc-weather-widget {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    max-width: 350px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 20px 0;
}

.wc-weather-widget.wc-style-default {
    /* 기본 스타일 */
}

.wc-weather-loading {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.wc-weather-error {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    text-align: center;
}

.wc-weather-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wc-weather-header {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.wc-weather-city {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    opacity: 0.95;
}

.wc-weather-date {
    font-size: 14px;
    opacity: 0.8;
}

.wc-weather-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.wc-weather-icon {
    width: 80px;
    height: 80px;
}

.wc-weather-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wc-weather-temp {
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
}

.wc-weather-temp-unit {
    font-size: 24px;
    vertical-align: super;
    margin-left: 2px;
}

.wc-weather-description {
    font-size: 16px;
    text-transform: capitalize;
    margin: 10px 0;
    text-align: center;
    opacity: 0.95;
}

.wc-weather-details {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.wc-weather-detail-item {
    text-align: center;
    flex: 1;
}

.wc-weather-detail-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wc-weather-detail-value {
    font-size: 18px;
    font-weight: 600;
}

.wc-weather-feels-like {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 5px;
}

/* 반응형 디자인 */
@media (max-width: 480px) {
    .wc-weather-widget {
        max-width: 100%;
        padding: 15px;
    }
    
    .wc-weather-temp {
        font-size: 36px;
    }
    
    .wc-weather-icon {
        width: 60px;
        height: 60px;
    }
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    .wc-weather-widget {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

