body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.weather-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    width: 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}

h1 {
    margin-top: 0;
    color: #333;
}

.search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#cityInput {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#searchBtn {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#searchBtn:hover {
    background: #5a67d8;
}

.weather-result {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.weather-result h2 {
    margin: 0 0 10px 0;
    color: #333;
}

.weather-result p {
    margin: 5px 0;
    font-size: 18px;
}

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

.error {
    color: red;
    font-weight: bold;
}