

/* for frontend interface */

/* Wrapper */
.bmi-wrapper{
    max-width:550px;
    margin:40px auto;
    background:#fff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

/* Heading */
.bmi-wrapper h2{
    text-align:center;
    margin-bottom:25px;
}

/* Labels */
.bmi-wrapper label{
    display:block;
    font-weight:600;
    margin-bottom:6px;
}

/* Input */
.bmi-wrapper input,
.bmi-wrapper select{
    width:100%;
    padding:10px;
    border:1px solid #ddd;
    border-radius:5px;
    box-sizing:border-box;
}

/* Button */
.bmi-wrapper button{
    width:100%;
    background:#2271b1;
    color:#fff;
    border:none;
    padding:12px;
    border-radius:5px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

.bmi-wrapper button:hover{
    background:#135e96;
}

/* Success */
.bmi-success{
    max-width:550px;
    margin:20px auto;
    background:#d1f7d6;
    padding:15px;
    border-left:5px solid #46b450;
    border-radius:6px;
}

/* Result */
.bmi-result{
    max-width:550px;
    margin:20px auto;
    background:#fff;
    padding:20px;
    border-radius:8px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.bmi-result h3{
    margin-top:0;
}

/* Badge */
.normal,
.underweight,
.overweight,
.obese{
    color:#fff;
    padding:5px 12px;
    border-radius:30px;
    font-size:14px;
}

.normal{
    background:#46b450;
}

.underweight{
    background:#2196f3;
}

.overweight{
    background:#ff9800;
}

.obese{
    background:#d63638;
}

.bmi-success{
    display:flex;
    align-items:center;
    gap:10px;
}