.bmi-calculator-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: "Montserrat", Sans-serif;
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    align-items: flex-start;
}

.bmi-calculator-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    flex: 1;
    min-width: 300px;
        height: 475px;
}


.bmi-title {
    margin: 0 0 10px 0;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    color: #00B3A7;
}

.bmi-description {
    text-align: left;
    margin: 0 0 25px 0;
    font-size: 17px;
    font-weight: 400;
    line-height: 31px;
    color: #666666;
}
.bmi-input-group {
    margin-bottom: 20px;
}

.bmi-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #666666;
    font-size: 14px;
}

.bmi-input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e5ec;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.bmi-input-group input:focus {
    outline: none;
    border-color: #00b4a7;
    box-shadow: 0 0 0 3px #00b4a842;
}

.bmi-input-group input::placeholder {
    color: #bdc3c7;
}

/* Hide number input spinners */
.bmi-input-group input[type="number"]::-webkit-outer-spin-button,
.bmi-input-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bmi-input-group input[type="number"] {
    -moz-appearance: textfield;
}

.bmi-calculate-button {
    width: 100%;
    padding: 16px;
    background: #00b4a7;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 10px;
}

.bmi-calculate-button:hover {
    background: linear-gradient(135deg, #00b4a7 0%, #01645d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.35);
}

.bmi-calculate-button:active {
    transform: translateY(0);
}

/* Right Column */
.bmi-right-column {
    flex: 1;
    min-width: 280px;
}

/* Result Container */
.bmi-result-container {
    padding: 25px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bmi-result {
    margin-bottom: 15px;
}

.bmi-result-label {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    color: #00B3A7;
}

.bmi-result-value {
    font-size: 48px;
    font-weight: 700;
    display: block;
}

.bmi-category {
    font-size: 20px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 15px;
}

.bmi-info {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

/* Category Colors */
.bmi-underweight {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
}

.bmi-normal {
    color: #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
}

.bmi-overweight {
    color: #f39c12;
    background-color: rgba(243, 156, 18, 0.1);
}

.bmi-obese1 {
    color: #e67e22;
    background-color: rgba(230, 126, 34, 0.1);
}

.bmi-obese2 {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.bmi-obese3 {
    color: #c0392b;
    background-color: rgba(192, 57, 43, 0.1);
}

/* Result value colors (text only) */
span.bmi-result-value.bmi-underweight,
span.bmi-result-value.bmi-normal,
span.bmi-result-value.bmi-overweight,
span.bmi-result-value.bmi-obese1,
span.bmi-result-value.bmi-obese2,
span.bmi-result-value.bmi-obese3 {
    background: transparent;
}

/* BMI Table */
.bmi-table-container {
    min-width: 280px;
    margin-top: 0;
}

.bmi-table-container h4 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 16px;
}

.bmi-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    border-width: 0px;
    height: 475px;
}

.bmi-table thead {
    background: #ffffff;
    color: #00b4a7;
    font-weight: 400;
}

.bmi-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #00b4a7;
}

.bmi-table tbody tr {
    background: #fff;
    transition: all 0.3s ease;
}

.bmi-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.bmi-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #ecf0f1;
    font-size: 15px;
    font-weight: 400;
    line-height: 31px;
    color: #666666;
}

.bmi-table tbody tr.highlighted {
    background: #fff3cd;
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bmi-table tbody tr.highlighted td {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .bmi-calculator-container {
        flex-direction: column;
        max-width: 500px;
    }
    
    .bmi-right-column {
        width: 100%;
    }
    
    .bmi-table-container {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bmi-calculator-container {
        padding: 15px;
    }
    
    .bmi-calculator-form {
        padding: 20px;
    }
    
    .bmi-title {
        font-size: 20px;
    }
    
    .bmi-result-value {
        font-size: 36px;
    }
    
    .bmi-category {
        font-size: 16px;
    }
}

/* BMI Links Section */
.bmi-links-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e5ec;
    text-align: left;
}

.bmi-links-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.5;
}

.bmi-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.bmi-link-tag {
    display: inline-block;
    padding: 8px 12px;
    background: #00b4a7;
    color: #ffffff;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}
.bmi-link-tag:hover {
    background: #00b4a7;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 167, 0.3);
}

.bmi-link-tag:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .bmi-link-tag {
        font-size: 12px;
        padding: 8px 14px;
    }
}
