/* FAQ Table Styles */
.faq-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-table th,
.faq-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.faq-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.faq-table tr:hover {
    background: var(--bg-input);
}

.faq-question-cell {
    max-width: 300px;
}

.faq-answer-cell {
    max-width: 400px;
    color: var(--text-secondary);
}

.faq-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.faq-status-badge.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.faq-status-badge.inactive {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.order-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-input);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.order-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.order-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.order-number {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.faq-actions {
    display: flex;
    gap: 8px;
}

.faq-action-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-action-btn.edit {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.faq-action-btn.edit:hover {
    background: #3b82f6;
    color: white;
}

.faq-action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.faq-action-btn.delete:hover {
    background: #ef4444;
    color: white;
}

/* FAQ Stats Cards */
.faq-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.faq-stat-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border);
}

.faq-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.faq-stat-icon.total {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.faq-stat-icon.published {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.faq-stat-icon.draft {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.faq-stat-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.faq-stat-info p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

/* FAQ Filters Bar */
.faq-filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
}