/*_____Global_____*/

/* Regular */
@font-face {
    font-family: 'Omega UI';
    src: url('/assets/fonts/OmegaUI-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Medium */
@font-face {
    font-family: 'Omega UI';
    src: url('/assets/fonts/OmegaUI-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* DemiBold */
@font-face {
    font-family: 'Omega UI';
    src: url('/assets/fonts/OmegaUI-DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Bold */
@font-face {
    font-family: 'Omega UI';
    src: url('/assets/fonts/OmegaUI-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    margin: 0;
    background: #f3f7fa;

    font-family: Omega UI, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;

}

.pr-0 {
    padding-right: 0 !important;
}

.container-full {
    min-height: 100vh;
}

h2 {
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    margin: 10px;
    line-height: 28px;
    letter-spacing: 0;
}

.btn-next, .btn-next:focus-visible {
    font-size: 16px;
    background: #0A2896;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    width: 100%;
}

.btn-next:active, .btn-next:hover {
    --bs-btn-active-bg: #1E4BD2;
    --bs-btn-active-color: #fff;
    --bs-btn-active-border-color: #1E4BD2;

    --bs-btn-hover-bg: #1E4BD2;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-border-color: #1E4BD2;
}

.btn-next:disabled {
    background: #EAEDF5;
    color: #ACB6C3;
}

.progress-bars {
    display: flex;
    gap: 6px;
    width: 100%;
    margin-top: 32px;
}

.bar {
    flex: 1;
    height: 2px;
    background: #d9dbe3;
    border-radius: 2px;
    transition: background .3s ease;
}

.bar.active {
    background: #1e4bd2;
}

.login-header-text, .login_phone_label {
    font-family: Omega UI, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0;
    text-align: center;
    margin: 0 0 24px 0;
}

.error-text {
    color: #CA181F;
    font-size: 12px;
    gap: 4px;
    margin-top: 5px;
    align-items: center;
    line-height: 16px;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.input-error {
    border-color: #CA181F!important;
    border-bottom: 1px solid #CA181F!important;
}

.error-icon {
    width: 16px;
}

.login .error-icon {
    width: 16px;
}

/*___form input___*/
.form-floating label {
    padding-left: 0;
}

.form-floating.has-error > label {
    color: #CA181F;
}

.phone-input, .captcha-input,
.form-floating > .form-control {
    border: none;
    border-bottom: 1px solid #DCE0EB;
    border-radius: 0;
    padding-left: 0;
    background: transparent;
    font-size: 16px;
}

.form-control:not(:placeholder-shown) ~ label,
.form-control:focus ~ label {
    transform: scale(.85) translateY(-.5rem) !important;
    color: #6B7683;
    font-size: 12px;
}

.form-control:focus {
    border-color: black;
    box-shadow: none;
    background: transparent;
}

.fs-16 {
    font-size: 16px;
}

.fs-24 {
    font-size: 24px;
}

.fs-28 {
    font-size: 28px;
}

/*_____Login_Page_____*/
.login-icon {
    margin-top: 24px;
}

.login-phone {
    margin-top: 56px;
}

.phone-input::placeholder, .captcha-input::placeholder {
    color: #ACB6C3;
}

.captcha-form {
    margin-top: 35px;
}

.captcha-detail {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.captcha-img {
    width: 223px;
    height: 52px;
}

.captcha-reload-btn {
    border: none;
    background: transparent;
}

.captcha-reload-img {
    background: #eaedf5;
    border-radius: 50px;
    padding: 10px;
}

.captcha-input {
    margin-top: 16px;
}

.captcha-input::placeholder {
    font-size: 16px;
    margin-top: 16px;
}


/*_____ check code  _____*/
.check-margin {
    height: 30px;
}

.check-description {
    text-align: left;
    margin-top: 30px;
    font-family: Omega UI, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
}

.check-phone {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    padding: 3px 0;
}

.check-description-resend {
    display: flex;
    gap: 4px;
}

#checkCodeTimer {
    color: #0057ff;
}

.btn-resend-code {
    padding: 0;
    border: none;
    background: none;
    color: #0057ff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.btn-resend-code:disabled {
    color: #8a94a6;
    cursor: default;
}

.code-input-wrap {
    position: relative;
    width: 220px;
    margin: 30px auto;
}

.code-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 56px;
    opacity: 0;
    z-index: 2;
    caret-color: transparent;
}

.code-visual {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    height: 56px;
    align-items: flex-end;
}

.code-cell {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 28px;
    line-height: 40px;
    border-bottom: 2px solid #c9d3e0;
    color: #111;
    position: relative;
}

.code-cell.filled {
    border-bottom-color: #2f6fed;
}

.code-cell.active {
    border-bottom-color: #2f6fed;
}

.code-cell::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
}

.code-error .code-cell {
    color: #CA181F;
}
.code-error .code-cell.filled {
    border-bottom-color: #CA181F;
}

/*_____ Used data input _____*/
.user-data-header {
    margin: 56px 0 16px;
}

.btn-next-userdata {
    margin-top: 42px;
}

.user-data-inputs .form-floating {
    margin-top: 3px;
}

.auto-grow-field {
    min-height: 58px;
    height: 58px;
    overflow: hidden;
    resize: none;

    line-height: 20px;
    white-space: pre-wrap;
    word-break: break-word;
}

.form-floating > .auto-grow-field {
    min-height: 58px;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > label, label::after {
    background: transparent !important;
    color: #ACB6C3;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/*_____ Agreement  _____*/
.agreement-form {
    margin-top: 56px;
}

.agreement-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}

.agreement-item + .agreement-item {
    margin-top: 18px;
}

.agreement-item a {
    text-decoration: none;
}

.agreement-checkbox {
    appearance: none;
    -webkit-appearance: none;

    width: 36px;
    height: 36px;
    min-width: 36px;

    margin: 0;
    border: 2px solid #d8e0ee;
    border-radius: 9px;
    background-color: #f7faff;

    cursor: pointer;
    position: relative;
}

.agreement-checkbox:checked {
    border-color: #0b36b8;
    background-color: #0b36b8;
}

.agreement-checkbox:checked::after {
    content: "";
    position: absolute;

    left: 12px;
    top: 6px;

    width: 10px;
    height: 18px;

    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.agreement-text {
    font-family: "Omega UI", sans-serif;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: #394150;
    font-weight: 400;
}

.agreement-text a {
    color: #1E4BD2;
}

.agreement-send {
    margin-top: 30px;
    padding-left: 50px;
    text-align: left;
    color: #2F3441;
}

.agreement-send-details {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.agreement-send-phone {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
}

/*_____ Result page  _____*/
.result-block {
    margin-top: 64px;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: center;
}

.result-btn {
    color: #0A2896;
    border: 2px solid #0A2896;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: center;
    background: transparent;
}

/*_____ Profile  _____*/

.profile_box_container {
    background: white;
    padding: 16px;
    border-radius: 13px;
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
}

.profile_box_title {
    font-size: 16px;
    padding: 0;
    margin: 0;
    line-height: 24px;
    letter-spacing: 0px;
    font-weight: 500;
    font-style: normal;
    text-align: left;
}

.profile_header {
    vertical-align: middle;
    margin: 0;
    background: white;
    height: 48px;
    padding: initial;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile_title {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0px;
    text-align: center;
    line-height: 20px;
    margin: 0;
}

.profile-exit {
    right: 12px;
    position: absolute;
}

.profile_info_fio {
    font-size: 20px;
    font-weight: 500;
    font-style: normal;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: center;
    display: flex;
    gap: 4px;
    justify-content: center;
    margin: 24px;
    flex-wrap: wrap;
}

.profile_hand span {
    font-size: 14px;
    color: #A3ACC4;
    margin-top: 5px;
    font-weight: 400;
    font-style: normal;
    line-height: 20px;
    letter-spacing: 0;
    text-align: center;
}

.hand {
    padding: 20px;
    background: #EDF4F5;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    position: relative;
}

.hand-exist .hand {
    background: #e2f5ea;
}

.hand-exist svg {
    fill: #0da94e;
}

.hand-exist span {
    color: #2F3441;
}

.hand svg {
    margin-top: 5px;
}

.hand-right {
    transform: scaleX(-1);
}

.сheckmark {
    bottom: -7px;
    position: absolute;
    left: 39%;
}

.сheckmark-right {
    transform: scaleX(-1);
}

.profile_card {
}

.profile_card_box {
    text-decoration: none;
    color: inherit;
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.profile_card_add {
    text-decoration: none;
}

.profile_card_add .plus {
    font-size: 25px;
    line-height: 1;
    color: #ACB6C3;
}

.card-number {
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
}

.profile-biometry-delete {
    margin-top: 12px;
    border: 1px solid #DCE0EB;
    border-radius: 12px;
}

.profile-biometry-delete button {
    background: transparent;
    border: none;
    padding: 16px;
    padding-right: 30px;
    color: #6B7683;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.3px;
    text-align: left;
    border-radius: 12px;
}

.profile-biometry-delete button:hover {
    background: #DCE0EB;
}

.profile-form-btn {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}

.card-active-box {
    border: 1px solid #00AAFF;
    background: #CCEEFF;
}

.profile_card_active {
    font-weight: 400;
    font-size: 10px;
    line-height: 130%;
    letter-spacing: 0;
    background: #00AAFF;
    border-radius: 8px;
    padding: 4px 8px;
    color: white;
}

.card_logo {
    width: 45px;
    height: 28px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border: 1px solid #00AAFF;
    border-radius: 6px;
}

.card-changing {
    text-decoration: none;
    color: #1C1B1F !important;
    align-items: center;
}

.modal-header {
    border: none;
    padding: 0;
}

.modal-title {
    font-family: Omega UI, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0px;
    vertical-align: middle;
    padding: 24px 62px 8px 24px;
}

.modal-body {
    padding: 0;
}

.modal-content {
    text-align: left;
}

.modal-body div {
    padding: 8px 22px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #6B7683;
}

.modal-footer {
    border: none;
}

.btn-cancel, .btn-delete {
    background: transparent;
    color: black;
    border: none;
    width: 114px;
    height: 52px;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: middle;
}

.btn-cancel {
    color: #0A2896 !important;
}

.btn-delete {
    color: #CA181F !important;
}

.modal-footer .btn:hover {
    background: #CCEEFF;
    border-radius: 8px;
}

.toast {
    border: 4px solid red;
}