/* FAQ Page Styles */

/* Accordion animations */
.accordion-content {
    max-height: 0 !important;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out, opacity 0.3s ease-out;
    padding: 0 !important;
    opacity: 0;
    display: block;
}

.accordion-content.open {
    max-height: 2000px !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    opacity: 1 !important;
    display: block !important;
}

.accordion-trigger {
    transition: all 0.2s ease;
}

.accordion-trigger:hover {
    color: hsl(var(--p));
}

.accordion-chevron {
    transition: transform 0.3s ease;
}

.accordion-chevron.open {
    transform: rotate(180deg);
}

/* Hero gradient background */
/*.faq-hero-gradient {
    background: linear-gradient(135deg, rgba(78, 168, 222, 0.1) 0%, rgba(219, 234, 254, 1) 50%, rgba(249, 250, 251, 1) 100%);
}*/

/*[data-theme="dark"] .faq-hero-gradient,
.dark .faq-hero-gradient {
    background: linear-gradient(135deg, #141820 0%, #1A2332 50%, #0A0A0D 100%);
}*/

/* Category button hover effects */
.category-btn {
    transition: all 0.2s ease;
    cursor: pointer;
}

.category-btn:hover {
    transform: translateY(-1px);
}

/* Search input focus */
.input:focus {
    outline: none;
    border-color: hsl(var(--p));
    box-shadow: 0 0 0 2px hsl(var(--p) / 0.2);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* FAQ item transitions */
.faq-item {
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Hidden state for filtering */
.faq-item.hidden {
    display: none;
}

/* No results message animation */
#noResults {
    animation: fadeIn 0.3s ease-in;
}

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

/* RTL support for icons */
[dir="rtl"] .accordion-chevron {
    margin-right: 0.5rem;
    margin-left: 0;
}

[dir="ltr"] .accordion-chevron {
    margin-left: 0.5rem;
    margin-right: 0;
}

