
/* for frontend css */

#faqAccordion {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Style the FAQ search box container */
.faq-search-container {
    margin-bottom: 20px;
    text-align: center;
}

.faq-search-box {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.faq-search-box:focus {
    outline: none;
    border-color: #007bff;
}

/* Accordion item styling */
.accordion-item {
    /* border: 1px solid #ddd; */
    margin-bottom: 10px;
    border-radius: 4px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    /* background-color: #fff; */
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    
}

/* Accordion header button */
.accordion-button {
    /* background-color: #f8f9fa; */
    background-color:transparent;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 4px;
    box-shadow: none;
    transition: background-color 0.3s ease;
}

/* Hover effect for accordion button */
.accordion-button:hover {
    background-color: #e9ecef;
}

/* When the accordion is collapsed */
.accordion-button.collapsed {
    background-color: #f1f1f1;
}

/* Accordion collapse effect */
.accordion-body {
    padding: 15px;
    background-color: #f8f9fa;
    font-size: 16px;
    line-height: 1.6;
}

/* Styling for 'No results found' message */
.no-results-message {
    text-align: center;
    font-size: 16px;
    color: #d9534f;
    font-weight: bold;
    margin-top: 20px;
}

/* Optional: Style for the empty accordion if no FAQ items */
.accordion-item.no-faqs {
    background-color: #f8f9fa;
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 18px;
}

@media (max-width: 768px) {
    .faq-search-box {
        width: 80%;
    }
}
