* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #06283D;
    background-image: url('https://images.unsplash.com/photo-1516912481808-3406841bd33c?q=80&w=2544&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    font-family: 'Poppins', sans-serif;
}

.container {
    position: relative;
    width: 400px;
    height: 105px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 28px;
    transition: height 0.6s ease;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.search-box {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.search-box i {
    position: absolute;
    color: #fff;
    font-size: 28px;
    display: none; /* Hide the icon to make space */
}

.search-box select {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 30%;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 5px;
}

.search-box select option {
    background: #06283D;
    color: #fff;
}

.search-box input {
    position: relative;
    width: 60%;
    height: 100%;
    background: transparent;
    padding: 0 10px;
    border: none;
    outline: none;
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.search-box input::placeholder {
    color: #fff;
    text-transform: capitalize;
    font-size: 16px;
}

.search-box button {
    position: relative;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    color: #00d9ff;
}

.weather-box {
    text-align: center;
    margin-top: 40px;
    display: none; /* Hidden by default */
}

.weather-box img {
    width: 60%;
}

.weather-box .temperature {
    position: relative;
    color: #fff;
    font-size: 4rem;
    font-weight: 800;
    margin-top: 30px;
    line-height: 1;
}

.weather-box .temperature span {
    position: absolute;
    margin-left: 4px;
    font-size: 1.5rem;
}

.weather-box .description {
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    text-transform: capitalize;
}

.weather-details {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    display: none; /* Hidden by default */
}

.weather-details .humidity,
.weather-details .wind {
    display: flex;
    align-items: center;
    width: 50%;
    height: 100px;
}

.weather-details .humidity {
    padding-left: 20px;
    justify-content: flex-start;
}

.weather-details .wind {
    padding-right: 20px;
    justify-content: flex-end;
}

.weather-details i {
    color: #fff;
    font-size: 26px;
    margin-right: 10px;
}

.weather-details span {
    color: #fff;
    font-size: 22px;
    font-weight: 500;
}

.weather-details p {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.not-found {
    width: 100%;
    text-align: center;
    margin-top: 50px;
    display: none;
}

.not-found img {
    width: 70%;
}

.not-found p {
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    margin-top: 12px;
}

.fadeIn {
    animation: 0.5s fadeIn forwards;
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    to {
        scale: 1;
        opacity: 1;
    }
}

.back-btn {
    position: fixed;
    top: 25px;
    left: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
