

/* Start:/bitrix/components/bitrix/main.feedback/templates/compact/style.css?17872200197616*/
/* ===== Компактная форма обратной связи ===== */
.mfeedback-compact {
    width: 100%;
    max-width: 314px;
    margin: 0 auto;
}

.mfeedback-compact .mf-name,
.mfeedback-compact .mf-email,
.mfeedback-compact .mf-phone,
.mfeedback-compact .mf-message,
.mfeedback-compact .mf-captcha {
    width: 100%;
    padding-bottom: 15px;
}

/* Скрываем подписи полей */
.mfeedback-compact .mf-text {
    display: none;
}

/* Поля ввода */
.mfeedback-compact .mf-name input,
.mfeedback-compact .mf-email input,
.mfeedback-compact .mf-phone input,
.mfeedback-compact .mf-captcha input {
    width: 100%;
    height: 25px;
    padding: 0 0 5px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent !important;
    color: #fff;
    font-size: 13px;
    font-family: "Montserrat", "Arial", sans-serif;
    font-weight: 400;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    line-height: 1.5;
    border-radius: 0;
}

.mfeedback-compact .mf-message textarea {
    width: 100%;
    height: 25px; /* ТАКАЯ ЖЕ ВЫСОТА, КАК У ИНПУТОВ */
    min-height: 25px; /* Минимальная высота такая же */
    max-height: 100px; /* Максимальная высота, чтобы не растягивалась слишком сильно */
    padding: 0 0 5px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent !important;
    color: #fff;
    font-size: 13px;
    font-family: "Montserrat", "Arial", sans-serif;
    font-weight: 400;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    line-height: 1.5;
    resize: none; /* Запрещаем изменение размера, чтобы сохранить единую высоту */
    border-radius: 0;
    overflow: hidden; /* Скрываем скролл */
}

.mfeedback-compact .mf-name input::placeholder,
.mfeedback-compact .mf-email input::placeholder,
.mfeedback-compact .mf-phone input::placeholder,
.mfeedback-compact .mf-message textarea::placeholder,
.mfeedback-compact .mf-captcha input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.mfeedback-compact .mf-name input:focus,
.mfeedback-compact .mf-email input:focus,
.mfeedback-compact .mf-phone input:focus,
.mfeedback-compact .mf-message textarea:focus,
.mfeedback-compact .mf-captcha input:focus {
    outline: none;
    border-bottom-color: #5184e7 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Капча */
.mfeedback-compact .mf-captcha img {
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== ЧЕКБОКС СОГЛАСИЯ ===== */
.mfeedback-compact .mf-agreement {
    padding-bottom: 18px;
}

.mfeedback-compact .mf-agreement-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 12px;
    font-family: "Montserrat", "Arial", sans-serif;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    user-select: none;
}

.mfeedback-compact .mf-agreement-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.mfeedback-compact .mf-agreement-mark {
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-right: 1px;
    margin-top: 1px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    background: transparent;
    position: relative;
    transition: all 0.3s ease;
}

.mfeedback-compact .mf-agreement-label input[type="checkbox"]:checked + .mf-agreement-mark {
    background: #5184e7;
    border-color: #5184e7;
}

.mfeedback-compact .mf-agreement-mark::after {
    content: '';
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.mfeedback-compact .mf-agreement-label input[type="checkbox"]:checked + .mf-agreement-mark::after {
    display: block;
}

.mfeedback-compact .mf-agreement-label input[type="checkbox"]:focus + .mf-agreement-mark {
    box-shadow: 0 0 8px rgba(81, 132, 231, 0.5);
}

.mfeedback-compact .mf-agreement-text {
    font-size: 9px;
	padding-top: 4px;
}

.mfeedback-compact .mf-agreement-text a {
    color: #5184e7;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.mfeedback-compact .mf-agreement-text a:hover {
    color: #7ba9f5;
    text-decoration: none;
}

/* Ошибка для чекбокса */
.mfeedback-compact .mf-agreement-label input[type="checkbox"]:invalid + .mf-agreement-mark {
    border-color: #ff6b6b;
}

/* ===== КНОПКА ОТПРАВКИ ===== */
.mfeedback-compact input[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px !important;
    font-size: 13px;
    font-family: "Montserrat", "Arial", sans-serif;
    font-weight: 700;
    text-transform: none;
    border: 2px solid #399bf3;
    border-radius: 0;
    background-color: #399bf3 !important;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.mfeedback-compact input[type="submit"]:hover {
    background-color: transparent !important;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.mfeedback-compact input[type="submit"]:active {
    transform: scale(0.98);
}

/* Сообщение об успехе */
.mfeedback-compact .mf-ok-text {
    color: #7bed9f;
    font-weight: 700;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
}

/* Ошибки */
.mfeedback-compact .mf-error-text {
    color: #ff6b6b;
    font-size: 12px;
    padding: 5px 0 10px;
    display: block;
}

/* ===== Адаптация под мобильные ===== */
@media (max-width: 768px) {
    .mfeedback-compact .mf-name input,
    .mfeedback-compact .mf-email input,
    .mfeedback-compact .mf-phone input,
    .mfeedback-compact .mf-message textarea,
    .mfeedback-compact .mf-captcha input {
        font-size: 16px;
        height: 34px;
    }

    .mfeedback-compact .mf-name,
    .mfeedback-compact .mf-email,
    .mfeedback-compact .mf-phone,
    .mfeedback-compact .mf-message,
    .mfeedback-compact .mf-captcha {
        padding-bottom: 12px;
    }

    .mfeedback-compact .mf-agreement-label {
        font-size: 11px;
    }

    .mfeedback-compact .mf-agreement-mark {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }

    .mfeedback-compact .mf-agreement-mark::after {
        left: 4px;
        top: 1px;
        width: 4px;
        height: 8px;
    }

    .mfeedback-compact input[type="submit"] {
        font-size: 14px;
        padding: 12px !important;
    }
}

@media (max-width: 480px) {
    .mfeedback-compact .mf-name,
    .mfeedback-compact .mf-email,
    .mfeedback-compact .mf-phone,
    .mfeedback-compact .mf-message,
    .mfeedback-compact .mf-captcha {
        padding-bottom: 10px;
    }

    .mfeedback-compact .mf-message textarea {
        min-height: 40px;
    }

    .mfeedback-compact input[type="submit"] {
        font-size: 13px;
        padding: 10px !important;
    }

    .mfeedback-compact .mf-agreement-label {
        font-size: 10px;
    }
}
/* End */


/* Start:/local/templates/template1/styles.css?170249322877*/
.logo__wrapper {
background-color: #fff0;
}

.social {
	margin-right: auto;
}
/* End */


/* Start:/local/templates/template1/template_styles.css?17360711962232*/
#overlay1 {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1052;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;
}
 .popup1 {
    top: 25%;
    left: 0;
    right: 0;       
    font-size: 14px;
    margin: auto;
    width: 85%;
    min-width: 320px;
    max-width: 600px;
    position: absolute;
    padding: 15px 35px;
    border: 1px solid #383838;
    background: #fefefe;
    z-index: 1053;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}

.popup1 ol {
list-style: auto;
}

.popup1 ul {
list-style: disc;
}

.close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    position: absolute;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: #2b6bb6;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;
 
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
/* кнопка закрытия при наведении */
.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
}
/* End */
/* /bitrix/components/bitrix/main.feedback/templates/compact/style.css?17872200197616 */
/* /local/templates/template1/styles.css?170249322877 */
/* /local/templates/template1/template_styles.css?17360711962232 */
