*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    min-height:100vh;
    background:linear-gradient(135deg,#0f172a,#1e293b,#334155);
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
    background-image: url(music\ gif\ 1.gif);
}

.container{
    width:100%;
    max-width:1200px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

.card{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:25px;
    padding:30px;
    box-shadow:0 15px 35px rgba(0,0,0,.4);
    color:white;
}

h1,h2{
    text-align:center;
    margin-bottom:20px;
    
}

.form-group{
    margin-bottom:15px;
}

label{
    display:block;
    margin-bottom:5px;
}

input{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    outline:none;
    font-size:16px;
}

button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    background:#00d4ff;
    color:white;
    font-size:17px;
    font-weight:bold;
    transition:.3s;
}

button:hover{
    transform:translateY(-3px);
    background:#00b8de;
}

#resultado{
    margin-top:25px;
    text-align:center;
    padding:20px;
    border-radius:15px;
    font-size:20px;
    font-weight:bold;
}

.bajo{
    background:#3498db;
}

.normal{
    background:#2ecc71;
}

.sobrepeso{
    background:#f39c12;
}

.obesidad{
    background:#e74c3c;
}

table{
    width:100%;
    border-collapse:collapse;
}

th{
    background:#00d4ff;
    color:white;
    padding:12px;
}

td{
    padding:10px;
    text-align:center;
    border-bottom:1px solid rgba(255,255,255,0.15);
}

.titulo-historial{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.btn-borrar{
    width:auto;
    padding:10px 20px;
    background:#e74c3c;
}

.btn-borrar:hover{
    background:#c0392b;
}

@media(max-width:900px){

.container{
    grid-template-columns:1fr;
}

}