.compare-hero{
height:400px;
background:linear-gradient(135deg,#111827,#2563eb);
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
color:white;
text-align:center;
}

.compare-wrapper{
padding:80px 20px;
max-width:1000px;
margin:auto;
}

.selectors{
display:flex;
gap:20px;
justify-content:center;
margin-bottom:40px;
}

select{
padding:14px;
border-radius:10px;
border:1px solid #ddd;
min-width:250px;
font-size:15px;
transition:.3s;
}

select:focus{
border-color:#2563eb;
box-shadow:0 0 0 3px rgba(37,99,235,.2);
}

/* TABLE */

.compare-table{
background:white;
border-radius:16px;
overflow:hidden;
box-shadow:0 25px 60px rgba(0,0,0,.15);
transition:.4s;
}

.compare-table.animate{
transform:scale(1.02);
}

table{
width:100%;
border-collapse:collapse;
}

th{
background:#111827;
color:white;
padding:15px;
}

td{
padding:15px;
text-align:center;
border-bottom:1px solid #eee;
}

tr:hover{
background:#f9fafb;
}

/* BEST */

.best{
background:#22c55e;
color:white;
font-weight:bold;
border-radius:6px;
}

/* RESPONSIVE */

@media(max-width:768px){
.selectors{
flex-direction:column;
align-items:center;
}
}




.score-box, .ai-box{
margin-top:30px;
padding:25px;
background:linear-gradient(135deg,#1e293b,#2563eb);
color:white;
border-radius:15px;
text-align:center;
box-shadow:0 20px 50px rgba(0,0,0,.2);
animation:fadeUp .6s ease;
}

.ai-box{
background:linear-gradient(135deg,#065f46,#22c55e);
}

#radarChart{
margin-top:40px;
background:white;
border-radius:15px;
padding:20px;
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/* animation */

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(20px);
}
to{
opacity:1;
transform:translateY(0);
}
}






.filters{
display:flex;
gap:15px;
justify-content:center;
margin:30px 0;
flex-wrap:wrap;
}

button{
background:#2563eb;
color:white;
border:none;
padding:12px 20px;
border-radius:8px;
cursor:pointer;
transition:.3s;

}

button:hover{
transform:scale(1.05);
}



.manual-box{
display:none;
margin-top:20px;
padding:20px;
background:#f1f5f9;
border-radius:12px;
}

.manual-box input{
margin:5px;
padding:10px;
border-radius:8px;
border:1px solid #ccc;
}

/* center the manual comparison button */
#manualBtn{
    display:inline-block;
    margin:20px auto;
    padding:12px 20px;
    border-radius:8px;
    background:#2563eb;
    color:#fff;
    cursor:pointer;
    transition:transform .18s ease;
}

#manualBtn:hover{transform:scale(1.05)}


.filter-Price{
    display:flex;
    align-items:center;
    padding:6px 10px; /* keep inner padding smaller so input matches selects */
    border-radius:10px;
    border:1px solid #ddd;
    min-width:250px;
    font-size:15px;
    transition:.3s;
    background: #fff;
}

.filter-Price:focus-within{
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.12);
}

.filter-Price input{
    border: none;
    width:100%;
    padding:10px 8px;
    font-size:15px;
    background:transparent;
    outline:none;
    color:#111;
}
