.sortable-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Important for column widths */
}

.sortable-table th, .sortable-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    overflow: hidden; /* Hide overflow text */
    white-space: nowrap; /* Prevent wrapping */
    text-overflow: ellipsis; /* Show ellipsis for overflow */
}

.sortable-table th {
    background-color: #f2f2f2;
}
.sortable-table th a{
  text-decoration: none;
  color: #333;
}
.sortable-table th a:hover{
  text-decoration: underline;
}

/* Define column widths. Adjust as needed */
.sortable-table th:nth-child(1),
.sortable-table td:nth-child(1) {
    width: 25px;   /* Card # */
}

.sortable-table th:nth-child(2),
.sortable-table td:nth-child(2) {
    width: 50px;   /* Name (flexible width) */
}

.sortable-table th:nth-child(3),
.sortable-table td:nth-child(3) {
     width: 40px;  /* Artist */
}

/* Responsive rules for smaller screens */
@media screen and (max-width: 600px) {
    .sortable-table th:nth-child(1),
    .sortable-table td:nth-child(1) {
        width: 60px;
    }

     .sortable-table th:nth-child(3),
    .sortable-table td:nth-child(3) {
        width: 100px;
    }
}
