.ls-main-wrapper #ls_message {
    position: relative;
    display: flex;
    font-family: Open-Sans, sans-serif;
    flex-direction: column;
    gap: 20px;
    margin: auto;
    background: white;
    padding: 70px;
}
@media (max-width: 600px){
    .ls-main-wrapper #ls_message{
        padding: 70px 30px;
    }
}
.ls-main {
    position: fixed;
    right: 2px;
    -webkit-box-shadow: -7px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: -7px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: -7px 4px 8px 0px rgba(34, 60, 80, 0.2);
    max-width: 460px;
    z-index:99999 !important;
    width:100%;
}

.i-ls-close {
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 999;
}

.i-ls-input {
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    border-top-color: transparent !important;
    border-right-color: transparent !important;
    border-left-color: transparent !important;
    padding-left: 30px;
}


.ls-button {
    border-radius: 3px;
    max-width: 300px;
    width: 100%;
    font-size: 16px;
    height: 44px;
    margin-top: 8px;
    color: rgb(255, 255, 255);
    background: rgb(37, 137, 255);
    margin: auto;
    border: none;
}

.i-ls-description {
    text-align: center;
    line-height: 20px;
    color: rgb(127, 127, 127);
    font-size: 15px;
    margin: 10px  0 auto;
    max-width: 340px;
}

.i-ls-title {
    text-align: center;
    line-height: 37px;
    color: rgb(30, 25, 28);
    font-size: 30px;
    margin-bottom: -10px;
}

.i-ls-wrapper {
    font-family: Open-Sans, sans-serif;
}

.i-ls-close-cross {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    -webkit-box-shadow: inset 0 0 2px -2px hsla(0, 0%, 40%, .8), 0 0 6px -2px rgb(241 242 243);
    -moz-box-shadow: inset 0 0 2px -2px hsla(0, 0%, 40%, .8), 0 0 6px -2px rgb(241 242 243);
    box-shadow: inset 0 0 2px -2px hsla(0, 0%, 40%, .8), 0 0 6px -2px rgb(241 242 243);
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABmJLR0QA/wD/AP+gvaeTAAABkUlEQVQ4je2SMWvbQBiGn4sQyNVyHjMbSglETRzlZzTbQUct9pYYOpRC90LJYDvZjAeDhw7a46HpLyg2mkTbP9D1piTYwtfBElUcWZbn5N3uvuPhu+974CVpRP7QarXeA6+11pdhGN5XASilavV6/eNyufwzHA6/Zfd7+UfGmAPgTErZV0rVqkCllH1jzDshxJt87RE4SZIvwE+gKaW8brfbrzZBgyBwpJRdoAlEQoiv+bqVP0RRlHie98OyrEPgBDj2ff92Op0u1qG2bfcAP4VeDAaDu43gKvAqUFhbXkFXXeA0A8zn82UVaCkY/i+H1Rxn6XUTmGmtO2XmPBlFPnEcJ57nfU/H4gP7aaed8XhcquNeWTGX0p8VpbRjpVTNdd0rVkucAX+BY+Bto9G4jeM42RkcBIHjum4vhUZCiM5isbjJxuI4TrNIxVLwJqWqel4I3uZpVbi1C3QX+CMrbNv+nEJnWuvzTfIDjEajB631B1ZLPQI+5evruv0CJtvkzxKG4b3WugNMjDG/t71/pvkHkaHKyfDtLb4AAAAASUVORK5CYII=");
    background-position-x: 0;
    background-position-y: 0;
    background-repeat: repeat;
    background-size: auto;
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: 50%;
}


.i-ls-field {
    position: relative;
}

.i-ls-icon-wrapper input, .i-ls-icon-wrapper input:focus {
    outline: none;
    font-size: 15px;
}


.ls-modal fieldset {
    border: medium none !important;
    margin: 0 0 10px;
    min-width: 100%;
    padding: 0;
    width: 100%;
}

.i-ls-input {
    width: 520px;
    border-bottom: 1px solid #CCC;
    margin: 0 0 5px;
    padding: 10px 10px 10px 30px;
}

.i-ls-input:hover {
    -webkit-transition: border-color 0.3s ease-in-out;
    -moz-transition: border-color 0.3s ease-in-out;
    transition: border-color 0.3s ease-in-out;
    border: 1px solid #AAA;
}


i-ls-input:focus {
    outline: 0;
    border: 1px solid #999;
}

::-webkit-input-placeholder {
    color: #888;
    font-size: 15px;
}

:-moz-placeholder {
    color: #888;
    font-size: 15px;
}

::-moz-placeholder {
    color: #888;
    font-size: 15px;
}

:-ms-input-placeholder {
    color: #888;
    font-size: 15px;
}

