.crmlk-form_readonly .crmlk-form__cancel {
    display: none;
}

.crmlk-form_readonly .crmlk-form__submit {
    display: none;
}

.crmlk-form .crmlk-form__edit {
    display: none;
}

.crmlk-form_readonly .crmlk-form__edit {
    display: flex;
}

.crmlk-form__inner_login {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    padding: 30px;
    background-color: var(--color-white);
    box-shadow: 0 0 8px var(--color-grey-300);
    width: 400px;
    height: 500px;
    position: relative;
}

.crmlk-form__header {
    display: block;
    font-size: 24px;
    line-height: normal;
    font-weight: bold;
    text-align: center;
    width: 100%;
    margin-bottom: 60px;
}

.crmlk-form__desc {
    display: block;
    text-align: center;
    font-size: 18px;
    line-height: normal;
    margin-bottom: 30px;
}

.crmlk-form__group {
    position: relative;
    margin-bottom: 30px;
    display: none;
    opacity: 0;
    visibility: hidden;
}

@media screen and (max-width: 767px) {
    .crmlk-form__group {
        margin-bottom: 10px;
    }
}

/* .crmlk-form-auth-type {
    margin-bottom: 30px;
} */

/* .crmlk-form__group:last-child {
    margin-bottom: 0;
} */

.crmlk-form__group_active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.crmlk-form .crmlk-from__field {
    display: block;
    height: 50px;
    width: 100%;
    font-size: 20px;
    padding: 10px;
    border-radius: 0px;
    margin: 0px;
    border: 1px solid var(--color-grey-300);
    border-radius: var(--border-radius-main);
    color: var(--color-grey-700);
}

.crmlk-form .crmlk-from__field_small {
    display: block;
    height: 30px;
    width: 100%;
    font-size: 16px;
    padding: 5px;
    border-radius: var(--border-radius-main);
    margin: 0px;
    border: 1px solid var(--color-grey-300);
    color: var(--color-grey-700);
}

@media screen and (max-width: 767px) {
    .crmlk-form .crmlk-from__field_small {
        font-size: 14px;
    }
}

.crmlk-form__button-control {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 10px;
    margin-bottom: 30px;
}

.crmlk-form .crmlk-from__field_invalid {
    border: 1px solid var(--color-red);
}

.crmlk-form .crmlk-from__field::placeholder {
    color: var(--color-grey-300);
}

.crmlk-form .crmlk-from__field:hover::placeholder,
.crmlk-form .crmlk-from__field:focus::placeholder {
    color: var(--color-grey-300);
}

.crmlk-form__field-error {
    display: block;
    margin-top: 5px;
    color: var(--color-red);
}

.crmlk-form .crmlk-form__button {
    width: 100%;
    height: 50px;
    font-size: 20px;
}

.crmlk-from__label {
    display: block;
    margin: 0;
    font-size: 18px;
    margin-bottom: 10px;
}

.crmlk-from__label_small {
    margin: 0;
    font-size: 16px;
    margin-bottom: 10px;
}

.crmlk-form__toggle-type-auth-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--color-grey-300);
    padding: 5px;
    margin-bottom: 30px;
}

.crmlk-form__toggle-type-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border: 1px solid transparent;
    font-size: 20px;
    width: 50%;
    opacity: 0.7;
    transition: var(--transition-easy-all-4ms);
}

.crmlk-form__toggle-type-auth:hover {
    opacity: 1;
}

.crmlk-form__toggle-type-auth_active {
    border: 1px solid var(--color-grey-100);
    background-color: var(--color-grey-50);
    opacity: 1;
}

.crmlk-form__desc-email {
    font-weight: bold;
    text-wrap: wrap;
    word-wrap: anywhere;
}

.autoComplete_wrapper {
    width: 100%;
}

.crmlk-form .autoComplete_wrapper > input {
    padding-left: 45px;
}

.crmlk-form .autoComplete_wrapper > input:focus,
.crmlk-form .autoComplete_wrapper > input:hover {
    color: var(--color-black);
    border: 1px solid var(--color-grey-300);
}

.crmlk-form__button + * {
    margin-top: 10px;
}

.crmlk-form__message_mb_20 {
    margin-bottom: 20px;
}

.crmlk-form__message_fs_italic {
    font-style: italic;
}

.crmlk-form__cancel {
    background-color: var(--color-grey);
}

.crmlk-form__notification_success {
    color: var(--color-green);
}

.crmlk-form__notification_error {
    color: var(--color-red);
}

.crmlk-from__button-control {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.crmlk-from__button-control + .crmlk-from__button-control {
    margin-top: 30px;
}

.lredform-field__input,
.lredform-field__input textarea,
textarea.lredform-field__input {
    font-size: 16px;
}
