/* ========================================
   EXERCISE BROWSER TABLE (shared)
   The filterable exercise table used by the student Practice tab
   (student-homework.html) and the teacher Assign Homework panel
   (homework-dashboard.html). JS: /js/components/exerciseBrowserTable.js.
   Every rule is scoped under .exercise-browser-table (the wrapper on both
   pages) except the body-level drag/resize states and the drag ghost,
   which live on <body>.
   ======================================== */

/* Prevent horizontal touchpad swipe from triggering browser back/forward */
.exercise-browser-table .practice-grid {
  touch-action: pan-x pan-y pinch-zoom;
  overscroll-behavior-x: contain;
}

/* Toolbar above the practice table */
.exercise-browser-table .practice-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.exercise-browser-table .practice-info {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Gear / column-settings button */
.exercise-browser-table .settings-btn {
  padding: 0.6rem;
  background: #6564b6;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-left: auto;
  flex-shrink: 0;
}

.exercise-browser-table .settings-btn:hover {
  background: #534f9a;
  transform: scale(1.05);
}

.exercise-browser-table .settings-btn svg {
  display: block;
}

/* Outer wrapper — needed for scroll arrows to position against */
.exercise-browser-table .practice-grid-wrapper {
  position: relative;
  overflow: hidden;
}

/* Scrollable grid container — max-height makes it the scroll container so thead sticky works */
.exercise-browser-table .practice-grid {
  overflow-x: auto;
  overflow-y: auto;
  max-height: calc(100vh - 300px);
  scrollbar-width: thin;
  scrollbar-color: #c0c0c0 #f0f0f0;
}

.exercise-browser-table .practice-grid::-webkit-scrollbar {
  height: 12px;
}

.exercise-browser-table .practice-grid::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 6px;
}

.exercise-browser-table .practice-grid::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 6px;
  border: 2px solid #f0f0f0;
}

.exercise-browser-table .practice-grid::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

/* Practice table — mirrors .assignments-table */
.exercise-browser-table .practice-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  table-layout: fixed;
}

.exercise-browser-table .practice-table thead {
  background: #6564b6;
  color: white;
  position: sticky;
  top: 0;
  z-index: 5;
}

.exercise-browser-table .practice-table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  user-select: none;
  cursor: grab;
}

.exercise-browser-table .practice-table thead th.sortable {
  cursor: pointer;
}

.exercise-browser-table .practice-table thead th.sortable.sorted {
  background-color: #534f9a;
  font-weight: 700;
}

/* Stats-join columns (assigned, completed, avgScore, avgAttempts) — their
 * values are merged client-side after the server returns its filtered page,
 * so sort/filter on these columns only affect the visible 50 rows. The
 * dotted underline on the label is a hint; the native title attribute
 * carries the full explanation. */
.exercise-browser-table .practice-table thead th.has-page-only-limitation > span {
  text-decoration: underline dotted rgba(255, 255, 255, 0.55);
  text-underline-offset: 3px;
  cursor: help;
}

.exercise-browser-table .practice-table thead th:active {
  cursor: grabbing;
}

.exercise-browser-table .practice-table tbody tr {
  border-bottom: 1px solid #ececf4;
  transition: background 0.1s;
}

.exercise-browser-table .practice-table tbody tr:hover {
  background: #f9f9f9;
}

.exercise-browser-table .practice-table td {
  padding: 0.75rem 1rem;
  color: #666;
  vertical-align: middle;
}

/* Actions column */
.exercise-browser-table .practice-actions-col {
  width: 250px;
}

.exercise-browser-table .practice-actions-th {
  width: 250px;
  min-width: 250px;
}

.exercise-browser-table .actions-cell {
  white-space: nowrap;
  width: 250px;
  min-width: 250px;
}

