.custom-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #D4AF37 transparent;
}

.custom-table::-webkit-scrollbar {
    height: 6px;
}

.custom-table::-webkit-scrollbar-track {
    background: transparent;
}

.custom-table::-webkit-scrollbar-thumb {
    background-color: #D4AF37;
    border-radius: 3px;
}

.custom-table table {
    border-collapse: collapse;
    width: auto;
    min-width: 600px;
    margin: 20px 0;
    border: none;
    display: table;
    background-color: transparent;
}

.custom-table th,
.custom-table td {
    border: 1px solid #000;
    padding: 6px 30px;
    text-align: center !important;
}

.custom-table th {
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.custom-table tbody tr:nth-child(even) {
    background-color: rgba(212, 175, 55, 0.10);
}

.custom-table tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.02);
}

.custom-table tbody tr:hover:not(.latest-version) {
    background-color: rgba(212, 175, 55, 0.18);
}

.custom-table code {
    background-color: rgba(212, 175, 55, 0.12) !important;
    color: #e6d7a0 !important;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 3px;
    padding: 2px 5px;
}

.custom-table tr:hover code {
    background-color: rgba(212, 175, 55, 0.18) !important;
}

.latest-version {
    background-color: rgba(224, 156, 28, 1) !important;
    color: #000 !important;
    font-weight: bold;
}

.latest-version td {
    color: #000 !important;
    background: none !important;
    border-color: #000 !important;
}

.latest-version code {
    background: rgba(0, 0, 0, 0.2) !important;
    color: #000 !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.latest-version:hover {
    background-color: rgb(245, 198, 68) !important;
}

th[aria-sort="ascending"]::after {
    content: " ▲";
    font-size: 0.7em;
    vertical-align: middle;
}

th[aria-sort="descending"]::after {
    content: " ▼";
    font-size: 0.7em;
    vertical-align: middle;
}