#recaptcha-1,#recaptcha-2 {
	display: flex;
    justify-content: center;
    margin-top: 15px;	
}
 

.f-button {
    display: inline-block;
    padding: 12px 25px; /* Чуть больше кнопка */
    background-color: #f16c2d;
    color: white;
    border: none;
    border-radius: 8px; /* Более скругленные углы */
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease-out, transform 0.1s ease-out;
}

.f-button:hover {
    background-color: #d9551c;
    transform: translateY(-1px); /* Небольшой подъем при ховере */
}

/* Модальное окно */
.f-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    padding-top: 50px;
    padding-bottom: 50px;
    overflow-y: auto;
}

.f-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.6); /* Используем цвет текста с прозрачностью */
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.f-modal--open .f-modal__overlay {
     opacity: 1;
}


.f-modal__container {
    position: relative;
    max-width: 480px; /* Немного уже для элегантности */
    width: 90%;
    margin: 0 auto;
    background-color: #ffffff; /* Белый фон контейнера */
    border-radius: 12px; /* Более скругленные углы */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Более выраженная тень */
    padding: 40px; /* Больше внутренних отступов */
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.f-modal--open .f-modal__container {
    opacity: 1;
    transform: translateY(0);
}

.f-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px !important;
    line-height: 1 !important;
    color: #95a5a6 !important;
    cursor: pointer !important;
    transition: color 0.2s ease-out, transform 0.2s ease-out;
    padding: 0 !important;
    background-color: transparent !important;
}

.f-modal__close:hover {
    color: #f16c2d !important; /* Оранжевый при наведении */
    transform: rotate(90deg); /* Эффект при наведении */
}

.f-modal__title {
    margin-bottom: 30px; /* Больше отступ */
    text-align: center;
    color: #172f3b;
    font-size: 24px; /* Крупнее заголовок */
    font-weight: 600;
}

/* --- Начало обновленных стилей формы --- */

.f-modal__form-group {
    margin-bottom: 0px; 
}

.f-modal__label {
    display: block;
    margin-bottom: 8px; /* Немного больше отступ от инпута */
    color: #34495e; /* Темно-серый синий */
    font-weight: 500; /* Средняя жирность */
    font-size: 15px; /* Чуть меньше */
}

.f-modal__input {
    width: 100%;
    padding: 12px 15px; /* Увеличим внутренние отступы */
    border: 1px solid #dcdcdc; /* Светло-серая рамка */
    border-radius: 8px; /* Более скругленные углы */
    background-color: #ffffff; /* Чистый белый фон */
    color: #2c3e50;
    font-size: 16px;
    transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out; /* Плавный переход */
}

.f-modal__input::placeholder { /* Стиль плейсхолдера */
    color: #bdc3c7; /* Светло-серый плейсхолдер */
}

.f-modal__input:focus {
    outline: none; /* Убираем стандартный outline */
    border-color: #f16c2d; /* Оранжевая рамка при фокусе */
    box-shadow: 0 0 0 3px rgba(241, 108, 45, 0.15); /* Мягкая тень при фокусе */
}

.f-modal__input--error {
    border-color: #e74c3c; /* Красный для ошибки */
    background-color: #fffafa; /* Очень легкий розовый фон для ошибки */
}

.f-modal__input--error:focus {
     border-color: #e74c3c;
     box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15); /* Красная тень при фокусе на ошибке */
}


.f-modal__error {
    color: #e74c3c; /* Красный цвет ошибки */
    font-size: 13px; /* Чуть меньше текст ошибки */
    margin-top: 6px; /* Отступ сверху */
    min-height: 18px; /* Резервируем место */
}

.f-modal__button {
    width: 100%;
    padding: 14px 20px; /* Крупнее кнопка */
    background-color: #f16c2d;
    color: white !important;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600; /* Жирнее текст */
    margin-top: 10px;
    letter-spacing: 0.5px; /* Небольшой разрядка */
    transition: background-color 0.2s ease-out, transform 0.1s ease-out, box-shadow 0.2s ease-out;
    box-shadow: 0 4px 10px rgba(241, 108, 45, 0.2); /* Тень под цвет кнопки */
}

.f-modal__button:hover {
	color: #000 !important;
    background-color: #d9551c;
    transform: translateY(-2px); /* Больший подъем при ховере */
    box-shadow: 0 6px 12px rgba(241, 108, 45, 0.3); /* Усиленная тень при ховере */
}

.f-modal__form-error {
    color: #e74c3c;
    text-align: center;
    margin-top: 15px;
    min-height: 20px;
    font-size: 14px;
}

 

/* Адаптивность */
@media (max-width: 768px) {
    .f-modal__container {
        padding: 30px; /* Уменьшаем паддинг на планшетах */
        width: 90%;
    }
}

@media (max-width: 480px) {
 
    .f-modal {
        padding-top: 20px; /* Меньше отступ сверху */
        padding-bottom: 20px;
    }
    .f-modal__container {
        padding: 25px; /* Еще меньше паддинг */
        width: 92%;
        border-radius: 10px;
    }
    .f-modal__title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    .f-modal__input,
    .f-modal__button {
        font-size: 15px;
        padding: 12px 15px; /* Уменьшим паддинги для инпутов */
    }
    .f-modal__button {
        padding: 12px 15px; /* Уменьшим паддинги для кнопки */
    }
    .f-modal__label {
         font-size: 14px;
    }
    .f-modal__error,
    .f-modal__form-error {
        font-size: 12px;
    }
    .f-modal__close {
        font-size: 26px;
        top: 10px;
        right: 10px;
    }
}