/******************************************************************
  BMI Calculator — Result Box + Table Highlight CSS
  Matches theme: #01b1f3 blue, dark panels, Oswald/Muli fonts
******************************************************************/

/* Sex dropdown to match existing input styling */
.chart-calculate-form select#bmiSex {
    font-size: 14px;
    color: #c4c4c4;
    width: 100%;
    height: 50px;
    border: 1px solid #363636;
    padding-left: 20px;
    padding-right: 5px;
    background: transparent;
    margin-bottom: 20px;
}

.chart-calculate-form select#bmiSex option {
    background: #151515;
    color: #c4c4c4;
}

/* Error message */
.bmi-error {
    display: none;
    color: #ff5c5c;
    font-size: 13px;
    margin-top: -10px;
}

.bmi-error.show {
    display: block;
}

/* Result Box */
.bmi-result {
    display: none;
    margin-top: 30px;
    background: #0a0a0a;
    border: 1px solid #363636;
    padding: 30px 25px;
    align-items: center;
    gap: 30px;
}

.bmi-result.show {
    display: flex;
}

.bmi-result-value h3 {
    font-size: 44px;
    color: #01b1f3;
    font-weight: 700;
    margin-bottom: 4px;
}

.bmi-result-label {
    font-size: 12px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bmi-result-status {
    border-left: 1px solid #262626;
    padding-left: 25px;
}

.bmi-result-status span {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.bmi-result-status p {
    font-size: 13px;
    color: #c4c4c4;
    margin-bottom: 0;
    line-height: 20px;
}

/* Status colors */
.bmi-status-underweight {
    color: #3ea6ff;
}

.bmi-status-healthy {
    color: #2ecc71;
}

.bmi-status-overweight {
    color: #f0a500;
}

.bmi-status-obese {
    color: #ff5c5c;
}

/* Highlighted table row matching the result */
#bmiChartBody tr {
    transition: background 0.3s, color 0.3s;
}

#bmiChartBody tr.bmi-row-active {
    background: #01b1f3;
}

#bmiChartBody tr.bmi-row-active td {
    color: #ffffff !important;
    font-weight: 700;
}

/*---------------------
  Responsive
-----------------------*/

@media only screen and (max-width: 767px) {
    .bmi-result {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .bmi-result-status {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #262626;
        padding-top: 15px;
    }
}