/* Responsive Tables CSS */
/* Custom styles for wide tables like UseCasesConfig */

.table-responsive {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table th {
    background-color: #f8f9fa;
    border-top: none;
    font-weight: 600;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
}

/* Improve action buttons spacing */
.action-buttons {
    min-width: 120px;
}

/* Better responsive behavior */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .action-buttons {
        min-width: 80px;
    }
}

/* Sticky actions column */
.table th:last-child,
.table td:last-child {
    position: sticky;
    right: 0;
    background-color: white;
    z-index: 1;
    border-left: 1px solid #dee2e6;
}

.table th:last-child {
    background-color: #f8f9fa;
}

/* Column Toggle Styles */
#columnToggle .card-body {
    background-color: #f8f9fa;
}

#columnToggle .form-check {
    margin-bottom: 0.5rem;
}

#columnToggle .form-check-label {
    font-size: 0.875rem;
    cursor: pointer;
}

#columnToggle .btn {
    margin-right: 0.5rem;
}

/* Column toggle button */
.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Responsive column visibility classes are handled by Bootstrap */
/* d-none d-md-table-cell, d-none d-lg-table-cell, etc. */