.exercise-browser-table .actions-cell-inner {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Try / Assign-to-Me buttons */
.exercise-browser-table .preview-btn {
  padding: 0.35rem 0.85rem;
  background: white;
  color: #6564b6;
  border: 2px solid #6564b6;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}

.exercise-browser-table .preview-btn:hover {
  background: #f5f5f5;
}

.exercise-browser-table .assign-btn {
  padding: 0.35rem 0.85rem;
  background: #6564b6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}

.exercise-browser-table .assign-btn:hover {
  background: #534f9a;
}

.exercise-browser-table .assign-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Resize handle on table header cells */
.exercise-browser-table .practice-table .resize-handle {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  background: transparent;
  transition: background 0.2s;
  z-index: 1;
}

.exercise-browser-table .practice-table .resize-handle:hover,
.exercise-browser-table .practice-table .resize-handle:active {
  background: rgba(255, 255, 255, 0.4);
}

/* Body state while resizing */
body.column-resizing {
  cursor: col-resize !important;
  user-select: none;
}

body.column-resizing * {
  cursor: col-resize !important;
}

/* Header drag ghost */
.header-drag-ghost {
  position: fixed;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0.96;
  white-space: nowrap;
}

/* Body state during header drag */
body.header-dragging {
  cursor: grabbing !important;
  user-select: none;
}

body.header-dragging * {
  cursor: grabbing !important;
}

/* Source column faded while dragging */
.exercise-browser-table .practice-table th.header-drag-source {
  opacity: 0.4;
  background: #534f9a;
}

/* Drop target insertion marker (vertical line between headers) */
.exercise-browser-table .practice-table th.header-drop-target-before,
.exercise-browser-table .practice-table th.header-drop-target-after {
  position: relative;
}

.exercise-browser-table .practice-table th.header-drop-target-before::before,
.exercise-browser-table .practice-table th.header-drop-target-after::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #ff9800;
  pointer-events: none;
  z-index: 2;
}

.exercise-browser-table .practice-table th.header-drop-target-before::before {
  left: -3px;
}

.exercise-browser-table .practice-table th.header-drop-target-after::after {
  right: -3px;
}

/* Scroll arrows */
.exercise-browser-table .table-scroll-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 20;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

/* An arrow only takes clicks (and shows on hover) when the table can scroll
   that way; otherwise clicks reach the cells underneath (checkboxes, actions). */
.exercise-browser-table .table-scroll-btn:not(.is-active) {
  pointer-events: none;
}

.exercise-browser-table .table-scroll-btn.is-active:hover,
.exercise-browser-table .table-scroll-btn.is-active:active {
  opacity: 1;
}

.exercise-browser-table .table-scroll-right {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
}

.exercise-browser-table .table-scroll-left {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
}

.exercise-browser-table .scroll-btn-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  transition: transform 0.15s ease, top 0.05s ease;
  pointer-events: none;
}

.exercise-browser-table .table-scroll-right .scroll-btn-arrow {
  border-width: 12px 0 12px 16px;
  border-color: transparent transparent transparent #6564b6;
}

.exercise-browser-table .table-scroll-left .scroll-btn-arrow {
  border-width: 12px 16px 12px 0;
  border-color: transparent #6564b6 transparent transparent;
}

.exercise-browser-table .table-scroll-btn:hover .scroll-btn-arrow {
  transform: translateX(-50%) scale(1.2);
}

.exercise-browser-table .table-scroll-btn:active .scroll-btn-arrow {
  transform: translateX(-50%) scale(1.1);
}

/* Filter row */
.exercise-browser-table .practice-table thead .table-filter-row th {
  background: white;
  padding: 0.5rem;
  vertical-align: top;
  overflow: visible;
  border-bottom: 1px solid #ececf4;
  color: #333;
  font-weight: normal;
  cursor: default;
}

.exercise-browser-table .table-filter-cell {
  width: 100%;
}

.exercise-browser-table .table-filter-control {
  width: 100%;
  padding: 0.55rem 0.65rem;
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.2;
  font-family: "Lexend Deca", "Noto Sans", Helvetica, sans-serif;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.exercise-browser-table .table-filter-control:focus {
  outline: none;
  border-color: #6564b6;
}

.exercise-browser-table .table-filter-search {
  background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="%236564b6" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>') no-repeat 10px center;
  padding-left: 32px;
}

/* A choice filter with options ticked shows them as its placeholder: make
   that read as an active filter, not as a hint. */
.exercise-browser-table .table-filter-search.has-selection {
  border-color: #6564b6;
  background-color: #f4f3ff;
}

.exercise-browser-table .table-filter-search.has-selection::placeholder {
  color: #3d3c7e;
  font-weight: 600;
  opacity: 1;
}

/* ---- Closed-list multi-select filter (type / tag / familyName) ---- */
.exercise-browser-table .practice-choice-filter {
  width: 100%;
}
.exercise-browser-table .practice-date-filter-wrapper {
  position: relative;
  width: 100%;
}
.exercise-browser-table .practice-date-filter-button {
  width: 100%;
  min-height: 38px;
  padding: 0.55rem 0.65rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  font-size: 0.85rem;
  font-family: "Lexend Deca", "Noto Sans", Helvetica, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.exercise-browser-table .practice-date-filter-button:hover,
.exercise-browser-table .practice-date-filter-button:focus {
  border-color: #6564b6;
  outline: none;
}
.exercise-browser-table .practice-date-filter-button .dropdown-arrow {
  font-size: 0.7rem;
  color: #666;
}
.exercise-browser-table .practice-date-filter-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  /* Resize to fit dropdown content instead of inheriting table width. */
  width: max-content;
  min-width: 0;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  z-index: 10000;
  /* Allow enough height for preset list + future custom calendar. */
  max-height: 70vh;
  overflow-y: auto;
  /* Prevent ultra-wide layout when parent header cells are wide. */
  max-width: 90vw;
}
.exercise-browser-table .practice-date-filter-dropdown .date-option {
  padding: 0.6rem 0.8rem;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}
.exercise-browser-table .practice-date-filter-dropdown .date-option:hover {
  background: #f8f9fa;
}
.exercise-browser-table .practice-date-filter-dropdown .date-option.selected {
  background: #eceaff;
  color: #4a4a8a;
  font-weight: 600;
}
.exercise-browser-table .practice-choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.exercise-browser-table .practice-choice-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eceaff;
  color: #3d3c7e;
  border: 1px solid #c9c7ef;
  border-radius: 12px;
  padding: 2px 6px 2px 8px;
  font-size: 0.72rem;
  line-height: 1.2;
  max-width: 100%;
}
.exercise-browser-table .practice-choice-chip > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}
.exercise-browser-table .practice-choice-chip .chip-remove {
  background: none;
  border: none;
  color: #6564b6;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  margin: 0;
}
.exercise-browser-table .practice-choice-chip .chip-remove:hover {
  color: #d64545;
}

