/* Add this to your shared.css or create a new CSS file for HTMX-specific styles */

/* FAQ answer styling */
.faq-answer {
    transition: all 0.3s ease-in-out;
}

/* When the answer is visible */
.faq-answer:not(.hidden) {
    opacity: 1;
    max-height: 500px;
    overflow: hidden;
}

/* When the answer is hidden */
.faq-answer.hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

/* Loading spinner for HTMX requests */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

.htmx-request .htmx-request-hidden {
    display: none;
}