.reg-form .base-input__label {
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    color: #6D6D6D;
}

.reg-form .base-input__label span {
    color: #ED1A3B;
}

.reg-form .active_none_reg {
    pointer-events: none;
    opacity: 0.5;
}

.reg-form .base-input__control {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #6d6d6d;
}

.login-form__form-agreements {
    margin-top: 24px;
}

#registration-policy {
    visibility: hidden;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    display: block;
}

label[for="registration-policy"] {
    padding: 0 0 0 30px;
    display: block;
    position: relative;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
}

.reg-form a {
    color: #ED1A3B;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-decoration: underline;
    transition: .4s;
}

.reg-form a:hover {
    opacity: .6;
}

label[for="registration-policy"]:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #6d6d6d;
    border-radius: 2px;
    cursor: pointer;
}

#registration-policy:checked+label[for="registration-policy"]:before {
    content: '';
    display: block;
    position: absolute;
    top: 3px;
    left: 3px;
    background-color: #ED1A3B;
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.reg-form .reg-form__submit-btn {
    width: 284px;
    padding: 16px 0;
}

.reg-form .reg-form__submit-btn:disabled {
    background: #7D7D8C;
    color: #fff;
}

.reg-form .reg-form__submit-btn.reg-form__loading {}

.reg-form .reg-form__submit-btn.reg-form__success {}

.login-form__text {
    font-size: 15px;
    text-align: center;
    margin: 24px 0 0;
    padding: 0;
}

.reg-form .login-form__submit {
    margin-top: 24px;
}

.login-form__card-fields {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.login-form__card-input__control {
    width: 69px;
    border: none;
    border-bottom: 1px solid #000;
    background-color: transparent;
    font-size: 49px;
    text-align: center;
}

.login-form__card {
    border: 1px solid #000;
    border-radius: 20px;
    padding: 24px 22px;
}

.login-form__card-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 24px;
}

.login-form__card-submit {
    margin-top: 24px;
}

.login-form__card-form .login-form__card-submit-btn {
    font-weight: 600;
    font-size: 15px;
    line-height: 24px;
    width: 100%;
    padding: 6px 0;
}

.login-form__card-form .login-form__card-submit-btn:disabled {
    background: #7D7D8C;
    color: #fff;
}

.login-form__loading,
.login-form__success {
    text-align: center;
}

.login-form__loading-icon {
    margin-bottom: 24px;
}

.login-form__loading-icon svg {
    animation-name: rotating;
    animation-iteration-count: infinite;
    animation-duration: 3s;
    animation-timing-function: linear;
}

.active_none {
    display: none !important;
}

.send_code {
    color: #008727;
    font-size: 12px;
    position: absolute;
    line-height: 12px;
    margin-top: 5px;
}



.login-form__loading_check {
    text-align: center;
}

.login-form__loading-icon {
    margin-bottom: 24px;
}

@keyframes rotating {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.login-page {
    background: linear-gradient(180deg, #fff, #fff0),
        url("/local/assets/static/img/login/bg-lg-light.jpg");
    background-size: cover;
    background-position: center;
}

.login-page .input-error {
    position: absolute;
    line-height: 12px;
    margin-top: 5px;
}

.activ_none {
    display: none;
}

body .page__wrapper {
    min-height: unset;
    height: 100vh;
}

.activ_pointer {
    pointer-events: none;

}

.active_send .page__wrapper {
    height: 100vh;
}

.email-confirm-icon::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%2328a745' viewBox='0 0 24 24'><path d='M20.285 6.709a1 1 0 00-1.414-1.418l-9.192 9.192-4.243-4.243a1 1 0 00-1.414 1.414l5 5a1 1 0 001.414 0l10-10z'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}

.email-confirm-icon {
    position: absolute;
    top: 52%;
    right: 1%;
}

.confirm_ok {
    position: absolute;
    right: 0;
    top: 50%;
    bottom: 0;
    margin: auto;
    cursor: pointer;
}

.active_send .login-page__modal {
    left: 0;
    position: relative;
    transform: unset;
    width: 436px;
    right: 0;
    margin: auto;
}

.active_send .page__login {
    height: 300% !important;
}

.confirm_ok {
    pointer-events: none;
    opacity: 0;
}

.confirm_ok.active {
    pointer-events: auto;
    opacity: 1;
}

.page__login {
    height: calc(100dvh) !important;
}

/*Адаптив*/
@media (max-width: 768px) {
    .login-form__card-input__control {
        width: 35px;
        font-size: 25px;
    }

    .active_send .page__wrapper {
        height: 100%;
    }

    body .page__wrapper {
        height: 100%;
    }

    .login-page .login-form__card-text {
        margin-bottom: 5px;
    }

    .login-page .login-page__modal {
        top: 0;
        transform: inherit;
        width: auto;
        position: relative;
        margin: 0 auto;
        left: 0;
        right: 0;
    }

    input[type="text"].login-form__card-input__control {
        -webkit-appearance: none;
        appearance: none;
        border: none;
        outline: none;
        box-shadow: none;
        background-color: transparent;
        /* или #fff, если нужно */
        border-bottom: 1px solid black;
        border-radius: 0;
        padding: 0;

        /* Убираем внешние отступы (если они есть) */
        margin: 0;

        /* Выравниваем текст по левому краю (если это необходимо) */
        text-align: left;

        /* Принудительно убираем любые дефолтные стили для iOS */
        -webkit-text-fill-color: unset;
        text-align: center;

    }


    .login-page {
        background: none;
    }


    /* .login-page{
          height: auto!important;
      } */

    /* .page__wrapper{
          height: auto!important; 
          min-height: auto!important; 
      } */
    .page {
        height: unset !important;

    }

    .login-form {
        margin-bottom: 20px;
    }

    .page__login {
        height: auto !important;

    }

    .input-error {
        bottom: -30px;
    }


    .base-input {
        margin-bottom: 9px;
    }

    .active_send .login-page__modal {
        left: 0;
        position: relative;
        transform: unset;

        right: 0;
        margin: auto;
    }

    body .base-input__control {
        padding-bottom: 10px;
    }

    .reg-form .base-input__control {
        font-size: 12px;
    }

    html {
        background: linear-gradient(180deg, #fff, #fff0),
            url("/local/assets/static/img/login/bg-lg-light-mob.jpg");
        background-size: cover;
        background-position: bottom;
        height: auto !important;
        background-repeat: none;
    }

}