/*--------------------------------------------
	Формы обратной связи Start
--------------------------------------------*/

.main__form-wrapper {
    display: none;
    /*display: flex;*/
	
    align-items: center;
    justify-content: center;
    position: fixed;
	top: 0;
    width: 100%;
    height: 100vh;
    z-index: 30;
}

.dark-layer {
	width: 100%;
	height: 100%;
    background-color: #171717;
    opacity: 0.8;
	z-index: 20;
	cursor: pointer;
}

.request-call, .question-form {
    width: 100%;
    max-width: 1160px;
    z-index: 30;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.modal-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
    background: var(--white, #FFF);
}

.question-form {
	max-width: 1190px;
}

.request-call__header--wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.request-call__title {
    font-weight: 600;
    font-size: 32px;
    line-height: 125%;
    color: #091630;
}

input.form__input, optgroup, select, textarea {
    padding: 0 0 21px;
    width: 100%;
    font-family: inherit;
    border: none;
    background: none;
    transition: 0.2s;
    font-size: 18px;
    font-weight: 500;
    line-height: 156%;
    color: #8da2bc;
    border-bottom: 1px solid #e5ecf1;
}

input.form__input:hover,
textarea:hover {
    color: #8da2bc;
}

.form__input--wrap {
    position: relative;
}

.form__input--wrap:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: #1792e3;
    transition: 0.4s;
}

.form__input--wrap:hover:after {
    width: 100%;
}

.form__label {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 156%;
    color: #8da2bc;
    pointer-events: none;
    transition: all 0.3s ease;
    transform-origin: left top;
}

.form__input:focus + .form__label {
    display: none;
}

.form__btn--wrap {
    display: flex;
    justify-content: center;
}

.form__btn--wrap button {
    margin: 0;
    width: fit-content;
    border: none;
    background: unset;
    overflow: visible;
}

form button {
    padding: 12px 20px;
}

form {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 20px;
}

.form__inpwrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.close-form {
    position: absolute;
    right: 24px;
    top: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 2;
    background: #fff;
    border: 1px solid #e5ecf1;
    border-radius: 58px;
    transition: 0.3s;
}

.close-form svg path {
    transition: 0.3s;
}

.close-form:hover {
    background: #eef5fa;
}

.close-form:hover svg path {
    stroke: #0e79bf;
}

.form__options-title {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 156%;
    color: #000;
}

input[type="radio"] {
    display: none;
}

.field-radio {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #171717;
    opacity: 0.8;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.form__options-block label:hover .field-radio::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #ccc; /* Серая точка */
    border-radius: 50%;
}

input[type="radio"]:checked + .field-radio::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #000; /* Чёрная точка */
    border-radius: 50%;
}

.form__options-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.form__options-block label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.request-call__wrap form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.personal-data span,
.personal-data span a {
    font-size: 14px;
    line-height: 143%;
    color: #313f59;
}

.personal-data span a {
    color: #1792e3;
}

.form__additional {
    text-align: center;
}

.form__additional a {
    font-size: 16px;
    line-height: 150%;
    color: #404040;
}

.request-call__text {
    line-height: 150%;
}

.request-call-scrollwrap {
    position: relative;
    padding: 20px 0;
    overflow-y: scroll;
    scrollbar-width: none;
}

.request-call-scrollwrap::-webkit-scrollbar {
    display: none;
}

.modal-wrapper__content {
    padding: 64px 80px;
}


/*--------------------------------------------
	Формы обратной связи end
--------------------------------------------*/

/*--------------------------------------------
	Чекбоксы Start
--------------------------------------------*/

.custom-checkbox {
    position: absolute;
    opacity: 0;
    width: 100%;
    cursor: pointer;
    display: none;
}

.line-body__choose label {
    display: flex;
    align-items: start;
    gap: 8px;
}

.custom-checkbox+label::before {
    margin-top: 5px;
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #555555;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    cursor: pointer;
    transition: 0.2s;
}

.custom-checkbox:checked+label::before {
    background-color: #1792e3;;
    border-color: #1792e3;;
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.custom-checkbox+label:hover::before {
    border: 1px solid #B1A9A2;
}

.know-more .custom-checkbox:checked+label::before {
    background-color: #ED1D24;
    border-color: #ED1D24;
}

/*--------------------------------------------
	Чекбоксы End
--------------------------------------------*/

.swiperfade-modal .swiper-slide {
    line-height: 0;
}

@media screen and (max-width: 768px) {
    .request-call__title {
        font-size: 24px;
        line-height: 117%;
    }

    .request-call__desc {
        font-size: 14px;
        line-height: 143%;
    }

    .request-call__header--wrap {
        margin-bottom: 20px;
    }

    .request-call__text {
        font-size: 14px;
        line-height: 143%;
    }
}

@media screen and (max-width: 600px) {
    .callback-wrapper form button {
        width: 100%;
    }
}


.mini.request-call{
    width: fit-content;
}

.modal-wrapper-2 {
    position: relative;
    background: var(--white, #FFF);
}

/* Popup success START */

.modal-wrapper__content--success {
    padding: 64px 80px;
}

.modal-wrapper__success-head svg {
    margin-top: 0px;
}

.modal-wrapper__success {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.modal-wrapper__success-title {
    margin: 40px 0 16px;
    font-weight: 600;
    font-size: 32px;
    line-height: 125%;
    color: #091630;
}

.modal-wrapper__success-info {
    font-size: 14px;
    line-height: 143%;
}

@media screen and (max-width: 1080px) {
    .modal-wrapper__content--success {
        padding: 48px 20px;
    }
}

@media screen and (max-width: 991px) {
    .modal-wrapper__success-title {
        margin: 28px 0 14px;
        font-size: 24px;
        line-height: 117%;
    }

    .modal-wrapper__success-head svg {
        margin-top: 28px;
    }

    .modal-wrapper__success-text {
        font-size: 14px;
        line-height: 143%;
    }

    .modal-wrapper__success-info {
        font-size: 12px;
        line-height: 133%;
    }

    .modal-wrapper__success-info {
        margin-top: 20px;
    }
}

/* Popup success END */