@font-face {
    font-family: "NutritiusBMIFA";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("font-awesome/webfonts/fa-solid-900.woff2") format("woff2"),
         url("font-awesome/webfonts/fa-solid-900.woff") format("woff");
}

.nt-bmi-widget {
    --primary-color: #11b79b;
    --primary-dark: #0f7a6e;
    --primary-deep: #0b7569;
    --accent-color: #f4e530;
    --text-white: #ffffff;
    --text-dark: #0f2f2f;
    --input-bg: #ececed;
    --muted-text: #8b939a;
    --nt-bmi-container-max-width: 1280px;
    --nt-bmi-step1-radius: 36px;
    --nt-bmi-step23-radius: 40px;
    --nt-bmi-step-panel-height-desktop: 370px;
    --nt-bmi-title-size-desktop: 22px;
    --nt-bmi-subtitle-size-desktop: 16px;
    --nt-bmi-field-height-desktop: 40px;
    --nt-bmi-button-height-desktop: 45px;
    font-family: "Cairo", sans-serif;
    color: var(--text-white);
    width: 100%;
    position: relative;
}

.nt-bmi-widget,
.nt-bmi-widget * {
    box-sizing: border-box;
}

html.nt-bmi-scroll-locked,
body.nt-bmi-scroll-locked {
    overflow: hidden;
    overscroll-behavior: none;
}

body.nt-bmi-scroll-locked {
    touch-action: none;
}

.nt-bmi-widget * {
    outline: none;
}

.nt-bmi-widget h2,
.nt-bmi-widget h3,
.nt-bmi-widget p {
    margin: 0;
}

.nt-bmi-widget img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.nt-bmi-widget button,
.nt-bmi-widget input {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    margin: 0;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
}

.nt-bmi-widget input::placeholder {
    color: inherit;
    opacity: 1;
}

.nt-bmi-widget .nt-bmi-fa {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: "NutritiusBMIFA";
    font-style: normal;
    font-variant: normal;
    font-weight: 900;
    line-height: 1;
    text-rendering: auto;
}

.nt-bmi-widget .nt-bmi-fa-arrow-left::before { content: "\f060"; }
.nt-bmi-widget .nt-bmi-fa-calendar-alt::before { content: "\f073"; }
.nt-bmi-widget .nt-bmi-fa-caret-down::before { content: "\f0d7"; }
.nt-bmi-widget .nt-bmi-fa-female::before { content: "\f182"; }
.nt-bmi-widget .nt-bmi-fa-male::before { content: "\f183"; }
.nt-bmi-widget .nt-bmi-fa-ruler-vertical::before { content: "\f548"; }
.nt-bmi-widget .nt-bmi-fa-times::before { content: "\f00d"; }
.nt-bmi-widget .nt-bmi-fa-weight::before { content: "\f496"; }
.nt-bmi-widget .nt-bmi-fa-weight-hanging::before { content: "\f5cd"; }

.nt-bmi-widget .container {
    width: 100%;
    max-width: var(--nt-bmi-container-max-width);
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.nt-bmi-widget .step {
    display: none;
    animation: ntBmiFadeIn 0.5s ease;
}

.nt-bmi-widget .step.active {
    display: block;
}

@keyframes ntBmiFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nt-bmi-widget .step1 {
    background: radial-gradient(circle at 72% 24%, #3fd8c2 0%, #1dbda5 44%, #0f9e8b 100%);
    border-radius: var(--nt-bmi-step1-radius);
    padding: 28px 28px 20px;
    min-height: 100vh;
}

.nt-bmi-widget .hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 26px;
}

.nt-bmi-widget .hero-form {
    text-align: right;
    max-width: 650px;
    margin-right: auto;
}

.nt-bmi-widget h2 {
    font-size: 2.7rem;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 800;
}

.nt-bmi-widget .subtitle {
    font-size: 1.55rem;
    margin-bottom: 24px;
    opacity: 0.96;
    font-weight: 600;
}

.nt-bmi-widget .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

.nt-bmi-widget .hero-visual img {
    width: 100%;
    max-width: 470px;
    object-fit: contain;
    filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.13));
}

.nt-bmi-widget .step1-form-grid {
    display: grid;
    grid-template-columns: 1fr 180px;
    align-items: start;
    gap: 12px;
    margin-bottom: 14px;
}

