/* Accordion FAQ Styles */
#accordion-faq-container {
    max-width: 100%;
    margin: 20px auto;
    font-family: inherit;
}

.faq-search-container {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

#faq-search {
    width: 60%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-right: 10px;
}

#faq-search:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

#faq-search-btn, #faq-clear-search {
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

#faq-search-btn:hover, #faq-clear-search:hover {
    background: #005a87;
}

#faq-clear-search {
    background: #666;
}

#faq-clear-search:hover {
    background: #444;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

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

.faq-question {
    padding: 20px;
    background: #f8f8f8;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #e5e5e5;
}

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

.faq-question.active {
    background: #e8f4fd;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding: 20px;
    color: #555;
    line-height: 1.6;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

/* Responsive Design */
@media (max-width: 768px) {
    #accordion-faq-container {
        margin: 10px;
    }

    #faq-search {
        width: 100%;
        margin-bottom: 10px;
    }

    #faq-search-btn, #faq-clear-search {
        width: 48%;
        margin-right: 2%;
    }

    #faq-clear-search {
        margin-right: 0;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-question, .faq-answer p {
        padding: 15px;
    }
}

/* Loading Animation */
.faq-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.faq-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}