﻿@media(min-width:1200px) {
    body {
        font-family: Ubuntu;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
    }

    .container.biometry__forget__password__container {
        margin-top: 120px;
        width: 100%;
        max-width: 1320px;
    }

    #resultForgetTxtResult {
        word-wrap: break-word; /* Переносит длинные слова */
        white-space: normal; /* Переносит текст на новую строку */
        max-width: 400px;
    }

    .header {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content {
        margin-top: 20px;
    }

    body {
        font-family: Ubuntu;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
    }

    .container.biometry__forget__password__container {
        margin-top: 150px;
        width: 100%;
        max-width: 1320px;
    }

    .header {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content {
        margin-top: 20px;
    }

    #rc-anchor-alert {
        display: none;
    }

    a.PasswordForgetClose {
        display: none;
    }

    div.form-check.ob__checkbox {
        padding: 0;
        text-align: justify;
    }

    div.biometry-message-container div.d-flex.flex-column.g-20px.w-100 div.d-flex.flex-column.g-10px {
        background: #EBEFF1;
        padding: 13px 15px;
        border-radius: 12px;
    }

    div.otp-display {
        display: none;
    }

    body {
        font-family: Ubuntu;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
    }

    .container.biometry__forget__password__container {
        margin-top: 200px;
        width: 100%;
        max-width: 600px;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .content {
        margin-top: 20px;
    }

    #saveAndLoginIntoBiometry {
        margin-top: 30px;
        background: #99A0A2;
        box-shadow: 0px 8.2243px 12.7103px -4.48598px rgba(62, 83, 87, 0.38);
        border-radius: 6px;
        font-family: Ubuntu;
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 18px;
        text-align: center;
        color: #FFFFFF;
        width: 468px;
        height: 48px;
        border: none;
    }

    input#saveAndLoginIntoBiometry {
        width: 100%;
        bottom: 0;
        margin-bottom: 22px;
    }
}

