/*--------------------------------------------
	Формы обратной связи 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: 760px;
    z-index: 30;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.modal-wrapper {
    position: relative;
    padding: 64px 80px;
    background: var(--white, #FFF);
    clip-path: polygon(0% 0%, calc(100% - 80px) 0%, 100% 80px, 100% 100%, 80px 100%, 0% calc(100% - 80px));
}

.question-form {
	max-width: 1190px;
}

.request-call__header--wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.request-call__title {
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 30px;
    line-height: 120%;
    text-align: center;
    color: #171717;
}

input.form__input, optgroup, select, textarea {
    padding: 4px 8px 20px;
    width: 100%;
    font-family: inherit;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    background: none;
    transition: 0.2s;
    font-size: 18px;
    line-height: 156%;
    color: #404040;
}

.form__input--wrap {
    position: relative;
}

.form__input--wrap:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: #737373;
    transition: 0.4s;
}

.form__input--wrap:hover:after {
    width: 100%;
}

.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;
    margin-top: 24px;
}

.close-form {
    position: absolute;
    right: 0;
    top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.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: #404040;
}

.form__additional {
    text-align: center;
}

.form__additional a {
    font-size: 16px;
    line-height: 150%;
    color: #404040;
}

.request-call__text {
    font-size: 14px;
    line-height: 143%;
    color: #404040;
    text-align: center;
}

.request-call-scrollwrap {
    position: relative;
    padding: 20px 0;
    overflow-y: scroll;
    scrollbar-width: none;
}

.request-call-scrollwrap::-webkit-scrollbar {
    display: none;
}

/*--------------------------------------------
	Формы обратной связи end
--------------------------------------------*/

/*--------------------------------------------
	Чекбоксы Start
--------------------------------------------*/

.custom-checkbox {
    position: absolute;
    opacity: 0;
    width: 100%;
    cursor: pointer;
    display: none;
}

.line-body__choose label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    color: #404040;
}

.custom-checkbox+label::before {
    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: #1E1D1D;
    border-color: #1E1D1D;
    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
--------------------------------------------*/

@media screen and (max-width: 768px) {
    .modal-wrapper {
        margin: 0 20px;
        padding: 40px 24px;
        clip-path: polygon(0% 0%, calc(100% - 24px) 0%, 100% 24px, 100% 100%, 24px 100%, 0% calc(100% - 24px));
    }

    .request-call__title {
        font-size: 20px;
        line-height: 140%;
    }

    .request-call__desc {
        font-size: 14px;
        line-height: 143%;
    }

    .request-call__header--wrap {
        gap: 12px;
        margin-bottom: 16px;
    }

    .close-form {
        top: -5px;
    }
}

@media screen and (max-width: 600px) {
    .callback-wrapper form button {
        width: 100%;
    }
}