*{
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}


 body{
    margin:0;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background: linear-gradient(120deg,#0f2027,#203a43,#2c5364);
}


 .card{
    backdrop-filter: blur(18px);
    background: rgba(255,255,255,0.08);
    padding:40px;
    border-radius:22px;
    width:360px;
    text-align:center;
    color:white;
    box-shadow:0 25px 50px rgba(0,0,0,0.35);
    border:1px solid rgba(255,255,255,0.08);
}

.search-box{
    display:flex;
    gap:10px;
}

input{
    flex:1;
    padding:12px;
    border:none;
    border-radius:10px;
    outline:none;
}


button{
    padding:12px 16px;
    border:none;
    border-radius:10px;
    background: linear-gradient(120deg,#00c6ff,#0072ff);
    color:white;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
}

button:hover{
    transform:scale(1.06);
    box-shadow:0 10px 25px rgba(0,0,0,0.25);
}
button:hover{
    transform:scale(1.05);
}

.location-btn{
    margin-top:10px;
    width:100%;
}

.weather img{
    width:80px;
}

.details{
    display:flex;
    justify-content:space-around;
    margin-top:20px;
    font-size:18px;
}

.forecast{
    margin-top:25px;
}

.forecast-container{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:10px 0;
}


.forecast-card{
    background: rgba(255,255,255,0.12);
    padding:10px;
    border-radius:15px;
    min-width:90px;
    box-shadow:0 8px 18px rgba(0,0,0,0.2);
}
.hidden{
    display:none;
}

.error{
    margin-top:15px;
    color:#ffdede;
}