

/* Start:/bitrix/templates/bs_education_s1/components/bitrix/form.result.new/web_form/style.css?17826717765156*/
/* Контейнер формы */
.max-width-600 {
    max-width: 620px;
}

.max-height-200 {
    max-height: 200px;
    object-fit: cover;
}

/* Стилизация полей ввода внутри автогенерируемого кода Битрикс */
.input-wrapper-custom input[type="text"],
.input-wrapper-custom input[type="password"],
.input-wrapper-custom input[type="email"],
.input-wrapper-custom input[type="tel"],
.input-wrapper-custom textarea,
.input-wrapper-custom select {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #dee2e6;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Эффект фокуса на инпутах */
.input-wrapper-custom input:focus,
.input-wrapper-custom textarea:focus,
.input-wrapper-custom select:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.input-wrapper-custom textarea {
    min-height: 100px;
    resize: vertical;
}

/* Чекбоксы и радиокнопки */
.input-wrapper-custom input[type="checkbox"],
.input-wrapper-custom input[type="radio"] {
    margin-right: 6px;
    accent-color: #0d6efd;
    cursor: pointer;
}

/* Подсветка ошибок валидации */
.is-invalid-custom input[type="text"],
.is-invalid-custom input[type="password"],
.is-invalid-custom input[type="email"],
.is-invalid-custom input[type="tel"],
.is-invalid-custom textarea,
.is-invalid-custom select {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.is-invalid-custom input:focus,
.is-invalid-custom textarea:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15) !important;
}

/* Мягкая анимация */
.transition-all {
    transition: all 0.2s ease-in-out;
}
.transition-all:hover {
    transform: translateY(-1px);
}

/* ==========================================================================
   ЖЕСТКИЙ СБРОС И КАЗУАЛЬНЫЕ СТИЛИ ДЛЯ КНОПОК ФОРМЫ (Перебивают ядро Битрикс)
   ========================================================================== */

/* Кнопка ОТПРАВИТЬ / СОХРАНИТЬ */
.bx-bootstrap5-form-container .btn-form-submit,
.bx-bootstrap5-form-container input[name="web_form_submit"] {
    background-color: #0d6efd !important;
    border: 1px solid #0d6efd !important;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out !important;
}

.bx-bootstrap5-form-container .btn-form-submit:hover,
.bx-bootstrap5-form-container input[name="web_form_submit"] hover {
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
    transform: translateY(-1px);
}

/* Кнопка СБРОСИТЬ */
.bx-bootstrap5-form-container .btn-form-reset,
.bx-bootstrap5-form-container input[type="reset"] {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    color: #212529 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out !important;
}

.bx-bootstrap5-form-container .btn-form-reset:hover,
.bx-bootstrap5-form-container input[type="reset"]:hover {
    background-color: #e2e6ea !important;
    border-color: #dae0e5 !important;
    color: #212529 !important;
}

/* Кнопка ПРИМЕНИТЬ */
.bx-bootstrap5-form-container .btn-form-apply {
    background-color: transparent !important;
    border: 1px solid #0d6efd !important;
    color: #0d6efd !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out !important;
}

.bx-bootstrap5-form-container .btn-form-apply:hover {
    background-color: rgba(13, 110, 253, 0.08) !important;
}

/* Состояние Disabled для всех кнопок управления */
.bx-bootstrap5-form-container button:disabled,
.bx-bootstrap5-form-container input:disabled {
    opacity: 0.6 !important;
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    transform: none !important;
}
/* End */
/* /bitrix/templates/bs_education_s1/components/bitrix/form.result.new/web_form/style.css?17826717765156 */
