/* ===================================
   BMI CALCULATOR SPECIFIC STYLES
   =================================== */

.bmi-inputs .input-group {
    width: 50%;
}

.result-section p {
    margin: 10px 0;
    font-size: 1.1rem;
    color: var(--text-main);
}

.result-section p strong {
    font-size: 1.5rem;
    padding: 0 8px;
    color: var(--primary);
}

.result-section #bmi-category.underweight strong {
    color: #f59e0b;
}
.result-section #bmi-category.normal strong {
    color: #10b981;
}
.result-section #bmi-category.overweight strong {
    color: #ef4444;
}

.bmi-indicator-bar {
    position: relative;
    display: flex;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 25px;
}

.indicator-segment {
    height: 100%;
}

.indicator-segment.underweight {
    background-color: #f59e0b;
    width: 25%;
}
.indicator-segment.normal {
    background-color: #10b981;
    width: 35%;
}
.indicator-segment.overweight {
    background-color: #ef4444;
    width: 40%;
}

.indicator-pointer {
    position: absolute;
    top: -4px;
    left: 0;
    width: 2px;
    height: 20px;
    background-color: var(--text-main);
    transform: translateX(-50%);
    transition: left 0.5s ease;
    border-radius: 2px;
    z-index: 10;
}

.indicator-labels {
    position: relative;
    height: 16px;
    margin: 4px 0;
}
.indicator-labels span {
    position: absolute;
    top: 0;
    font-size: 0.8rem;
    color: var(--text-light);
    transform: translateX(-50%);
}
.indicator-labels span:nth-child(1) {
    left: 25%;
}
.indicator-labels span:nth-child(2) {
    left: 60%;
}

@media (max-width: 480px) {
    .bmi-inputs .input-group {
        width: 100%;
    }
}