.exercise-browser-table .practice-choice-dropdown {
  position: fixed;
  z-index: 9999;
  background: white;
  border: 1px solid #c9c7ef;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  overscroll-behavior: contain;
  font-size: 0.85rem;
}
.exercise-browser-table .practice-choice-dropdown.edge-bounce-top {
  border-top-color: #d54747;
  box-shadow: 0 -3px 10px rgba(213, 71, 71, 0.45), 0 6px 20px rgba(0, 0, 0, 0.12);
}
.exercise-browser-table .practice-choice-dropdown.edge-bounce-bottom {
  border-bottom-color: #d54747;
  box-shadow: 0 10px 10px rgba(213, 71, 71, 0.45), 0 6px 20px rgba(0, 0, 0, 0.12);
}
.exercise-browser-table .practice-choice-options {
  padding: 4px 0;
}
.exercise-browser-table .practice-choice-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  cursor: pointer;
  user-select: none;
}
.exercise-browser-table .practice-choice-option:hover,
.exercise-browser-table .practice-choice-option.is-highlighted {
  background: #eceaff;
}
.exercise-browser-table .practice-choice-option input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}
/* Long names wrap rather than hide their count behind "…" */
.exercise-browser-table .practice-choice-option span {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.exercise-browser-table .practice-choice-empty,
.exercise-browser-table .practice-choice-hint {
  padding: 10px 12px;
  color: #888;
  font-size: 0.82rem;
  text-align: center;
}

/* Empty state */
.exercise-browser-table .practice-table .no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: #999;
  font-size: 1rem;
}

/* Skeleton loading rows */
.exercise-browser-table .skeleton-row {
  animation: ebt-pulse 1.5s ease-in-out infinite;
}

@keyframes ebt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.exercise-browser-table .skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: ebt-shimmer 1.5s infinite;
  border-radius: 4px;
  height: 20px;
}

@keyframes ebt-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.exercise-browser-table .skeleton-text {
  width: 100%;
  max-width: 150px;
}

.exercise-browser-table .skeleton-actions {
  width: 120px;
}

/* Column settings modal content */
.exercise-browser-table .column-settings-content {
  max-width: 400px;
}

.exercise-browser-table .column-settings-content .modal-header h3 {
  color: white;
}

.exercise-browser-table .settings-hint {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 1.5rem 0;
}

/* Scoped to the column-settings modal: grouped section for non-column toggles */
.exercise-browser-table .column-settings-content .settings-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e6e5f2;
}
.exercise-browser-table .column-settings-content .settings-section .settings-hint {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #3d3c7e;
}
.exercise-browser-table .settings-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  cursor: pointer;
  font-size: 0.9rem;
}
.exercise-browser-table .settings-toggle input[type="checkbox"] {
  cursor: pointer;
  flex-shrink: 0;
}
.exercise-browser-table .settings-note {
  margin: 0.35rem 0 0 1.75rem;
  font-size: 0.78rem;
  color: #888;
  line-height: 1.35;
}

