/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
.ho-bmi-wrapper{max-width:680px;margin:1.5rem auto;padding:1.5rem;background:#ffffff;border:1px solid #d9e2ec;border-radius:10px;box-shadow:0 4px 12px rgba(16,42,67,0.06);font-family:inherit;color:#102a43;}.ho-bmi-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid #e6edf3;}.ho-bmi-tabs{display:inline-flex;background:#f0f4f8;padding:4px;border-radius:8px;}.ho-bmi-tab{border:none;background:transparent;padding:0.5rem 1rem;font-size:0.9rem;font-weight:600;color:#486581;border-radius:6px;cursor:pointer;transition:all 0.2s ease;}.ho-bmi-tab.active{background:#0f62fe;color:#ffffff;box-shadow:0 1px 3px rgba(0,0,0,0.15);}.ho-bmi-standard{display:flex;align-items:center;gap:0.5rem;font-size:0.9rem;font-weight:600;}.ho-bmi-standard select{padding:0.45rem 0.65rem;border:1px solid #bcccdc;border-radius:6px;background:#fff;color:#102a43;font-size:0.9rem;}.ho-bmi-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}.ho-bmi-field-group{display:grid;grid-template-columns:1fr 1fr;gap:0.75rem;}.ho-bmi-field{display:flex;flex-direction:column;}.ho-bmi-field label{font-size:0.9rem;font-weight:600;margin-bottom:0.4rem;color:#334e68;}.ho-bmi-field input{padding:0.65rem 0.75rem;font-size:1rem;border:1px solid #bcccdc;border-radius:6px;width:100%;box-sizing:border-box;}.ho-bmi-field input:focus{outline:none;border-color:#0f62fe;box-shadow:0 0 0 3px rgba(15,98,254,0.15);}.ho-hidden{display:none !important;}.ho-bmi-error{color:#d64545;font-size:0.9rem;font-weight:600;margin-top:0.75rem;min-height:1.2rem;}.ho-bmi-actions{display:flex;gap:0.75rem;margin-top:1rem;}.ho-bmi-btn-primary,.ho-bmi-btn-secondary{padding:0.7rem 1.4rem;font-size:1rem;font-weight:600;border-radius:6px;cursor:pointer;border:none;transition:background 0.2s ease;}.ho-bmi-btn-primary{background:#0f62fe;color:#ffffff;flex:1;}.ho-bmi-btn-primary:hover{background:#0353e9;}.ho-bmi-btn-secondary{background:#e6edf3;color:#334e68;}.ho-bmi-btn-secondary:hover{background:#d9e2ec;}.ho-bmi-result{margin-top:1.5rem;padding-top:1.5rem;border-top:2px dashed #d9e2ec;}.ho-bmi-score-box{text-align:center;margin-bottom:1.25rem;}.ho-bmi-score-label{font-size:0.9rem;text-transform:uppercase;letter-spacing:0.05em;color:#627d98;font-weight:700;}.ho-bmi-score-value{font-size:2.4rem;font-weight:800;color:#102a43;line-height:1.2;margin:0.25rem 0;}.ho-bmi-score-value small{font-size:1rem;font-weight:500;color:#627d98;}.ho-bmi-badge{display:inline-block;padding:0.35rem 1rem;border-radius:999px;font-weight:700;font-size:0.95rem;color:#fff;}.ho-cat-underweight{background-color:#2b8cbe;}.ho-cat-normal{background-color:#2e8540;}.ho-cat-overweight{background-color:#e69f00;color:#102a43;}.ho-cat-obese1{background-color:#d95f02;}.ho-cat-obese2{background-color:#c92a2a;}.ho-bmi-gauge-wrap{margin:1.25rem 0;}.ho-bmi-gauge-bar{position:relative;height:14px;border-radius:7px;background:linear-gradient(90deg,#2b8cbe 0%,#2e8540 25%,#e69f00 50%,#d95f02 72%,#c92a2a 100%);}.ho-bmi-marker{position:absolute;top:-5px;width:4px;height:24px;background:#102a43;border:2px solid #ffffff;border-radius:3px;transform:translateX(-50%);transition:left 0.4s ease;}.ho-bmi-gauge-labels{display:flex;justify-content:space-between;font-size:0.78rem;color:#627d98;margin-top:0.35rem;font-weight:600;}.ho-bmi-details{background:#f8fafc;padding:1rem;border-radius:8px;border-left:4px solid #0f62fe;font-size:0.95rem;}.ho-bmi-details p{margin:0.35rem 0;}.ho-bmi-advice-text{color:#486581;}@media (max-width:560px){.ho-bmi-grid{grid-template-columns:1fr;}}
