/* 全局样式 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f8ff;
    margin: 0;
    padding: 0;
}

/* 容器 */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* 天气卡片 */
.weather-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px;
    width: 350px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.location {
    font-size: 18px;
    color: #333;
}

.weather-info {
    display: flex;
    align-items: center;
}

.temperature {
    font-size: 48px;
    font-weight: bold;
    color: #ff9900;
    margin-right: 10px;
}

.weather-icon {
    width: 40px;
    height: 40px;
}

.description {
    font-size: 16px;
    color: #333;
}

.details {
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
}

.extra {
    display: flex;
    justify-content: space-between;
}

.forecast {
    font-size: 14px;
    color: #555;
}

.hourly {
    margin-bottom: 20px;
}

.hour {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.day {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-top: 1px solid #eee;
}

h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}
