.unit-toggle{
    display:flex;
    background:#E6F0EE;
    border-radius:14px;
    padding:5px;
    margin-bottom:25px;
}

.unit-toggle button{
    flex:1;
    padding:12px;
    border:none;
    background:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
    color:#365951;
}

.unit-toggle button.active{
    background:#007f5f;
    color:#ffffff;
}

.input-group{
    margin-bottom:20px;
}

.result-box{
    margin-top:25px;
    background:#F2F7F6;
    border-radius:25px;
    padding:25px;
}

.bmi-value{
    font-size:60px;
    font-weight:bold;
    color:#007f5f;
}

.status{
    margin-top:12px;
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:#007f5f;
    color:#ffffff;
    font-weight:bold;
}

.progress-bar{
    width:100%;
    height:18px;
    background:#dce8e5;
    border-radius:50px;
    overflow:hidden;
    margin-top:25px;
}

.progress{
    width:0%;
    height:100%;
    background:linear-gradient(to right,#55a630,#007f5f);
    transition:1s;
}

.dashboard{
    display:grid;
    gap:25px;
}

.summary-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:18px;
}

.summary-card{
    background:#ffffff;
    border-radius:22px;
    padding:20px;
    box-shadow:0 8px 20px rgba(0,0,0,0.05);
}

.summary-card p{
    color:#365951;
    margin-bottom:10px;
    font-size:14px;
}

.summary-card div{
    font-size:24px;
    font-weight:bold;
    color:#007f5f;
}

.analytics{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
}

.card{
    background:#ffffff;
    border-radius:25px;
    padding:25px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

.card-title{
    font-size:18px;
    font-weight:bold;
    margin-bottom:18px;
    color:#007f5f;
}

.metric{
    font-size:34px;
    font-weight:bold;
}

.small-text{
    margin-top:10px;
    line-height:1.7;
    color:#365951;
}

.chart-container{
    position:relative;
    height:300px;
}

.goal-box{
    margin-top:15px;
    background:#E6F0EE;
    padding:16px;
    border-radius:18px;
    line-height:1.7;
    color:#365951;
}

.tips{
    margin-top:15px;
    padding-left:20px;
    line-height:1.9;
    color:#365951;
}

.footer-note{
    margin-top:20px;
    font-size:13px;
    line-height:1.7;
    color:#365951;
}