.nt-bmi-widget .step1-inputs {
    width: 100%;
}

.nt-bmi-widget .input-group {
    position: relative;
    margin-bottom: 10px;
}

.nt-bmi-widget .input-wrapper {
    background: var(--input-bg);
    border-radius: 16px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    padding: 6px 16px;
    min-height: 58px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nt-bmi-widget .input-wrapper.is-invalid,
.nt-bmi-widget .step2-name-wrap.is-invalid,
.nt-bmi-widget .step2-phone-wrap.is-invalid {
    border-color: #e45454;
    background: #fff5f5;
    box-shadow: 0 0 0 4px rgba(228, 84, 84, 0.16);
}

.nt-bmi-widget .input-wrapper input {
    border: none;
    width: 100%;
    min-height: 46px;
    font-family: "Cairo", sans-serif;
    font-size: 1.16rem;
    background: transparent;
    color: var(--primary-dark);
    text-align: center;
    font-weight: 700;
}

.nt-bmi-widget .input-wrapper input::placeholder {
    color: #b8bcbf;
    font-weight: 500;
}

.nt-bmi-widget .input-label {
    color: #36474f;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 10px;
    font-size: 1.06rem;
}

.nt-bmi-widget .input-icon {
    color: var(--primary-dark);
    font-size: 1.12rem;
    margin-right: 9px;
    display: inline-flex;
}

.nt-bmi-widget .input-unit {
    color: #93989e;
    font-size: 1rem;
    font-weight: 600;
    min-width: 78px;
    text-align: center;
}

.nt-bmi-widget .desktop-gender {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nt-bmi-widget .gender-selector {
    display: flex;
    gap: 12px;
}

.nt-bmi-widget .gender-option {
    flex: 1;
    background: #e7e8ea;
    border: 2px solid transparent;
    border-radius: 16px;
    height: 62px;
    padding: 8px 12px;
    cursor: pointer;
    transition: 0.25s;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #566770;
    font-weight: 800;
    font-size: 1.04rem;
}

.nt-bmi-widget .gender-option.selected {
    background: var(--primary-deep);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.nt-bmi-widget .gender-option.is-invalid {
    border-color: #ffb3b3;
    box-shadow: 0 0 0 3px rgba(228, 84, 84, 0.18);
}

.nt-bmi-widget .gender-option .nt-bmi-fa {
    font-size: 1.45rem;
}

.nt-bmi-widget .btn-primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
    width: 100%;
    min-height: 70px;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 2rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s;
    font-family: "Cairo", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.nt-bmi-widget .btn-primary:active {
    transform: scale(0.98);
}

.nt-bmi-widget .btn-whatsapp {
    background-color: #5fff5c;
    color: #252626;
    box-shadow: none;
    border-bottom: 2px solid #ffffff;
}

.nt-bmi-widget .mobile-gender {
    display: none;
}

.nt-bmi-widget .mobile-title-row,
.nt-bmi-widget .mobile-field-label,
.nt-bmi-widget .mobile-hero-icon {
    display: none;
}

.nt-bmi-widget .title-highlight {
    color: #ffef3e;
}

.nt-bmi-widget .country-select-container {
    position: relative;
    width: 130px;
    height: 100%;
    border-left: 1px solid #eee;
    margin-left: 10px;
}

.nt-bmi-widget .country-selected {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    cursor: pointer;
    direction: ltr;
    font-weight: bold;
    color: var(--text-dark);
    padding: 0 5px;
}

.nt-bmi-widget .country-list {
    position: absolute;
    top: 60px;
    left: 0;
    width: 280px;
    max-height: 250px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: none;
    text-align: right;
}

.nt-bmi-widget .country-list.show {
    display: block;
}

.nt-bmi-widget .country-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.nt-bmi-widget .country-item:hover {
    background-color: #f5f5f5;
}

.nt-bmi-widget .country-item .flag {
    font-size: 1.2rem;
    margin-left: 10px;
}

.nt-bmi-widget .country-item .code {
    direction: ltr;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.nt-bmi-widget .country-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.nt-bmi-widget .country-modal-overlay.show {
    display: flex;
}

.nt-bmi-widget .country-modal {
    width: min(860px, 96vw);
    max-height: min(560px, 86vh);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nt-bmi-widget .country-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #ececec;
}

.nt-bmi-widget .country-modal-title {
    color: #1f2a30;
    font-size: 1rem;
    font-weight: 800;
}

.nt-bmi-widget .country-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f1f2f4;
    color: #6f7780;
    cursor: pointer;
    font-size: 1rem;
}

.nt-bmi-widget .country-modal-search-wrap {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f1f1;
}

.nt-bmi-widget .country-modal-search {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e4e8;
    border-radius: 10px;
    padding: 0 12px;
    font-family: "Cairo", sans-serif;
    font-size: 0.95rem;
    color: #2b2f34;
    background: #ffffff;
}

.nt-bmi-widget .country-modal-list {
    overflow-y: auto;
    padding: 8px 12px 12px;
}

.nt-bmi-widget .country-modal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    color: #2f3338;
}

.nt-bmi-widget .country-modal-item:hover {
    background: #f6f8fa;
}

.nt-bmi-widget .country-modal-item.active {
    background: #efe8cf;
}

.nt-bmi-widget .country-modal-main {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2b3136;
}

.nt-bmi-widget .country-modal-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5b6269;
    font-weight: 600;
    font-size: 0.9rem;
}

.nt-bmi-widget .step2,
.nt-bmi-widget .step3 {
    background: linear-gradient(90deg, #17aa8e 0%, #1dd9b6 100%);
    border-radius: var(--nt-bmi-step23-radius);
}

.nt-bmi-widget .step2 {
    padding: 24px 28px 22px;
    min-height: 370px;
}

.nt-bmi-widget .step2.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nt-bmi-widget .step2-layout {
    display: flex;
    direction: ltr;
    align-items: center;
    justify-content: space-evenly;
    gap: 28px;
    height: 100%;
}

.nt-bmi-widget .step2-form {
    width: 322px;
    max-width: 322px;
    flex: 0 0 322px;
    direction: rtl;
}

.nt-bmi-widget .step2-title {
    color: #ffffff;
    font-size: 16px;
    line-height: 160%;
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px;
}

.nt-bmi-widget .step2-phone-wrap {
    background: #ffffff;
    border-radius: 10px;
    min-height: 45px;
    height: 45px;
    padding: 0 0 0 8px;
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    overflow: visible;
    flex-flow: row-reverse;
}

.nt-bmi-widget .step2-phone-wrap .country-select-container {
    width: 100px;
    min-width: 100px;
    height: 35px;
    margin: 0 5px 0 0;
    border-left: 0;
    border-radius: 7px;
    background: #d2f1ec;
    overflow: hidden;
}

.nt-bmi-widget .step2-phone-wrap .country-selected {
    height: 100%;
    padding: 0 8px;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    color: #252626;
}

.nt-bmi-widget .step2-phone-wrap .country-selected .nt-bmi-fa {
    font-size: 11px;
    color: #5f666b;
}

.nt-bmi-widget .step2-phone-wrap input {
    border: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    text-align: left;
    direction: ltr;
    padding-left: 10px;
    color: #252626;
    font-size: 16px;
    font-family: "Cairo", sans-serif;
    font-weight: 500;
}

.nt-bmi-widget .step2-phone-wrap input::placeholder {
    color: #8b939a;
}

.nt-bmi-widget .step2-name-label {
    color: #ffffff;
    font-size: 16px;
    line-height: 170%;
    font-weight: 500;
    text-align: center;
    margin: 8px 0 8px;
}

.nt-bmi-widget .step2-name-wrap {
    width: 322px;
    min-height: 45px;
    height: 45px;
    border-radius: 10px;
    background: #ffffff;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    padding: 0 12px;
    margin-bottom: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nt-bmi-widget .step2-name-wrap input {
    border: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    color: #252626;
    font-size: 16px;
    font-family: "Cairo", sans-serif;
    text-align: center;
}

.nt-bmi-widget .step2-name-wrap input::placeholder {
    color: #bcc4cb;
}

.nt-bmi-widget .step2-submit {
    width: 322px;
    min-height: 45px;
    height: 45px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 3px 0 #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.nt-bmi-widget .step2-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
}

.nt-bmi-widget .step2-circle {
    width: 185px;
    height: 185px;
    border-radius: 50%;
    background: #117060;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nt-bmi-widget .step2-circle img {
    width: 162px;
    height: 202px;
    object-fit: contain;
}

.nt-bmi-widget .step2-divider {
    width: min(753px, 92%);
    border-top: 1px solid #ffffff;
    margin: 16px auto 0;
}

.nt-bmi-widget .step3 {
    padding: 34px 42px 24px;
    min-height: 370px;
}

.nt-bmi-widget .result-card {
    width: 100%;
    max-width: 980px;
    min-height: 300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    grid-template-rows: auto auto auto;
    column-gap: 42px;
    row-gap: 16px;
    align-items: center;
    direction: ltr;
}

.nt-bmi-widget .result-content {
    grid-column: 1;
    grid-row: 1 / span 3;
    display: grid;
    grid-template-columns: 176px 360px;
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    row-gap: 18px;
    justify-content: center;
    align-content: center;
    direction: rtl;
}

.nt-bmi-widget .result-stats {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 18px;
    width: 552px;
}

.nt-bmi-widget .result-box {
    width: 100%;
    min-height: 86px;
    background: #169580;
    border-bottom: 2px solid #ffffff;
    border-radius: 16px;
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* .nt-bmi-widget .result-box-secondary {
    width: 176px;
} */

.nt-bmi-widget .result-label {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.nt-bmi-widget .result-value-row {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    direction: ltr;
}

.nt-bmi-widget .result-value {
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
    color: #ffef3d;
}

.nt-bmi-widget .result-unit {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    color: #ffef3d;
}

.nt-bmi-widget .result-cta-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 552px;
    flex-direction: row-reverse;
}

.nt-bmi-widget .result-copy {
    max-width: 376px;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 700;
    color: #ffffff;
    text-align: right;
}

.nt-bmi-widget .btn-whatsapp {
    width: 160px;
    min-width: 160px;
    min-height: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 700;
    gap: 8px;
    padding: 6px 14px;
}

.nt-bmi-widget .whatsapp-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex: 0 0 auto;
}

.nt-bmi-widget .result-divider {
    grid-column: 1 / -1;
    width: 100%;
    border-top: 1px solid #ffffff;
    /* margin: 0 auto; */
    margin-top: -64px;
}

.nt-bmi-widget .result-visual {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 280px;
    height: 250px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.nt-bmi-widget .result-visual::before,
.nt-bmi-widget .result-visual::after,
.nt-bmi-widget .result-visual-dot {
    content: none;
    display: none;
}

.nt-bmi-widget .doctor-img {
    position: relative;
    z-index: 1;
    width: 280px;
    height: 250px;
    object-fit: contain;
}

.nt-bmi-widget .loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100002;
}

.nt-bmi-widget .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: ntBmiSpin 1s ease-in-out infinite;
}

@keyframes ntBmiSpin {
    to {
        transform: rotate(360deg);
    }
}

.nt-bmi-widget .loading-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100001;
    display: none;
}

.nt-bmi-widget .loading-overlay.is-visible,
.nt-bmi-widget .loader.is-visible {
    display: block;
}

.nt-bmi-widget .error-msg {
    display: none !important;
}

.nt-bmi-widget .validation-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    width: min(560px, calc(100vw - 32px));
    background: linear-gradient(135deg, rgba(112, 22, 22, 0.97), rgba(181, 54, 54, 0.96));
    color: #fff8f8;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 14px 18px 14px 54px;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.7;
    text-align: right;
    box-shadow: 0 18px 40px rgba(90, 15, 15, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 100003;
    overflow: hidden;
}

.nt-bmi-widget .validation-toast::before {
    content: "!";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    transform: translateY(-50%);
}

.nt-bmi-widget .validation-toast::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 42%);
    pointer-events: none;
}

