* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, "Microsoft JhengHei", sans-serif;
    background: #f2f6fa;
}

.container {
    width: 90%;
    max-width: 650px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 10px;
}

.description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    cursor: pointer;
    background: #3276c3;
    color: white;
}

button:hover {
    background: #245d9e;
}

#errorMessage {
    color: red;
    text-align: center;
    min-height: 20px;
}

.weather-result {
    margin-top: 30px;
}

.weather-result h2 {
    text-align: center;
}

.weather-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.weather-item {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.weather-item span {
    display: block;
    color: #666;
    margin-bottom: 10px;
}

.weather-item strong {
    font-size: 20px;
}

.reminder {
    margin-top: 20px;
    background: #fff6dd;
    padding: 20px;
    border-radius: 10px;
}

.reminder h3 {
    margin-top: 0;
}

.reminder p {
    margin: 8px 0;
}

.hidden {
    display: none;
}

.demo-note {
    margin-top: 25px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.forecast-time {
    text-align: center;
    color: #666;
    margin-top: -5px;
    margin-bottom: 20px;
    font-size: 15px;
}