.ai-faq-container {
    width: 100%;
}

.ai-faq-item {
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ai-faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Accordion Layout */
.ai-faq-accordion .ai-faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    user-select: none;
    transition: background 0.2s ease;
}

.ai-faq-accordion .ai-faq-question:hover {
    background: #f0f0f0;
}

.ai-faq-accordion .ai-faq-question.active {
    background: #e9ecef;
    border-bottom: none;
}

.ai-faq-question-text {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
}

.ai-faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #666;
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.ai-faq-item.active .ai-faq-icon {
    transform: rotate(45deg);
}

.ai-faq-accordion .ai-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fff;
}

.ai-faq-accordion .ai-faq-item.active .ai-faq-answer {
    max-height: 1000px;
    padding: 20px;
}

/* List Layout */
.ai-faq-list .ai-faq-question {
    padding: 15px 20px;
    font-weight: 600;
    font-size: 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.ai-faq-list .ai-faq-answer {
    padding: 20px;
    background: #fff;
}

.ai-faq-answer {
    line-height: 1.6;
    color: #333;
}

.ai-faq-answer p {
    margin: 0 0 10px 0;
}

.ai-faq-answer p:last-child {
    margin-bottom: 0;
}

.ai-faq-empty {
    padding: 20px;
    text-align: center;
    color: #666;
    background: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .ai-faq-question-text {
        font-size: 14px;
    }

    .ai-faq-accordion .ai-faq-question,
    .ai-faq-list .ai-faq-question {
        padding: 12px 15px;
    }

    .ai-faq-accordion .ai-faq-item.active .ai-faq-answer,
    .ai-faq-list .ai-faq-answer {
        padding: 15px;
    }
}