.i-ls-icon-wrapper {
    position: relative;
    font-size: 14px;
    box-sizing: border-box;
}

.i-ls-icon-wrapper i {
    position: absolute;
    left: 20px;
    top: 11px;
    z-index: 9;
    font-size: 15px;
}

.agreement-wrapper {
    font-size: 12px;
    line-height: 16px;
    color: #626262;
    cursor: pointer;
}

.i-ls-button-wrapper {
    text-align: center;
}

/* Для изменения цвета обводки элемента формы при валидации */
.form__type-input-error {
    border: 1px solid #ff3030;
    background-color: rgb(255 134 48 / 0.1);
}

/* Для отображения span-элемента с ошибкой */
.form__error-active {
    display: block;
}

/* Для блокировки кнопки submit */
.button-inactive {
    cursor: default;

}

.button-inactive {
    cursor: not-allowed;

}

.form__empty-error {
    padding: 10px 0;
    font-size: 18px;
    color: #ff3030;
}


.i-ls-form {
    display: flex;
    flex-direction: column;


}

.form__label {
    font-weight: 500;
    font-size: 24px;
}


.form__field {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 10px;
    position: relative;
}

.form__type-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #eeeeee;
    margin-block-end: 5px;
    padding: 10px 15px 10px 40px;
    background-color: transparent;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 300;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.form__type-input:focus {
    border-color: #6f93ff;
    outline: none;
}

.form__type-input-error {
    border-bottom: 1px solid #ff3030;

}

.form__error {
    display: none;
    grid-column: 1;
    align-self: self-start;
    grid-row-end: span 2;
    color: #ff3030;
    font-size: 12px;
    line-height: 1.1;
    margin-left:37px;
}
.agreement-wrapper .form__error {

    margin-left:0;
}

.form__checkbox-label .form__error {
    grid-column: 1 / 3;
}

.form__error-active {
    display: block;
}

.form__checkbox-label {
    position: relative;
    display: grid;
    grid-template-columns: 24px auto;
    gap: 0 15px;
    margin-inline-start: auto;
    cursor: pointer;
}

.form__type-checkbox {
    width: 14px;
    height: 14px;
    opacity: 0;
    padding: 0;
    margin-block-end: 5px;
    background-color: #eeeeee;
    -webkit-appearance: none;
    appearance: none;
    accent-color: #6f93ff;
}

.form__type-checkbox + .form__type-checkbox-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border: 1px solid #eeeeee;
    border-radius: 1px;
    top: 3px;
    left: 4px;
}

.form__type-checkbox:checked + .form__type-checkbox-title::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background-color: #6f93ff;
}

.button {
    border: 2px solid transparent;
    margin-inline-start: auto;
    padding: 10px 15px;
    background-color: #6f93ff;
    color: #ffffff;
    font-size: 18px;
    font-weight: 300;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s linear;
    width: 100%;
}

.button:hover {
    -webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
}

.button:focus-visible {
    outline: none;
    border: 2px solid #FFFFFF;
}

.button-inactive {
    cursor: not-allowed;

}


.form__empty-error {
    margin-left:37px;
    font-size: 12px;
    color: #ff3030;
}



@media (max-width: 768px) {


    .form__error, .form__empty-error, .form__checkbox-label, .button {
        inline-size: 300px;
    }
}

.modal i {
    position: absolute;
    top: 50px;
    left: 5px
}

/* Стили для подложки */

.overlay {

    /* Скрываем подложку  */
    opacity: 0;
    visibility: hidden;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 20;
    transition: .3s all;
}


/* Стили для модальных окон */

.modal {

    /* Скрываем окна  */
    opacity: 0;
    visibility: hidden;


    /*  Установаем ширину окна  */
    width: 100%;
    max-width: 500px;

    /*  Центрируем и задаем z-index */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30; /* Должен быть выше чем у подложки*/

    /*  Побочные стили   */
    box-shadow: 0 3px 10px -.5px rgba(0, 0, 0, .2);

    padding: 30px;
    border-radius: 3px;
    background-color: #fff;
    transition: 0.3s all;
}


/* Стили для активных классов подложки и окна */

.modal.active,
.overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Стили для кнопки закрытия */

.modal__cross {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 20px;
    right: 20px;
    fill: #444;
    cursor: pointer;
}

.ls-exitblock {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.ls-exitblock .ls-fon {
    background: #000000;
    opacity: .5;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index:0 !important;
}


.ls_developer{
    text-align: center;
    font-size: 12px;
    opacity: .2;
    margin-top:30px;
}
#ls-error{

    color: red;
    display: none;
    padding: 10px 0;
}
.ls-modal input:-webkit-autofill,
.ls-modal input:-webkit-autofill:hover,
.ls-modal input:-webkit-autofill:focus,
.ls-modal input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}