@media(max-width:1200px) {
    html div.modal-dialog {
        bottom: 0;
        margin: auto;
        position: fixed;
    }

    body {
        flex-direction: column;
    }

    div.container.biometry__forget__password__container {
        margin: 100px 0px 80px 0px;
        max-width: 100%;
        min-width: 375px;
        padding: 0px 17px;
        display: grid;
        gap: 20px;
    }

    div.content.forgetPassModalContent.biometry__forget__password {
        width: 100%;
    }

    div.content.forgetPassModalContent.biometry__forget__password {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    div.container.biometry__forget__password__container {
        position: absolute;
        left: 0;
        height: 100%;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        top: 0;
        padding-top: 112px;
    }

    footer {
        display: none;
    }

    div.header--mobile {
        display: none;
    }

    body {
        flex-direction: column;
        background: white;
    }



    div.container.biometry__forget__password__container div.header {
        height: max-content;
    }

        div.container.biometry__forget__password__container div.header h2 {
            color: #333839;
            font-family: Ubuntu;
            font-size: 17px;
            font-weight: 500;
            line-height: 23.8px;
            text-align: center;
            text-underline-position: from-font;
            text-decoration-skip-ink: none;
            width: max-content;
            justify-self: center;
        }

    input#sendSmsBtnForgetPass {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

    div#sendSmsForget {
        height: 100%;
    }

        div#sendSmsForget label {
            display: none;
        }

    div.header {
        display: flex;
        justify-content: space-between;
        width: 100%;
        text-align: center;
    }

        div.header h2 {
            text-align: center;
            flex-basis: 100%;
        }
    /*otp input style*/
    .otp-container {
        position: relative;
        width: 200px;
        margin: auto;
    }

    .otp-input {
        position: absolute;
        opacity: 0;
        width: 200px;
        height: 50px;
        font-size: 24px;
        letter-spacing: 10px;
        z-index: 1;
        cursor: pointer;
    }

    .otp-display {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .otp-block {
        width: 40px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 5px;
        background: #fff;
        z-index: 0;
    }

    span.otp-text {
        color: #D1D4D7;
        font-size: 33px;
    }

    span.otp-block {
        background: #F5F6F8;
        width: 38px;
        height: 52px;
        font-size: 24px;
    }

    div.otp-container {
        width: 300px;
    }

    p.otp-text-head {
        position: absolute;
        font-family: Ubuntu;
        font-size: 16px !important;
        font-weight: 400;
        line-height: 22.4px;
        text-align: center;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        margin: -80px auto 0px;
        text-align: center;
        left: 0;
        right: 0;
        width: 100%;
    }

    div#enterSmsForget {
        margin: 65px 0px 0px 0px;
    }

    div.otp-text-coutdown {
        background: #F5F6F8;
        padding: 6px 32px;
        width: 80%;
        border-radius: 6px;
        text-align: center;
        font-family: Ubuntu;
        font-size: 14px;
        font-weight: 400;
        line-height: 19.6px;
        text-align: center;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        color: #ADB0B2;
        margin: 31px auto 0px;
    }

    input#checkPassForgetPassword {
        width: 93%;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto 84px;
        bottom: 0;
    }
    /*biometry style*/
    div.header--mobile {
        display: none;
    }

    footer {
        display: none;
    }

    html div.biometry-message-container {
        position: absolute;
        left: 0;
        height: 100%;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        top: 0;
        margin-top: 112px;
        right: 0;
        width: 100%;
        justify-content: flex-start;
        padding: 25px 17px 0px;
    }

    footer {
        display: none;
    }

    div.header--mobile {
        display: none;
    }

    body {
        flex-direction: column;
        background: white;
    }

    div.biometry-message-container div.d-flex.flex-column.g-20px.w-100 img {
        align-self: center;
    }

    div.biometry-message-container div.d-flex.flex-column.g-20px.w-100 div.d-flex.flex-column.g-10px {
        background: #EBEFF1;
        padding: 13px 15px;
        border-radius: 12px;
    }


    div.d-flex.justify-content-lg-end a.PasswordForgetClose {
        width: 100%;
        display: flex;
        justify-content: end;
    }

    html div.biometry-message-container {
        margin: 25px 17px 0px;
    }

    div.form-check.ob__checkbox .ob__checkbox-container .checkmark {
        width: 13%;
        margin: 4px;
    }

    div.form-check.ob__checkbox label.ob__checkbox-container {
        gap: 10px;
    }

    div.form-check.ob__checkbox label.ob__checkbox-container {
        gap: 10px;
    }

    div.form-check.ob__checkbox {
        padding: 0;
        text-align: justify;
    }

    /*newinputpasswords style*/
    body {
        font-family: Ubuntu;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
    }

    .container.biometry__forget__password__container {
        margin-top: 200px;
        width: 100%;
        max-width: 600px;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .content {
        margin-top: 20px;
    }

    #saveAndLoginIntoBiometry {
        margin-top: 30px;
        background: #99A0A2;
        box-shadow: 0px 8.2243px 12.7103px -4.48598px rgba(62, 83, 87, 0.38);
        border-radius: 6px;
        font-family: Ubuntu;
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 18px;
        text-align: center;
        color: #FFFFFF;
        width: 468px;
        height: 48px;
        border: none;
    }

    input#saveAndLoginIntoBiometry {
        width: 100%;
        bottom: 0;
        margin-bottom: 22px;
    }

    html #phoneForget, html #newPassInp, html #newPassInpConfirm, html #documentData, html #UserNameName, html #newPassInpBiometryChange, html #newPassInpConfirmBiometryChange {
        width: 100%;
    }

    html div#afterCodeConfirmed span#eye1, html div#afterCodeConfirmed span#eye2 {
        top: auto !important;
        padding: 54px 0px 0px;
    }

    input#saveAndLoginIntoBiometry {
        position: absolute;
        margin: 0 auto 84px;
        width: 100%;
        left: 0;
        width: 93%;
        right: 0;
    }

    span#otpResult {
        position: absolute;
        left: 0;
        right: 0;
        margin: 64px auto 0px;
        width: max-content;
    }
    .otp-block {
        width: 40px;
        height: 50px;
        border: 1px solid #ccc;
        text-align: center;
        line-height: 50px;
        font-size: 24px;
        background-color: #fff;
        border-radius: 5px;
        position: relative;
        transition: border-color 0.2s ease;
    }

        .otp-block.active {
            border-color: #007BFF; /* Цвет активного блока */
            animation: blink 1s step-start infinite; /* Эффект мигания */
        }

    /* Анимация мигания курсора */
    @keyframes blink {
        50% {
            border-color: transparent;
        }
    }
    span.otp-block.active {
        border-bottom: 1px solid #333839;
        border-color: #ccc;
        animation: blink 1s step-start infinite;
        border-bottom: 1px solid #333839;
    }

    html div.container.biometry__forget__password__container div#sendSmsForget {
        margin-bottom: 84px !important;
        left: 17px;
        right: 17px;
        width: auto;
        height: max-content;
        position: absolute !important;
    }
}
