body {
    background: linear-gradient(120deg, #1e3c72, #2a5298);
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.card {
    width: 350px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #fff;
}

/* Search Section */
.search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.search input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 16px;
    text-align: center;
}

.search input::placeholder {
    color: #ddd;
}

.search button {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.search button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.search button img {
    width: 20px;
}

/* Weather Info */
.weather-icon {
    width: 120px;
    margin-top: 10px;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.2));
}

.weather h1 {
    font-size: 50px;
    margin: 10px 0;
    font-weight: bold;
}

.weather h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 500;
}

.details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.col {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.col img {
    width: 30px;
}

.humidity, .wind {
    font-size: 18px;
    font-weight: 500;
}

/* Error Message */
.error {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    color: rgb(255, 77, 77);
    display: none;
}