.nt-bmi-widget .validation-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
    .nt-bmi-widget .container {
        /* max-width: 375px; */
        padding: 16px 0;
    }

    .nt-bmi-widget .step1 {
        /* width: calc(100% - 32px);
        max-width: 343px; */
        min-height: 644px;
        height: auto;
        margin: 0 auto;
        /* border-radius: 24px; */
        border-radius: 0;
        padding: 20px 16px 20px;
        background: #169580;
    }

    .nt-bmi-widget .hero-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .nt-bmi-widget .hero-visual {
        display: none;
    }

    .nt-bmi-widget .hero-form {
        max-width: 100%;
        width: 100%;
        margin: 0;
        height: 100%;
        min-height: 600px;
        display: flex;
        flex-direction: column;
    }

    .nt-bmi-widget .hero-form > h2,
    .nt-bmi-widget .subtitle {
        display: none;
    }

    .nt-bmi-widget .mobile-title-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 14px;
    }

    .nt-bmi-widget .mobile-title-row h2 {
        display: block;
        margin: 0;
        font-size: 18px;
        line-height: 150%;
        font-weight: 700;
        text-align: right;
        color: #ffffff;
    }

    .nt-bmi-widget .mobile-hero-icon {
        display: block;
        font-size: 50px;
        color: #eaf6f3;
        line-height: 1;
        flex-shrink: 0;
    }

    .nt-bmi-widget .desktop-gender {
        display: none;
    }

    .nt-bmi-widget .mobile-gender {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 14px;
    }

    .nt-bmi-widget .step1-form-grid {
        display: block;
        margin-bottom: 0;
    }

    .nt-bmi-widget .mobile-field-label {
        display: block;
        text-align: right;
        color: #ffffff;
        font-size: 16px;
        line-height: 170%;
        font-weight: 500;
        margin: 0 0 6px;
    }

    .nt-bmi-widget .input-group {
        margin-bottom: 12px;
    }

    .nt-bmi-widget .input-wrapper {
        min-height: 40px;
        height: 40px;
        border-radius: 12px;
        padding: 0 12px;
        background: #ffffff;
    }

    .nt-bmi-widget .input-wrapper .input-label,
    .nt-bmi-widget .input-wrapper .input-icon,
    .nt-bmi-widget .input-wrapper .input-unit {
        display: none;
    }

    .nt-bmi-widget .input-wrapper input {
        font-size: 30px;
        line-height: 1;
        font-weight: 500;
        color: #77d6c6;
        text-align: center;
        min-height: unset;
        height: 30px;
    }

    .nt-bmi-widget .gender-option {
        height: 40px;
        border-radius: 12px;
        font-size: 16px;
        line-height: 170%;
        font-weight: 500;
        gap: 8px;
        background: #ffffff;
        color: #9d9ea1;
        border: 1px solid transparent;
    }

    .nt-bmi-widget .gender-option .nt-bmi-fa {
        font-size: 16px;
        color: currentColor;
    }

    .nt-bmi-widget .gender-option.selected {
        background: #0f6658;
        border-color: #ffef3d;
        color: #ffef3d;
    }

    .nt-bmi-widget .btn-primary {
        margin-top: auto;
        min-height: 45px;
        height: 45px;
        border-radius: 15px;
        font-size: 16px;
        line-height: 160%;
        font-weight: 700;
        padding: 8px 14px;
        gap: 8px;
        box-shadow: none;
    }

    .nt-bmi-widget .step2 {
        /* width: calc(100% - 32px);
        max-width: 343px; */
        /* border-radius: 24px; */
        border-radius: 0;
        min-height: 644px;
        margin: 0 auto;
        padding: 20px 16px;
    }

    .nt-bmi-widget .step3 {
        /* width: calc(100% - 32px);
        max-width: 343px; */
        min-height: 644px;
        margin: 0 auto;
        /* border-radius: 24px; */
        border-radius: 0;
        padding: 22px 20px 20px;
        background: #169580;
    }

    .nt-bmi-widget .step2-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        height: 600px;
    }

    .nt-bmi-widget .step2-form {
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
        order: 2;
        display: flex;
        flex-direction: column;
    }

    .nt-bmi-widget .step2-phone-wrap,
    .nt-bmi-widget .step2-submit,
    .nt-bmi-widget .step2-name-wrap {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .nt-bmi-widget .step2-visual {
        order: 1;
        min-height: auto;
        margin-top: 2px;
    }

    .nt-bmi-widget .step2-circle {
        width: 136px;
        height: 136px;
    }

    .nt-bmi-widget .step2-circle img {
        width: 119px;
        height: 148px;
    }

    .nt-bmi-widget .step2-divider {
        display: none;
    }

    .nt-bmi-widget .step2-phone-wrap {
        height: 58px;
        min-height: 58px;
        border-radius: 12px;
        padding-left: 8px;
    }

    .nt-bmi-widget .step2-phone-wrap .country-select-container {
        width: 107px;
        min-width: 107px;
        height: 35px;
        border-radius: 10px;
        margin-right: 10px;
    }

    .nt-bmi-widget .step2-phone-wrap input {
        font-size: 18px;
        padding-left: 6px;
        padding-right: 6px;
        text-align: left;
    }

    .nt-bmi-widget .step2-name-label {
        width: 100%;
        margin: 10px auto 8px;
    }

    .nt-bmi-widget .step2-name-wrap {
        height: 58px;
        min-height: 58px;
        border-radius: 12px;
    }

    .nt-bmi-widget .step2-name-wrap input {
        font-size: 18px;
    }

    .nt-bmi-widget .step2-submit {
        height: 45px;
        min-height: 45px;
        margin-top: auto;
        border-radius: 15px;
        box-shadow: none;
    }

    .nt-bmi-widget .step2-submit .nt-bmi-fa {
        display: none;
    }

    .nt-bmi-widget .result-card {
        max-width: 100%;
        min-height: 602px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        justify-items: center;
        row-gap: 0;
    }

    .nt-bmi-widget .result-visual {
        grid-column: 1;
        grid-row: 1;
        width: 224px;
        height: 238px;
        margin: 0 auto;
    }

    .nt-bmi-widget .doctor-img {
        width: 156px;
        height: 230px;
    }

    .nt-bmi-widget .result-divider {
        grid-column: 1;
        grid-row: 1;
        width: 176px;
        max-width: none;
        margin: 200px auto 0;
    }

    .nt-bmi-widget .result-content {
        width: 100%;
        grid-column: 1;
        grid-row: 2;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        justify-items: center;
        row-gap: 12px;
        padding-top: 20px;
        direction: rtl;
    }

    .nt-bmi-widget .result-stats {
        width: 100%;
        grid-column: 1;
        grid-row: 1 / span 2;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }

    .nt-bmi-widget .result-box {
        width: 100%;
        max-width: 270px;
        min-height: 66px;
        border-radius: 14px;
        padding: 12px 18px 10px;
        flex-direction: row-reverse;
        justify-content: space-between;
        text-align: right;
    }

    .nt-bmi-widget .result-box.result-box-secondary {
        max-width: 236px;
        min-height: 48px;
        padding: 8px 12px;
    }

    .nt-bmi-widget .result-label {
        font-size: 17px;
        margin-bottom: 0;
    }

    .nt-bmi-widget .result-value,
    .nt-bmi-widget .result-box-secondary .result-value {
        font-size: 20px;
    }

    .nt-bmi-widget .result-unit {
        color: #ffffff;
    }

    .nt-bmi-widget .result-copy {
        grid-column: 1;
        grid-row: 3;
        max-width: 250px;
        margin: 0;
        text-align: center;
        font-size: 16px;
        line-height: 1.45;
    }

    .nt-bmi-widget .result-cta-row {
        width: 100%;
        grid-column: 1;
        grid-row: 4;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .nt-bmi-widget .btn-whatsapp {
        width: 100%;
        min-width: 0;
        max-width: 270px;
        min-height: 56px;
        height: 56px;
        border-radius: 16px;
        font-size: 16px;
    }

    .nt-bmi-widget .country-modal {
        width: 100%;
        max-height: 84vh;
        border-radius: 14px;
    }
}

@media (min-width: 901px) {
    .nt-bmi-widget .container {
        max-width: var(--nt-bmi-container-max-width);
    }

    .nt-bmi-widget .step1 {
        min-height: var(--nt-bmi-step-panel-height-desktop);
        height: var(--nt-bmi-step-panel-height-desktop);
        border-radius: var(--nt-bmi-step1-radius);
        padding: 17px 34px 18px;
        overflow: hidden;
    }

    .nt-bmi-widget .hero-layout {
        display: flex;
        direction: ltr;
        align-items: center;
        justify-content: space-evenly;
        gap: 28px;
        height: 100%;
    }

    .nt-bmi-widget .hero-form {
        width: 401px;
        max-width: 401px;
        flex: 0 0 401px;
        margin-right: 0;
        text-align: center;
        direction: rtl;
    }

    .nt-bmi-widget .hero-visual {
        justify-content: flex-end;
        min-height: 0;
        height: 100%;
    }

    .nt-bmi-widget .hero-visual img {
        max-width: min(740px, 100%);
        max-height: 340px;
        width: auto;
        object-fit: contain;
    }

    .nt-bmi-widget h2 {
        font-size: var(--nt-bmi-title-size-desktop);
        line-height: 145%;
        font-weight: 700;
        margin-bottom: 4px;
        text-align: center;
    }

    .nt-bmi-widget .subtitle {
        font-size: var(--nt-bmi-subtitle-size-desktop);
        line-height: 170%;
        font-weight: 500;
        margin-bottom: 14px;
        text-align: center;
    }

    .nt-bmi-widget .step1-form-grid {
        width: 401px;
        margin: 0 auto 10px;
        display: grid;
        direction: ltr;
        grid-template-columns: 280px 111px;
        column-gap: 10px;
        align-items: start;
    }

    .nt-bmi-widget .step1-inputs {
        width: 280px;
        direction: rtl;
    }

    .nt-bmi-widget .input-group {
        margin-bottom: 5px;
    }

    .nt-bmi-widget .input-wrapper {
        min-height: var(--nt-bmi-field-height-desktop);
        height: var(--nt-bmi-field-height-desktop);
        padding: 0 12px;
        border-radius: 12px;
        background: #e8f8f5;
        flex-wrap: nowrap;
    }

    .nt-bmi-widget .step1-inputs .input-wrapper.input-group:first-of-type {
        background: #ffffff;
    }

    .nt-bmi-widget .input-label {
        font-size: 16px;
        line-height: 170%;
        font-weight: 500;
        color: #252626;
        margin-left: 8px;
    }

    .nt-bmi-widget .input-icon {
        color: #117060;
        font-size: 16px;
        margin-right: 6px;
    }

    .nt-bmi-widget .input-wrapper input {
        min-height: 34px;
        font-size: 16px;
        font-weight: 500;
        text-align: left;
        direction: ltr;
        color: #252626;
    }

    .nt-bmi-widget .input-unit {
        min-width: 60px;
        font-size: 14px;
        line-height: 165%;
        font-weight: 500;
        color: #919194;
        text-align: left;
    }

    .nt-bmi-widget .desktop-gender {
        width: 111px;
        gap: 10px;
    }

    .nt-bmi-widget .gender-option {
        width: 111px;
        min-width: 111px;
        height: 60px;
        border-radius: 12px;
        padding: 8px 10px;
        font-size: 16px;
        line-height: 170%;
        font-weight: 500;
        color: #252626;
        border: 1px solid transparent;
        background: #e8f8f5;
    }

    .nt-bmi-widget .gender-option .nt-bmi-fa {
        font-size: 16px;
        color: #117060;
    }

    .nt-bmi-widget .gender-option.selected {
        background: #117363;
        border-color: #ffef3d;
        color: #ffef3d;
    }

    .nt-bmi-widget .gender-option.selected .nt-bmi-fa {
        color: #ffef3d;
    }

    .nt-bmi-widget .btn-primary {
        width: 100%;
        min-height: var(--nt-bmi-button-height-desktop);
        height: var(--nt-bmi-button-height-desktop);
        margin: 0 auto;
        border-radius: 12px;
        box-shadow: 0 3px 0 #ffffff;
        font-size: 16px;
        line-height: 180%;
        font-weight: 700;
        gap: 9px;
        padding: 8px 20px;
    }

    button.btn-primary.btn-whatsapp{
        width: 50%;
    }

    .nt-bmi-widget .step2,
    .nt-bmi-widget .step3 {
        min-height: var(--nt-bmi-step-panel-height-desktop);
    }

    .nt-bmi-widget .step2 {
        border-radius: var(--nt-bmi-step23-radius);
    }

    .nt-bmi-widget .step3 {
        border-radius: var(--nt-bmi-step23-radius);
    }
}
