

/* Start:/local/templates/fdplast/components/bitrix/form.result.new/form_2/style.css?17863547389890*/
/* Обновленные стили для формы с изображением - используем уникальные классы-обертки */
.form-container {
    position: relative;
    display: flex;
    margin: 0 auto;
    border-radius: 8px;
    background: #f9f9f9;
    min-height: 442px; /* Меняем height на min-height */
}

.form-left-wrapper {
    flex: 1;
    background: #242c59;
    z-index: 1;
    background-image: url(/local/ico/Group.svg);
    background-position: 10% 20%;
    border-radius: 8px 0 0 8px;
}

.form-left {
    flex: 1;
    padding: 36px 36px 36px 36px;
    box-sizing: border-box;
    background: transparent;
    border-radius: 8px 0 0 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 442px; /* Добавляем min-height */
}

.form-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.form-side-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 8px 8px 0;
}

/* Специфичные стили для полей ввода ТОЛЬКО внутри .form-left */
.form-left .form-title {
    color: #333;
    margin-bottom: 10px;
}

/* Стили для текстовых полей ТОЛЬКО внутри .form-left */
.form-left input[type="text"] {
    padding: 15px 15px !important;
    height: 24px !important;
    background: rgba(36, 44, 89, 1);
    color: #FFFFFF;
    border-radius: 4px;
    border: 1px rgba(52, 78, 155, 1) solid;
    width: 100%;
    box-sizing: border-box;
}

.form-left .form-input input {
    width: 100%;
    box-sizing: border-box;
}

/* Стили для телефонных полей ТОЛЬКО внутри .form-left */
.form-left input[type="tel"] {
    padding: 15px 15px;
    height: 24px !important;
    background: rgba(36, 44, 89, 1);
    color: #FFFFFF;
    border-radius: 4px;
    border: 1px rgba(52, 78, 155, 1) solid;
    width: 100%;
    box-sizing: border-box;
}

/* Placeholder для полей внутри .form-left */
.form-left input[type="tel"]::placeholder,
.form-left input[type="text"]::placeholder {
    color: #969ecb;
    opacity: 1;
}

.form-description {
    color: #666;
    margin-bottom: 20px;
}

/* НОВЫЕ СТИЛИ ДЛЯ ПОЛЕЙ - только внутри .form-left */
.form-left .form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: none;
    padding: 0;
    margin: 0;
    flex: 1; /* Добавляем, чтобы поля занимали доступное место */
}

.form-left .form-field {
    flex: 0 0 calc(50% - 5px);
    margin-bottom: 10px; /* Уменьшаем отступ */
    box-sizing: border-box;
}

.form-left .form-label {
    font-weight: 400;
    margin-bottom: 5px;
    font-size: 14px;
    color: rgba(226, 230, 252, 1);
    display: block;
}

.form-left .custom-file-upload span {
    font-weight: 400;
    font-size: 14px;
    color: rgba(226, 230, 252, 1);
}

.form-left .custom_p {
    font-weight: 400;
    font-size: 14px;
    color: rgba(226, 230, 252, 1);
}

.form-left .form-input {
    width: 100%;
}

