/* ================================================== */
/* ALERTAS PERSONALIZADAS - CASA XUUNAN              */
/* ================================================== */

.xuunan-alert {
    padding: 20px 25px;
    border-radius: 12px;
    margin: 20px 0;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.xuunan-alert i {
    font-size: 24px;
    flex-shrink: 0;
}

.xuunan-alert span {
    flex: 1;
}

/* Alerta de éxito */
.xuunan-alert-success {
    background: linear-gradient(135deg, #7baf89 0%, #e2bad4 100%);
    color: #ffffff;
    border-left: 5px solid #312b24;
}

.xuunan-alert-success i {
    color: #ffffff;
}

/* Alerta de error */
.xuunan-alert-error {
    background: linear-gradient(135deg, #e2bad4 0%, #7baf89 100%);
    color: #ffffff;
    border-left: 5px solid #c94a4a;
}

.xuunan-alert-error i {
    color: #ffffff;
}

/* Animación de entrada */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Errores inline (los existentes) */
.error {
    color: #c94a4a;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .xuunan-alert {
        padding: 15px 20px;
        font-size: 14px;
    }

    .xuunan-alert i {
        font-size: 20px;
    }
}

/* Efecto hover en el botón de envío (opcional) */
#send_message {
    transition: all 0.3s ease;
}

#send_message:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(123, 175, 137, 0.3);
}

/* ================================================== */
/* FIX PARA INPUTS DEL FORMULARIO DE CONTACTO        */
/* ================================================== */

/* Asegurar que todos los inputs tengan los mismos estilos */
#contact_form input[type='text'],
#contact_form input[type='email'],
#contact_form input[type='tel'],
#contact_form textarea {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 10px 15px !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

/* Placeholder styles */
#contact_form input::placeholder,
#contact_form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Focus state */
#contact_form input:focus,
#contact_form textarea:focus {
    border-color: #7baf89 !important;
    outline: none !important;
    background-color: rgba(123, 175, 137, 0.05) !important;
}

/* Textarea específico */
#contact_form textarea {
    min-height: 150px !important;
    resize: vertical !important;
}
