/* =====================================
   ToolNova - Calculadora IMC
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#0f172a;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.container{

    width:100%;
    max-width:650px;

    background:#1e293b;

    border-radius:20px;

    padding:40px;

    box-shadow:0 20px 50px rgba(0,0,0,.35);

}

h1{

    text-align:center;

    color:#fff;

    font-size:34px;

    margin-bottom:10px;

}

p{

    text-align:center;

    color:#94a3b8;

    margin-bottom:30px;

}

label{

    display:block;

    color:white;

    margin-top:20px;

    margin-bottom:8px;

    font-weight:600;

}

input,
select{

    width:100%;

    padding:15px;

    border:none;

    outline:none;

    border-radius:12px;

    background:#0f172a;

    color:white;

    font-size:16px;

}

input::placeholder{

    color:#64748b;

}

button{

    width:100%;

    margin-top:30px;

    padding:16px;

    border:none;

    border-radius:12px;

    cursor:pointer;

    font-size:17px;

    font-weight:600;

    transition:.3s;

}

#calculate{

    background:#3b82f6;

    color:white;

}

#calculate:hover{

    background:#2563eb;

    transform:translateY(-3px);

}

.result{

    margin-top:40px;

    background:#0f172a;

    border-radius:18px;

    padding:30px;

    text-align:center;

}

.result h2{

    color:white;

    margin-bottom:10px;

}

#bmiValue{

    font-size:45px;

    color:#22c55e;

    margin-bottom:10px;

}

#status{

    font-size:18px;

    font-weight:600;

    color:#cbd5e1;

    margin-bottom:20px;

}

.progress{

    width:100%;

    height:15px;

    background:#334155;

    border-radius:20px;

    overflow:hidden;

    margin-bottom:20px;

}

#progressBar{

    width:0%;

    height:100%;

    background:#22c55e;

    transition:.5s;

}

#idealWeight{

    color:#e2e8f0;

    margin-bottom:20px;

}

#copy{

    background:#6366f1;

    color:white;

}

#copy:hover{

    background:#4f46e5;

    transform:translateY(-3px);

}

.history{

    margin-top:40px;

}

.history h2{

    color:white;

    margin-bottom:20px;

}

#historyList{

    list-style:none;

    display:flex;

    flex-direction:column;

    gap:12px;

    max-height:250px;

    overflow-y:auto;

}

#historyList li{

    background:#0f172a;

    padding:15px;

    color:white;

    border-radius:12px;

    border-left:5px solid #3b82f6;

    font-size:15px;

}

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:#475569;

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:transparent;

}

@media(max-width:700px){

.container{

    padding:25px;

}

h1{

    font-size:28px;

}

#bmiValue{

    font-size:38px;

}

button{

    font-size:16px;

}

}