#calorie-calculator-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.form-columns {
    display: flex;
    gap: 20px;
}

.form-column {
    flex: 1;
}

#calorie-calculator-form label {
    display: block;
    margin-bottom: 10px;
}

#calorie-calculator-form input,
#calorie-calculator-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#calorie-calculator-form button {
    width: 100%;
    padding: 10px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#calorie-result {
    margin-top: 20px;
    padding: 10px;
    background-color: #e9e9e9;
    border-radius: 4px;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #000;
}

.bmi-visual {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
}

.bmi-bar {
    height: 100%;
    transition: width 0.5s ease;
}

.bmi-reference {
    display: flex;
    width: 100%;
    height: 20px;
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.bmi-range {
    height: 100%;
    text-align: center;
    font-size: 12px;
    color: #000;
    line-height: 20px;
}

.bmi-visual {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
}

.bmi-bar {
    height: 100%;
    transition: width 0.5s ease;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row .form-column {
    flex: 1;
}

#calorie-calculator-form label {
    display: block;
    margin-bottom: 10px;
}

#calorie-calculator-form input,
#calorie-calculator-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#calorie-calculator-form button {
    width: 100%;
    padding: 10px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#calorie-result {
    margin-top: 20px;
    padding: 10px;
    background-color: #e9e9e9;
    border-radius: 4px;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #000;
}