/* =============================================================================
   ESTILOS PARA FORMULARIO DE CONTACTO - REX MEDIA
   Archivo: css/contact-form.css
============================================================================= */

/* Contenedor del reCAPTCHA */
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Estilos para mensajes de respuesta */
.form-message .alert {
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Estilo del botón de envío */
.submit-btn {
    background-color: #ffc400 !important;
    border: 1px solid #ffc400 !important;
    color: #fff !important;
    display: inline-block;
    font-size: 13px;
    font-weight: normal;
    margin-top: 35px;
    padding: 10px 40px 8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.submit-btn:hover {
    background-color: transparent !important;
    color: #666 !important;
    border: 1px solid #ffc400 !important;
}

/* Responsive para reCAPTCHA */
@media (max-width: 768px) {
    .recaptcha-container {
        transform: scale(0.77);
        transform-origin: center;
    }
}

@media (max-width: 576px) {
    .recaptcha-container {
        transform: scale(0.65);
    }
}

/* Asegurar que los campos requeridos se vean bien */
.form-control:required {
    border-left: 3px solid #ffc400;
}

.form-control:focus {
    border-color: #ffc400;
    box-shadow: 0 0 5px rgba(255, 196, 0, 0.3);
}