.table td, .table th {
    padding: 0.5rem 0.6rem !important;
    text-align: center;
    vertical-align: middle;
}

#playersTable, #inactivePlayersTable {
    border-collapse: separate;
    border-spacing: 0;
}

#playersTable tbody tr, #inactivePlayersTable tbody tr {
    border-bottom: 1px solid var(--bs-border-color);
}

@media (max-width: 767px) {
    #playersTable td, #playersTable th,
    #inactivePlayersTable td, #inactivePlayersTable th {
        padding: 0.4rem 0.3rem !important;
    }

    .toolbar-row .btn {
        padding: 0.375rem 0.6rem;
    }

    .toolbar-row .scaled-icon {
        transform: scale(1);
    }

    /* Off by default (the page is primarily for player selection) - the toggle button lets
       someone who wants the full stat table on mobile reveal it, remembered per-device. */
    body.show-all-columns #playersTable td.d-none.d-md-table-cell,
    body.show-all-columns #playersTable th.d-none.d-md-table-cell,
    body.show-all-columns #inactivePlayersTable td.d-none.d-md-table-cell,
    body.show-all-columns #inactivePlayersTable th.d-none.d-md-table-cell {
        display: table-cell !important;
    }
}

/* "Not coming" (self-service answer) - irrelevant once an admin selects the player. */
.custom-selected .declined-badge {
    display: none;
}