.form-left .error-message {
    color: red;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.form-left .captcha-section {
    margin-top: 10px; /* Уменьшаем отступ */
    padding: 10px;
    border-radius: 4px;
    width: 100%;
}

.form-left .buttons-section {
    text-align: left;
    width: 100%;
    margin-top: 10px; /* Добавляем отступ сверху */
    padding-top: 10px; /* Добавляем внутренний отступ */
    flex-shrink: 0; /* Запрещаем сжатие кнопок */
}

.buttons-section input{
    line-height: normal;
}

/* Стили для кнопок */
.btn {
    margin: 0 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    line-height: normal;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    border: 1px solid #6c757d;
    color: #6c757d;
}

.custom_form {
    background: rgba(96, 159, 33, 1);
    padding: 12px 30px !important; /* Увеличиваем отступы для кнопки */
    font-size: 16px;
    transition: background 0.3s ease;
}

.custom_form:hover {
    background: rgba(76, 129, 26, 1);
}

.required-note {
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* ===== СТИЛИ ДЛЯ ПОЛЯ КОММЕНТАРИЯ ===== */
.form-left .form-field-comment {
    flex: 0 0 100% !important;
    width: 100%;
    margin-bottom: 10px; /* Уменьшаем отступ */
}

.form-left .form-field-comment .form-input {
    width: 100%;
}

.form-left .comment-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(36, 44, 89, 1);
    color: #FFFFFF;
    border-radius: 4px;
    border: 1px solid rgba(52, 78, 155, 1);
    resize: vertical;
    min-height: 80px; /* Уменьшаем минимальную высоту */
    max-height: 120px; /* Добавляем максимальную высоту */
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-left .comment-textarea:focus {
    outline: none;
    border-color: rgba(96, 159, 33, 1);
    box-shadow: 0 0 0 3px rgba(96, 159, 33, 0.1);
}

.form-left .comment-textarea::placeholder {
    color: #969ecb;
    opacity: 1;
}

.form-left .comment-hint {
    font-size: 12px;
    color: #969ecb;
    font-weight: 300;
    margin-left: 5px;
}

.form-left .char-counter {
    text-align: right;
    font-size: 12px;
    color: #969ecb;
    margin-top: 3px;
    padding-right: 5px;
}

.form-left .char-counter .warning {
    color: #ffc107;
}

.form-left .char-counter .danger {
    color: #dc3545;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ===== */
@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .form-left-wrapper {
        border-radius: 8px ;
    }

    .form-left {
        padding: 24px 16px 16px 16px;
        border-radius: 8px 8px 8px 8px;
        min-height: auto;
    }

    /* СКРЫВАЕМ ПРАВУЮ ЧАСТЬ С КАРТИНКОЙ НА МОБИЛЬНЫХ */
    .form-right {
        display: none !important;
    }

    .form-left .form-fields {
        flex-direction: column;
        gap: 0;
    }

    .form-left .form-field {
        flex: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .form-left .form-field-comment {
        margin-bottom: 12px;
    }

    .form-left .comment-textarea {
        min-height: 70px;
        max-height: 100px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }

    .form-left .buttons-section {
        margin-top: 5px;
        padding-top: 5px;
    }

    .custom_form {
        width: 100%;
        padding: 14px !important;
        font-size: 16px;
    }

    .form-left .form-header .form-title_main {
        font-size: 32px;
        line-height: 120%;
    }

    .form-left .form-header .form-title_main_p {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

/* Стили для очень маленьких экранов */
@media (max-width: 480px) {
    .form-left {
        padding: 16px 12px 12px 12px;
    }

    .form-left .form-header .form-title_main {
        font-size: 26px;
    }

    .form-left .form-header .form-title_main_p {
        font-size: 14px;
    }

    .form-left .form-field {
        margin-bottom: 10px;
    }

    .form-left .comment-textarea {
        min-height: 60px;
        max-height: 80px;
        padding: 10px 12px;
    }

    .form-left .form-label {
        font-size: 13px;
    }

    .form-left input[type="text"],
    .form-left input[type="tel"] {
        padding: 12px 12px !important;
        font-size: 16px;
    }
}

.form-container::before {
    content: "";
    position: absolute;
    left: -100vw;
    right: -100vw;
    top: -100px;
    bottom: -100px;
    background-image: url(/local/ico/Group.svg);
    background-position: 40% 50%;
    z-index: -2;
}

.form-left .custom-file-upload {
    display: inline-block;
    position: relative;
    width: 100%;
}

.form-left .custom-file-upload label {
    height: 50px; /* Уменьшаем высоту */
    background: var(--c_blue_light_bg);
    outline: 0;
    border: 0;
    width: 100%;
    border-radius: var(--radius10);
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 15px;
    gap: 10px;
    color: white;
    box-sizing: border-box;
}

.form-left .custom-file-upload input {
    display: none;
}

.file-icon {
    width: 20px;
    height: 20px;
}

.form-left .form-header .form-title_main {
    font-weight: 300;
    font-size: 44px;
    color: rgba(255, 255, 255, 1);
    line-height: normal;
}

.form-left .form-header .form-title_main_p {
    font-weight: 550;
    font-size: 18px;
    color: rgba(150, 158, 203, 1);
    margin-top: 4px;
    margin-bottom: 18px;
    line-height: normal;
}
/* End */
/* /local/templates/fdplast/components/bitrix/form.result.new/form_2/style.css?17863547389890 */
