/* Application styles */

/* Sortable table headers */
.sortable-header {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.sortable-header:hover {
  text-decoration: underline;
}

.sort-indicator {
  font-size: 0.75em;
  opacity: 0.7;
}

/* Resource table improvements */
.Box-body table {
  border-collapse: separate;
  border-spacing: 0;
}

/* Responsive table wrapper */
.Box-body[style*="overflow-x"] {
  scrollbar-width: thin;
  scrollbar-color: #d1d5da #f6f8fa;
}

.Box-body[style*="overflow-x"]::-webkit-scrollbar {
  height: 8px;
}

.Box-body[style*="overflow-x"]::-webkit-scrollbar-track {
  background: #f6f8fa;
}

.Box-body[style*="overflow-x"]::-webkit-scrollbar-thumb {
  background-color: #d1d5da;
  border-radius: 4px;
}

.Box-body[style*="overflow-x"]::-webkit-scrollbar-thumb:hover {
  background-color: #959da5;
}

/* Table cells with ellipsis on hover show pointer */
td[title] {
  cursor: help;
}
