/**
 * Estilos para el módulo de FAQs
 * RBL Web Ecolucerna
 */

/* Contenedor principal de FAQs */
.rbl-eco-faqs-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Card individual de FAQ */
.rbl-eco-faq-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.rbl-eco-faq-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* Header de la FAQ */
.rbl-eco-faq-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

/* Título de la FAQ */
.rbl-eco-faq-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
}

/* Contenido de la FAQ */
.rbl-eco-faq-content {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.75;
}

.rbl-eco-faq-content p {
    margin: 0 0 1rem 0;
}

.rbl-eco-faq-content p:last-child {
    margin-bottom: 0;
}

.rbl-eco-faq-content ul,
.rbl-eco-faq-content ol {
    margin: 0 0 1rem 1.5rem;
}

.rbl-eco-faq-content li {
    margin-bottom: 0.5rem;
}

.rbl-eco-faq-content a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.rbl-eco-faq-content a:hover {
    color: #1d4ed8;
}

/* Mensaje cuando no hay FAQs */
.rbl-eco-faqs-empty {
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
}

.rbl-eco-faqs-empty p {
    margin: 0;
    color: #6b7280;
    font-size: 1.125rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rbl-eco-faqs-container {
        padding: 1rem 0.5rem;
        gap: 1rem;
    }
    
    .rbl-eco-faq-card {
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    .rbl-eco-faq-title {
        font-size: 1.25rem;
    }
    
    .rbl-eco-faq-content {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .rbl-eco-faq-card {
        padding: 1.25rem;
    }
    
    .rbl-eco-faq-title {
        font-size: 1.125rem;
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .rbl-eco-faq-card {
        transition: none;
    }
    
    .rbl-eco-faq-card:hover {
        transform: none;
    }
}
