body {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

#weather-container {
    background: rgba(255, 255, 255, 0.15);
    max-width: 400px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: #ffffff;
}

h2, label, p {
    margin: 8px 0;
    color: #ffffff;
}

input {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: none;
    outline: none;
    margin-top: 15px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

button {
    background: #ffffff;
    color: #2575fc;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 20px;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
}

button:hover {
    background: #e0e0e0;
    color: #6a11cb;
}

#temp-div p {
    font-size: 60px;
    margin-top: -20px;
    font-weight: bold;
}

#weather-info {
    font-size: 20px;
    font-weight: 500;
}

#weather-icon {
    width: 180px;
    height: 180px;
    margin-bottom: 0;
    display: none;
}

#hourly-forecast {
    margin-top: 40px;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    justify-content: start;
    gap: 12px;
    padding-bottom: 10px;
}

.hourly-item {
    flex: 0 0 auto;
    width: 80px;
    padding: 10px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    backdrop-filter: blur(5px);
    font-weight: 500;
}

.hourly-item img {
    width: 35px;
    height: 35px;
    margin-bottom: 5px;
}

#hourly-heading {
    color: #ffffff;
    margin-top: 20px;
    font-size: 22px;
}
