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

/* Card container */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px 25px;
    width: 350px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    text-align: center;
    color: #fff;
}

/* Search box styling */
.search {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.search input {
    width: 75%;
    padding: 10px 15px;
    border: none;
    border-radius: 10px 0 0 10px;
    outline: none;
    font-size: 16px;
}

.search button {
    padding: 10px 15px;
    border: none;
    background-color: #ff7e5f;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.search button:hover {
    background-color: #feb47b;
}

.search button img {
    width: 20px;
    height: 20px;
}

/* Weather icon */
.weather .weather-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
}

/* Temperature */
.weather .temp {
    font-size: 48px;
    margin: 10px 0;
    font-weight: bold;
}

/* City name */
.weather .city {
    font-size: 24px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Details section */
.details {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 10px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

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

.details .col img {
    width: 35px;
    height: 35px;
}

.details .col p:first-child {
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

.details .col p:last-child {
    font-size: 14px;
    margin: 0;
    color: #ddd;
}
