/* Modernized Commish "Assign Tournament Prizes" (weekly tournament prizes) page. Scoped under
   .modernPrizesTournamentsPage so it never affects other pages that reuse the same .card/.card-header/
   .card-block classes, or the .admin/.adminTable/.goldRow/.whiteRow/.centerText/.actionLink utility classes
   shared across dozens of other admin tables in the app. The table keeps its "sortable" class and goldRow/
   whiteRow row classes exactly as-is (sortable_us.js reads/writes those class names when a column header is
   clicked) -- only their appearance is restyled here, not their names or the table's DOM structure. */

.modernPrizesTournamentsPage .card-header #pageTitle {
  margin: 0;
  font-size: 20px;
}

.modernPrizesTournamentsPage .alert-danger {
  border: none;
  border-left: 4px solid #c30900;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
}

/* The table's cells use white-space: nowrap (application.css), so on narrow/mobile viewports the table can
   be wider than the screen -- allow horizontal scrolling within the wrapper instead of clipping columns. */
.modernPrizesTournamentsPage .tournamentsTableWrap {
  margin-top: 14px;
  border: 1px solid #e2e6f2;
  border-radius: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.modernPrizesTournamentsPage .tournamentsTableWrap table {
  width: 100%;
  margin: 0;
}

.modernPrizesTournamentsPage #tournamentsTable thead tr#header {
  background-color: #0b1a67;
}

.modernPrizesTournamentsPage #tournamentsTable thead tr#header td {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 5px 8px;
  border-color: #0b1a67;
  text-align: center;
}

.modernPrizesTournamentsPage #tournamentsTable thead tr#header td a.sortheader {
  color: #fff;
}

.modernPrizesTournamentsPage #tournamentsTable thead tr#header td a.sortheader:hover {
  color: #dde3f2;
}

.modernPrizesTournamentsPage #tournamentsTable tbody td {
  border-color: #e2e6f2;
  padding: 6px 8px;
  font-size: 12px;
}

.modernPrizesTournamentsPage #tournamentsTable td:nth-child(2) {
  width: 205px;
}

.modernPrizesTournamentsPage #tournamentsTable tbody tr.goldRow td {
  background-color: #dde3f2;
}

.modernPrizesTournamentsPage #tournamentsTable tbody tr.whiteRow td {
  background-color: #fff;
}

.modernPrizesTournamentsPage #tournamentsTable tbody tr.highlightCurrentTournamentRow td {
  background-color: #ff9933;
}

.modernPrizesTournamentsPage #tournamentsTable tbody tr:hover td {
  background-color: #eef1fa;
}

.modernPrizesTournamentsPage #tournamentsTable tbody tr.highlightCurrentTournamentRow:hover td {
  background-color: #ff9933;
}

.modernPrizesTournamentsPage #tournamentsTable .actionLink a {
  color: #0b1a67;
  font-weight: 600;
  text-decoration: none;
}

.modernPrizesTournamentsPage #tournamentsTable .actionLink a:hover {
  text-decoration: underline;
}
