.tx-chili-faq-generator {
    margin: 2rem 0;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.faq-category-description {
    margin-bottom: 2rem;
    color: #666;
}

.faq-accordion {
    border-top: 1px solid #e0e0e0;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 1rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question:focus {
    outline: 2px solid #0066cc;
    outline-offset: -2px;
}

.faq-question-text {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    transition: transform 0.3s;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-item.is-open .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
    overflow: hidden;
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer-content {
    padding: 1rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-no-results {
    padding: 2rem;
    text-align: center;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-category-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem 0.75rem;
    }

    .faq-answer-content {
        padding: 0.75rem;
    }
}