/* Column checkbox list */
.exercise-browser-table .column-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.exercise-browser-table .column-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #f9f9f9;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.exercise-browser-table .column-checkbox:hover {
  background: #f0f0f0;
}

.exercise-browser-table .column-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #6564b6;
  cursor: pointer;
}

.exercise-browser-table .column-checkbox span {
  font-weight: 500;
  color: #333;
}

.exercise-browser-table .column-checkbox .drag-handle {
  color: #999;
  cursor: grab;
  user-select: none;
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.25rem;
  margin-left: auto;
}

.exercise-browser-table .column-checkbox .drag-handle:active {
  cursor: grabbing;
}

.exercise-browser-table .column-checkbox.dragging {
  opacity: 0.5;
  background: #e0e0e0;
}

.exercise-browser-table .column-checkbox.drag-over {
  border-top: 2px solid #6564b6;
  padding-top: calc(0.5rem - 2px);
}

/* Exercise type badge in practice table */
.exercise-browser-table .exercise-type-badge {
  font-size: 0.8rem;
  white-space: nowrap;
  color: #555;
}

/* Right-click context menu for practice table headers */
.exercise-browser-table .practice-header-context-menu {
  position: fixed;
  z-index: 2000;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  min-width: 180px;
  padding: 0.4rem 0;
  user-select: none;
}

.exercise-browser-table .context-menu-title {
  padding: 0.4rem 1rem 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
}

.exercise-browser-table .context-menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #333;
  transition: background 0.1s;
}

.exercise-browser-table .context-menu-item:hover {
  background: #f5f5ff;
}

.exercise-browser-table .context-menu-item input[type="checkbox"] {
  accent-color: #6564b6;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.exercise-browser-table .context-menu-divider {
  border-top: 1px solid #e0e0e0;
  margin: 0.3rem 0;
}

.exercise-browser-table .context-menu-settings-link {
  display: block;
  width: 100%;
  padding: 0.4rem 1rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.85rem;
  color: #6564b6;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.1s;
}

.exercise-browser-table .context-menu-settings-link:hover {
  background: #f5f5ff;
}

/* ========================================
   PRACTICE TABLE PAGINATION
   ======================================== */

.exercise-browser-table .practice-pagination-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.exercise-browser-table .practice-pagination-controls .pagination-btn {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #6564b6, #8ea5f6);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  min-width: 100px;
}

.exercise-browser-table .practice-pagination-controls .pagination-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(101, 100, 182, 0.3);
}

.exercise-browser-table .practice-pagination-controls .pagination-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.exercise-browser-table .practice-pagination-controls .pagination-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.exercise-browser-table .practice-pagination-controls .page-indicator {
  font-weight: 600;
  color: #333;
}

.exercise-browser-table .practice-pagination-controls .items-indicator {
  font-size: 0.875rem;
  color: #666;
}

.exercise-browser-table .practice-pagination-controls .page-size-selector {
  padding: 0.5rem;
  border: 2px solid #6564b6;
  border-radius: 8px;
  background: white;
  color: #333;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exercise-browser-table .practice-pagination-controls .page-size-selector:hover {
  border-color: #8ea5f6;
  box-shadow: 0 2px 8px rgba(101, 100, 182, 0.2);
}

@media (max-width: 768px) {
  .exercise-browser-table .practice-pagination-controls {
    flex-direction: column;
    gap: 1rem;
  }
  .exercise-browser-table .practice-pagination-controls .pagination-btn {
    width: 100%;
    min-width: auto;
  }
  .exercise-browser-table .practice-pagination-controls .pagination-info {
    order: -1;
  }
  .exercise-browser-table .practice-pagination-controls .page-size-selector {
    width: 100%;
  }
}

/* Stat cells — colour-coded by difficulty (avg score) */
.exercise-browser-table .stat-cell { font-variant-numeric: tabular-nums; }
.exercise-browser-table .stat-good { color: #1a7a3c; font-weight: 600; }
.exercise-browser-table .stat-mid { color: #b36a00; font-weight: 600; }
.exercise-browser-table .stat-hard { color: #b71c1c; font-weight: 600; }

/* Delete button in practice table */
.exercise-browser-table .practice-delete-btn {
  background: none;
  border: 1px solid #e53935;
  border-radius: 6px;
  color: #e53935;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.2rem 0.5rem;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.exercise-browser-table .practice-delete-btn:hover:not(:disabled) {
  background: #e53935;
  color: white;
}
.exercise-browser-table .practice-delete-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

