.simple-page {
    color: var(--otp-black-color);
    background-color: var(--otp-bg-color);
    height: 100vh;
}

.ws-otp-modal .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    text-decoration: none;
}
.otp-wrapper{
    position: relative;
    padding: 100px 0;
}
.otp-wrapper .bg-element-after{
    content:"";
    background: url(img/shap.png) no-repeat;
    width: 235px;
    height: 171px;
    background-size: contain;
    background-position: left top;
    transform: scale(-1);
    position: absolute;
    top: 0;
    left: 0;
}
.otp-wrapper .bg-element-before{
    content:"";
    background: url(img/shap.png) no-repeat;
    width: 294px;
    height: 264px;
    background-size: contain;
    background-position: left top;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-294px);
}
.otp-wrapper .return-link.btn{
    color: var(--otp-main-color);
}
.img-wrapper{
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.white-box{
    /*background: var(--otp-white-color);*/
    /*border-radius: 24px;*/
    padding: 24px;
    /*height: 100%;*/
    position: relative;
    min-height: 478px;
}

.white-box .logo{
    margin-bottom: 72px;
    max-height: 100px;
    width: auto;
}
.white-box .foot{
    position: absolute;
    left: 16px;
    bottom: 16px;
}
.white-box .title{
    font-size: 24px;
    line-height: normal;
    font-weight: 500;
    color: var(--otp-gray-color);
    margin-bottom: 0;
    text-align: center;
}
.white-box .title span:first-child{
    color: var(--otp-main-color);
}
.white-box .title span:last-child{
    color: var(--otp-black-color);
}
.white-box .title.otp-title-combined{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.white-box .title.otp-title-combined span:first-child{
    color: var(--otp-black-color);
}
.white-box .title.otp-title-combined span:last-child{
    color: var(--otp-main-color);
}
.white-box .title.otp-title-combined .otp-title-divider{
    color: var(--otp-gray-color);
}
.white-box .subtitle{
    font-size: 16px;
    letter-spacing: 60%;
    line-height: normal;
    font-weight: 500;
    color: var(--otp-black-color-20);
    margin-bottom: 40px;
    text-align: center;
}
.white-box .head-otp-box .subtitle{
    margin-bottom: 0;
}

.otp-box-p{
    font-size: 16px;
    line-height: normal;
    font-weight: 500;
    color: var(--otp-black-color-70);
    margin-bottom: 8px;
}
.otp-completion-title{
    margin: 0 0 24px;
    color: var(--otp-black-color);
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    text-align: right;
}

.btn.btn-edit{
    padding: 0 16px;
    font-size: 12px;
    margin: 0 auto 5px 0;
    height: auto;
    color: var(--otp-sec-color);
}

/*.white-box .bg_svg{*/
/*    position: relative;*/
/*    margin: 0 calc(var(--bs-gutter-x) * -0.5);*/
/*}*/
.white-box .bg_svg .shape-unit {
    filter: url(#smooth-join2);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 310px;
    z-index: -1;
    height: 100%;
}
.white-box .bg_svg.bg2 .shape-unit{
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    left: 12px;
    top: 12px;
}
.white-box .bg_svg .rect {
    position: absolute;
    background: var(--otp-gray-color);
}
.white-box .bg_svg.bg2 .rect{
    background: var(--otp-white-color);
}
.white-box .bg_svg .rect1 {
    width: 50%;
    height: 85px;
    right: 0;
    bottom: 15px;
    border-radius: 0 0 32px 32px;
    z-index: 2;
}
.white-box .bg_svg .rect2 {
    width: 100%;
    height: calc(100% - 85px);
    border-radius:32px;
    right: 0;
    top: 0;
    z-index: 1;
}

.white-box .bg_svg.bg2 .rect1{
    width: calc(50% - 12px);
}



















/*.form-input-box{*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    position: relative;*/
/*}*/
/*.form-input-box label{*/
/*    width: 160px;*/
/*    height: 40px;*/
/*    background: var(--otp-white-color);*/
/*    border-radius: 8px;*/
/*    border: 1px solid #EAEAEA;*/
/*    font-size: 16px;*/
/*    font-weight: 400;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    z-index: 2;*/
/*}*/
/*.form-input-box:before{*/
/*    content: "";*/
/*    width: 42px;*/
/*    height: 56px;*/
/*    border-radius: 8px;*/
/*    background: var(--otp-main-color);*/
/*    opacity: 0.1;*/
/*    z-index: 1;*/
/*    position: absolute;*/
/*    top: -8px;*/
/*    right: 146px;*/
/*}*/
/*.form-input-box .input-box > svg path:not([fill=white]){*/
/*    fill: var(--otp-main-color);*/
/*    opacity: 0.5;*/
/*}*/

/*#otp-step-register .form-input-box:nth-child(2n+1) .input-box > svg path:not([fill=white]){*/
/*    fill: var(--otp-sec-color);*/
/*}*/

/*#otp-step-login .form-input-box:nth-child(2n) .input-box > svg path:not([fill=white]){*/
/*    fill: var(--otp-sec-color);*/
/*}*/

/*#otp-step-register .form-input-box:nth-child(2n):before{*/
/*    background: var(--otp-sec-color);*/
/*}*/

/*#otp-step-login .form-input-box:nth-child(2n+1):before{*/
/*    background: var(--otp-sec-color);*/
/*}*/

/*#otp-reset-pass .form-input-box:before{*/
/*    background: var(--otp-sec-color);*/
/*}*/

.form-input-box .input-box{
    width: 100%;
    height: 56px;
    position: relative;
    margin-bottom: 16px;
    /*    padding: 4px;*/
    /*    width: calc(100% - 176px);*/
    /*    height: 40px;*/
    /*    background: var(--otp-white-color);*/
    /*    border-radius: 8px;*/
    /*    border: 1px solid #EAEAEA;*/
    /*    display: flex;*/
    /*    align-items: center;*/
    /*    gap: 8px;*/
    /*    !*justify-content: space-between;*!*/
    /*    z-index: 2;*/
}

.form-input-box .input-box > svg{
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
}
.form-input-box .otp-input{
    width: 100%;
    height: 56px;
    background: var(--otp-sec-color-5);
    border-radius: 32px;
    border: 1px solid var(--otp-sec-color-5);
    outline: none;
    text-align: center;
    padding: 0 48px 0 24px;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.form-input-box .otp-input:focus-visible,
.form-input-box .otp-input:focus{
    box-shadow: 0 0 18px 0 var(--otp-sec-color-20);
    border-color: var(--otp-sec-color-30);
}

.form-input-box .otp-input.invalid{
    border-color: #C71D1C;
    background: color-mix(in srgb, #C71D1C 6%, var(--otp-sec-color-5));
}
.form-input-box .otp-input.invalid:focus-visible,
.form-input-box .otp-input.invalid:focus{
    box-shadow: 0 0 18px 0 rgba(199, 29, 28, 0.2);
    border-color: #C71D1C;
}

.form-input-box .otp-input::placeholder{
    text-align: right;
    font-size: 16px;
    font-weight: 400;
    color: var(--otp-black-color-70);
}
.form-input-box .input-box .btn-show-pass{
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    outline: none;
    --bs-btn-active-border-color: transparent;
}
.form-input-box .input-box .btn-show-pass svg{

}
.form-input-box .input-box .btn-show-pass:before{
    content: "";
    width: 24px;
    height: 1px;
    background: var(--otp-sec-color);
    box-shadow: 1px 1px 0 0 var(--otp-sec-color-10);
    position: absolute;
    transform: rotate(-45deg);
}
.form-input-box .input-box .btn-show-pass.btn.show{
    border: 0;
    border-color: transparent;
}
.form-input-box .input-box .btn-show-pass.show:before{
    opacity: 0;
}

.otp-btn-loading{
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.otp-btn-loading *{
    visibility: hidden;
}
.otp-btn-loading::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    animation: otp-btn-spin 0.7s linear infinite;
}
@keyframes otp-btn-spin{
    to { transform: rotate(360deg); }
}

.white-box .btn-primary{
    --bs-btn-bg: var(--otp-main-color);
    --bs-btn-border-color: var(--otp-main-color);
    --bs-btn-hover-bg: var(--otp-main-color);
    --bs-btn-hover-border-color: var(--otp-main-color);
    --bs-btn-active-bg: var(--otp-main-color);
    --bs-btn-active-border-color: var(--otp-main-color);
    --bs-btn-disabled-bg: var(--otp-main-color);
    --bs-btn-disabled-border-color: var(--otp-main-color);
    --bs-btn-color: var(--otp-white-color);
    --bs-btn-hover-color: var(--otp-white-color);
    --bs-btn-active-color: var(--otp-white-color);
    --bs-btn-disabled-color: var(--otp-white-color);
    height: 56px;
    border-radius: var(--btn-radius, 100px);
    max-width: 45%;
    position: absolute;
    bottom: 13px;
    left: 10px;
    margin: 0;
}
.white-box .btn-primary.otp-action-btn{
    direction: ltr;
    gap: 5px;
    padding: 14px 24px;
    color: var(--otp-white-color);
    overflow: visible;
}
.otp-action-btn .otp-btn-arrow{
    display: inline-flex;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    transition: transform .25s ease;
}
.otp-action-btn:not(:disabled):hover .otp-btn-arrow{
    transform: rotate(45deg);
}
.otp-action-btn .otp-btn-arrow svg{
    display: block;
}
.otp-action-btn .otp-btn-label{
    direction: rtl;
    white-space: nowrap;
}
.otp-foot{
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 30px 0 20px 0;
    width: 40%;
    position: absolute;
    right: 34px;
    bottom: 34px;
}
.otp-foot span{
    font-size: 16px;
    font-weight: 300;
    line-height: 32px;
    /*color: var(--otp-black-color-70);*/
}

.otp-foot .btn{
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 28px;
    color: var(--otp-main-color);
    position: relative;
    min-width: auto;
    height: auto;
}
.otp-foot .btn em{
    font-style: normal;
}
.otp-foot .btn.resend > span:before,
.otp-foot .btn:not(.resend):before{
    content: "";
    width: 100%;
    height: 1px;
    background: var(--otp-main-color);
    position: absolute;
    right: 0;
    bottom: -2px;
}
.otp-foot .btn.resend > span{
    font-size: 14px;
    font-weight: 500;
    width: max-content;
    display: inline-block;
    position: relative;
}
.otp-foot .btn.resend em,
.otp-foot .btn.resend{
    font-size: 14px;
    font-weight: 500;
    width: max-content;
}
.alert{
    padding: 0;
    margin: 0;
    color: #C71D1C;
    font-size: 12px;
    font-weight: 500;
}
/*.otp-foot.top{*/
/*    margin-right: auto;*/
/*    width: max-content;*/
/*    margin-top: -30px;*/
/*}*/
/*.otp-foot.top .btn{*/
/*    color: var(--otp-sec-color);*/
/*}*/
/*.otp-foot.top .btn:before{*/
/*    background: var(--otp-sec-color);*/
/*}*/
.otp-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: 56px;
    background: var(--otp-sec-color-5);
    border-radius: 32px;
    border: 1px solid var(--otp-sec-color-5);
    outline: none;
    text-align: center;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    overflow: hidden;
    letter-spacing: 45px;
}

.otp-inputs .otp-field{
    width: 84px;
    height: 50px;
    background: var(--otp-sec-color-5);
    /*border-radius: 16px;*/
    border: 0;
    /*font-size: 48px;*/
    /*font-weight: 400;*/
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    text-align: center;
}
.otp-inputs .otp-field:focus-visible,
.otp-inputs .otp-field:active{
    border-color: var(--otp-main-color);
}

.white-box .btn-success{
    --bs-btn-color: var(--otp-sec-color);
    --bs-btn-bg: var(--otp-sec-color-10);
    --bs-btn-border-color: var(--otp-sec-color-50);
    --bs-btn-hover-color: var(--otp-white-color);
    --bs-btn-hover-bg: var(--otp-sec-color);
    --bs-btn-hover-border-color: var(--otp-sec-color);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: var(--otp-white-color);
    --bs-btn-active-bg: var(--otp-sec-color);
    --bs-btn-active-border-color: var(--otp-sec-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--otp-sec-color-30);
    --bs-btn-disabled-bg: var(--otp-sec-color-10);
    --bs-btn-disabled-border-color: var(--otp-sec-color-50);
    font-size: 20px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 16px;
    gap: 8px;
}
.white-box .btn-success em{
    font-style: normal;
    font-size: 14px;
    font-weight: 300;
}
.white-box .btn-success.disabled em{
    color: var(--bs-btn-color);
}
@media (max-width: 767px) {
    .otp-wrapper .inner-wrapper{
        flex-direction: column-reverse;
    }
    .img-wrapper,
    .otp-wrapper .bg-element-before{
        display: none;
    }
    .white-box .foot{
        left: 0;
        bottom: 0;
        position: relative;
        display: block;
        margin: 50px auto 0;
    }
    .img-wrapper{
        padding: 0;
    }
}
@media (max-width: 480px){
    .white-box .logo{
        margin: 0 auto 20px;
        display: block;
    }
    .form-input-box label{
        width: 100%;
        padding-right: 8px;
        justify-content: start;
    }
    .form-input-box .input-box{
        width: 100%;
    }
    .form-input-box:before{
        height: calc(100% + 16px);
        right: 12px;
    }

    .otp-foot{
        align-items: start;
        flex-direction: column;
    }

    .otp-foot.top{
        flex-direction: row;
        align-items: center;
    }
    .otp-foot span{
        font-size: 14px;
    }
}
/* ============================================================
   Modal Login/Register Form
   ============================================================ */
.ws-otp-modal{
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}
.ws-otp-modal.is-open{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}
.ws-otp-modal-overlay{
    position: absolute;
    inset: 0;
    background: rgba(25, 37, 61, .6);
    backdrop-filter: blur(30px);
}
.ws-otp-modal-dialog{
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 64px);
    /*overflow-y: auto;*/
    margin: 0;
    animation: ws-otp-modal-in .25s ease;
}
.ws-otp-modal-dialog .white-box{
    padding: 40px 40px 90px;
}
.ws-otp-modal-dialog .white-box .logo{
    display: block;
    margin: 8px auto 40px;
    max-height: 60px;
}
.ws-otp-modal-dialog .white-box .foot{
    display: none;
}
.ws-otp-modal-close{
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 2;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    /*background: var(--otp-sec-color-10, #f0f0f0);*/
    color: var(--otp-black-color);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
body.ws-otp-modal-open{
    overflow: hidden;
}
@keyframes ws-otp-modal-in{
    from{ opacity: 0; transform: translateY(20px); }
    to{ opacity: 1; transform: translateY(0); }
}
@media (max-width: 575px){
    .otp-inputs .otp-field{
        width: 25%;
    }
}
@media (max-width: 480px){
    .ws-otp-modal-dialog{
        width: 100%;
        max-height: calc(100vh - 32px);
        border-radius: 0;
    }
    .ws-otp-modal-dialog .white-box{
        /*min-height: 100vh;*/
        border-radius: 0;
    }
}
