/* FAQ Accordion Styles */
.sfa-accordion-container {
    max-width: 800px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
.sfa-faq-item {
    border: 1px solid #ddd;
    margin-bottom: 8px;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}
.sfa-faq-heading {
    background: #f7f7f7;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}
.sfa-faq-heading:hover {
    background: #efefef;
}
.sfa-faq-heading:focus {
    outline: 2px solid #0073aa;
    outline-offset: -2px;
}
.sfa-accordion-container .sfa-faq-heading h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}
.sfa-toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0073aa;
}
.sfa-faq-body {
    display: none;  /* hidden by default, JS will toggle */
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
}
.sfa-faq-content {
    line-height: 1.6;
    color: #555;
}
.sfa-faq-content p:first-child {
    margin-top: 0;
}
.sfa-faq-content p:last-child {
    margin-bottom: 0;
}

/* Admin drag-to-sort */
.sfa-drag-handle {
    cursor: grab;
    color: #999;
    text-align: center;
    width: 40px;
}
.sfa-drag-handle:hover {
    color: #0073aa;
}
.sfa-drag-handle:active {
    cursor: grabbing;
}
#sfa-faq-tbody tr:hover {
    background: #f0f6fc;
}
#sfa-faq-tbody tr.ui-sortable-helper {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: table;
    width: 100%;
}
.sfa-sort-placeholder {
    background: #e5f0fa;
    border: 2px dashed #0073aa;
    height: 45px;
    display: table-row;
    visibility: visible !important;
}