@font-face {
    font-family: "Proxima Nova";
    src: url('/wp-content/themes/new-landing/assets/fonts/ProximaNova-Regular.woff2') format("woff2");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Proxima Nova";
    src: url('/wp-content/themes/new-landing/assets/fonts/proximanova_bold.woff2') format("woff2");
    font-weight: 500;
    font-style: normal;
}


@font-face {
    font-family: "Proxima Nova";
    src: url("/wp-content/themes/new-landing/assets/fonts/ProximaNova/ProximaNovaBold.woff2") format("woff2"), url("/wp-content/themes/new-landing/assets/fonts/ProximaNova/ProximaNovaBold..woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/new-landing/assets/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/new-landing/assets/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/new-landing/assets/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/new-landing/assets/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }





.nd-modal-digest {
    display: none;
}
.nd-modal-digest.nd-modal-digest--show {
    display: flex;

    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
}
.nd-modal-digest {
    position: fixed;
    justify-content: center;
    align-items: center;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.nd-modal-digest .inner {
    position: relative;
    display: flex;
    max-width: 800px;
    max-height: 361px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 8px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: #FFF;
    border-radius: 15px;
    box-shadow: 0px 67px 19px 0px rgba(0, 0, 0, 0.00), 0px 43px 17px 0px rgba(0, 0, 0, 0.01), 0px 24px 14px 0px rgba(0, 0, 0, 0.03), 0px 11px 11px 0px rgba(0, 0, 0, 0.05), 0px 3px 6px 0px rgba(0, 0, 0, 0.06);
}


.nd-modal-digest .inner-left {
    outline: none;
    background-image: url('/wp-content/themes/new-landing/template-parts/digest-modal/Illustration bg (1).png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}
.nd-modal-digest .inner-left img {

}
.nd-modal-digest .inner-right {
    justify-content: flex-start;
    padding: 30px 39px 5px;
}

.nd-modal-digest .inner-right .nd-digest-step {
    display: none;
    flex-direction: column;
    height: 100%;
}

.nd-modal-digest .inner-right .nd-digest-step.nd-digest-step--active {
    display: flex;
}

.nd-auth-back-step {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    top: 8px;
    left: 16px;
    font-size: 14px;
    color: #B7BDCE;
    text-align: center;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
}

.first-step .nd-auth-back-step {
    display: none;
}



.nd-auth-back-step:hover,
.nd-auth-back-step:hover path {
    color: rgba(183, 189, 206, 0.3);
    fill: rgba(183, 189, 206, 0.3);
}




.nd-modal-digest h3 {
    margin-bottom: 12px;
    color: var(--Black, #444);
    text-align: center;
    font-family: "Montserrat";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.nd-modal-digest p {

    color: var(--Black, #444);
    text-align: center;
    font-family: "Montserrat";
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}
#digest-step-1 p {

}

.nd-modal-digest .nd-digest-input__wrapp {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 25px;
}
.nd-modal-digest input[type="text"].nd-digest-input {
    display: flex;
    max-width: 320px;
    width: 100%;
    padding: 14px 10px;

    align-items: center;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid rgba(183, 189, 206, 0.70);
    background: #FFF;
    color: var(--black, #444);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}
.nd-modal-digest input[type="text"].nd-digest-input:active {
    outline: inherit;
    border: 1px solid rgba(183, 189, 206, 0.70);
}

.nd-modal-digest .nd-digest-input:focus-visible {
    outline: inherit;
    border: 1px solid rgba(183, 189, 206, 0.70);
}


.nd-modal-digest .nd-digest-input-error {
    position: absolute;
    top: calc(100% + 4px);
    color: var(--red, #E24242);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Proxima Nova";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    width: 100%;
    text-align: start;
}
.nd-modal-digest .nd-digest-error {
    margin-top: 8px;
    color: var(--red, #E24242);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;

    /* Descriptor small */
    font-family: "Proxima Nova";
    font-size: 12px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 14px; /* 116.667% */
}


.nd-digest-input__wrapp.nd-digest-input--empty::before {
    background-image: url("/wp-content/themes/new-landing/template-parts/digest-modal/radiobtn-empty.svg");
    position: absolute;
    content: "";
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
}
.nd-digest-input__wrapp.nd-digest-input--error::before {
    background-image: url("/wp-content/themes/new-landing/template-parts/digest-modal/radiobtn-false.svg");
    position: absolute;
    content: "";
    right: 15px;
    top:50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
}

.nd-digest-input__wrapp.nd-digest-input--success::before {
    background-image: url("/wp-content/themes/new-landing/template-parts/digest-modal/radiobtn-done.svg");
    position: absolute;
    content: "";
    right: 15px;
    top:50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;

}


.nd-modal-digest .nd-button.nd-button-empty {
    color: #444;
    background-color: #fff;
    border: 1px solid #b7bdce;
}




.code-loader {
    display: flex;
    justify-content: center;
}

.code-loader svg {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    display: block;
    animation: rotation 1s infinite linear;
}

@keyframes rotation {
    100% {
        transform: rotate(360deg);
    }
}

.code-loader path {

}

.nd-modal-digest .nd-button {
    margin-top: 8px;
    padding: 15px 0;
    max-width: 320px;
    border: none;
    color: #FFF;

    text-align: center;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;

}
.nd-modal-digest .nd-button:disabled {

}




.nd-modal-digest #get-digest-code.nd-button  {
    margin-top: auto;
}


#digest-step-3 {
    justify-content: center;
}
#digest-step-3 img {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto;
}

#digest-step-3 h3{
    margin: 24px 0 12px;
}


.nd-modal-digest .close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 24px;
    height: 24px;
    z-index: 1;
    cursor: pointer;
}


.nd-modal-digest .close:hover path {
    fill: rgba(183, 189, 206, 0.3);
}

#digest-step-2 .nd-digest-inputs {
    display: flex;
    gap: 8px;
    flex-direction: column;
    justify-content: center;
    /* margin-top: 46px; */
}
#digest-step-2 .nd-digest-input__wrapp {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    width: 100%;
}
#digest-step-2 .nd-digest-input {
    display: flex;
    width: 37px;
    height: 47px;
    padding: 14px 10px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid rgba(183, 189, 206, 0.70);
    background: #FFF;
    color: var(--Black, #444);
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
p.code-count {
    margin-top: auto;
    color: var(--Black, #444);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Proxima Nova";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
}
.nd-digest-info-repeat-code {

    display: none;
    padding: 12px 16px;
    align-items: flex-start;
    gap: 6px;
    border-radius: 16px;
    background: rgba(183, 189, 206, 0.08);
    margin-top: auto;

    color: var(--black, #444);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Proxima Nova";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 125%;
}
.nd-digest-info-repeat-code svg {
    display: flex;
    flex: 0 0 auto;
    max-width: 100%;
    height: auto;
}
.nd-digest-info-repeat-code p {
    color: var(--black, #444);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Proxima Nova";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px; /* 15px */
}
#nd-digest-new-code {
    display: none;
}

@media (width < 500px) {
    .nd-modal-digest .inner {
        flex-direction: column-reverse;
        max-height: 586px;
        gap: 16px;
        width: 95%;
    }
    .nd-modal-digest .inner-right {
        padding: 20px 10px 0;
    }
    .nd-modal-digest .inner-left {
        width: 100%;
    }

    .nd-modal-digest .nd-digest-input__wrapp {
        margin-top: 10px;
    }
}