/* ===== FAQ Wrapper ===== */
.if-faq-wrapper {
    width: 100%;
    margin-bottom: 30px;
    font-family: Arial, sans-serif;
}

/* ===== Search Box ===== */
.if-search {
    margin-bottom: 15px;
}
.if-search-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* ===== Accordion / Toggle ===== */
.if-faq-item, .if-faq-toggle {
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.if-faq-question {
    padding: 12px 15px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
}

.if-faq-question:hover {
    background-color: #f9f9f9;
}

.if-icon {
    margin-right: 8px;
    font-weight: bold;
}

.if-faq-answer {
    padding: 12px 15px;
    display: none;
    line-height: 1.6;
}

/* Open class */
.if-faq-item.if-open .if-faq-answer,
.if-faq-toggle.if-open .if-faq-answer {
    display: block;
}

/* ===== List Template ===== */
.if-faq-list {
    margin-bottom: 10px;
}
.if-faq-list strong {
    display: block;
    margin-bottom: 5px;
}

/* ===== Classic Template ===== */
.if-faq-classic {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #fafafa;
}
.if-faq-classic h4 {
    margin: 0 0 8px;
}

/* ===== Card Template ===== */
.if-faq-card {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 6px;
    background-color: #fff;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.if-faq-card .if-faq-question {
    font-weight: bold;
    font-size: 16px;
}
.if-faq-card .if-faq-answer {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 768px){
    .if-faq-question, .if-faq-answer {
        padding: 10px;
    }
    .if-faq-card {
        padding: 12px;
    }
}
