.sfm-faq-container {
    max-width: 800px;
    margin: 2em auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.sfm-search-container {
    margin-bottom: 2em;
}

.sfm-search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.sfm-accordion {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.sfm-faq-item {
    border-bottom: 1px solid #ddd;
}

.sfm-faq-item:last-child {
    border-bottom: none;
}

.sfm-faq-question {
    padding: 15px 20px;
    background-color: #f8f9fa;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.sfm-faq-question:hover {
    background-color: #e9ecef;
}

.sfm-toggle-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
}

.sfm-toggle-icon::before,
.sfm-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: #666;
    transition: transform 0.3s ease;
}

.sfm-toggle-icon::before {
    width: 12px;
    height: 2px;
    top: 5px;
    left: 0;
}

.sfm-toggle-icon::after {
    width: 2px;
    height: 12px;
    left: 5px;
    top: 0;
}

.sfm-faq-item.active .sfm-toggle-icon::after {
    transform: rotate(90deg);
}

.sfm-faq-answer {
    display: none;
    padding: 20px;
    background-color: #fff;
}

.sfm-faq-categories {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.sfm-category-badge {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 5px 5px 0;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
}

.sfm-no-faqs {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Animation för accordion */
.sfm-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.sfm-faq-item.active .sfm-faq-answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}
