/* Estilos para FAQs en el Frontend */

.faq-display-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.faq-display-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-display-header h2 {
    color: #2c3e50;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
}

.faq-display-header p {
    color: #7f8c8d;
    font-size: 18px;
    margin: 0;
}

/* Estilo Acordeón */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question-text {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-answer {
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

.faq-answer-content {
    padding: 0 25px 25px 25px;
    color: #34495e;
    line-height: 1.8;
}

.faq-answer-content p {
    margin: 0 0 15px 0;
    font-size: 16px;
}

/* Medios en FAQs */
.faq-media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.faq-media-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-media-item img {
    width: 100%;
    height: auto;
    display: block;
}

.faq-media-item video,
.faq-media-item iframe {
    width: 100%;
    border-radius: 8px;
}

/* Estilo Lista */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-list-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-list-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-list-question {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.faq-list-answer {
    color: #34495e;
    line-height: 1.8;
}

.faq-list-answer p {
    margin: 0 0 15px 0;
    font-size: 16px;
}

/* Mensaje cuando no hay FAQs */
.no-faqs-message {
    text-align: center;
    color: #7f8c8d;
    font-size: 18px;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-display-header h2 {
        font-size: 28px;
    }
    
    .faq-display-header p {
        font-size: 16px;
    }
    
    .faq-question-text {
        font-size: 16px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }
    
    .faq-list-question {
        font-size: 18px;
    }
    
    .faq-media {
        grid-template-columns: 1fr;
    }
}

