.healtha-bmi-wrap {
    max-width: 520px;
    margin: 0 auto;
    font-family: 'BPG Arial', Arial, sans-serif;
    color: #1a1a2e;
}

.healtha-bmi-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 28px;
}

.healtha-bmi-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 120px;
}

.healtha-bmi-field label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
}

.healtha-bmi-field input {
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.healtha-bmi-field input:focus {
    border-color: #4caf7d;
}

.healtha-bmi-btn {
    padding: 11px 28px;
    background: #4caf7d;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.healtha-bmi-btn:hover {
    background: #3d9469;
}

/* Gauge */
.healtha-bmi-gauge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.healtha-bmi-gauge {
    width: 100%;
    max-width: 360px;
    overflow: visible;
}

/* BMI value below gauge */
.healtha-bmi-value-display {
    font-size: 52px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    line-height: 1;
    margin-bottom: 8px;
}

/* Category */
.healtha-bmi-category {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    padding: 8px 20px;
    border-radius: 8px;
}

.category-underweight { background: #dbeafe; color: #1e40af; }
.category-normal      { background: #dcfce7; color: #166534; }
.category-overweight  { background: #fef9c3; color: #854d0e; }
.category-obese1      { background: #ffedd5; color: #9a3412; }
.category-obese2      { background: #fee2e2; color: #991b1b; }
.category-obese3      { background: #fecaca; color: #7f1d1d; }

/* Details */
.healtha-bmi-details {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.healtha-bmi-details strong {
    color: #1a1a2e;
}

/* Share buttons */
.healtha-bmi-share-btns {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    margin-bottom: 20px;
}

.healtha-bmi-share-btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.healtha-bmi-fb-btn   { background: #1877f2; color: #fff; }
.healtha-bmi-fb-btn:hover { background: #1465d8; }
.healtha-bmi-copy-btn { background: #2d3a5e; color: #fff; }
.healtha-bmi-copy-btn:hover { background: #1e2840; }
.healtha-bmi-copy-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Legend */
.healtha-bmi-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 16px;
}

.legend-item {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.legend-item.underweight { background: #dbeafe; color: #1e40af; }
.legend-item.normal      { background: #dcfce7; color: #166534; }
.legend-item.overweight  { background: #fef9c3; color: #854d0e; }
.legend-item.obese1      { background: #ffedd5; color: #9a3412; }
.legend-item.obese2      { background: #fee2e2; color: #991b1b; }

/* Disclaimer */
.healtha-bmi-disclaimer {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 10px;
}

/* Result block */
.healtha-bmi-result {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 440px) {
    .healtha-bmi-share-btns { flex-direction: column; }
}
