/* Modernized Admin "Assign Golfer Winnings" page (admin/winnings#index). Scoped under .modernGolferWinningsPage
   so it never affects other pages that reuse the same .card/.tournamentBar/.editRowInputHeader/.ptfgWhiteOnBlue
   classes. The .tournamentBar wrapper that _tournament_header.rhtml already provides is used directly here
   (the view previously double-wrapped it in an extra outer .tournamentBar div, which has been removed). */

.modernGolferWinningsPage #pageTitle {
  margin-bottom: 12px;
}

.modernGolferWinningsPage .golferWinningsUploadRow {
  margin-bottom: 14px;
}

.modernGolferWinningsPage .golferWinningsUploadRow .btn {
  border-radius: 6px;
  font-weight: 600;
}

.modernGolferWinningsPage .tournamentBar {
  margin-bottom: 18px;
  font-size: 16px;
}

.modernGolferWinningsPage .golferWinningsForm {
  clear: both;
}

.modernGolferWinningsPage .card {
  max-width: 500px;
  border: 1px solid #e2e6f2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 26, 103, 0.06);
  margin-bottom: 16px;
}

.modernGolferWinningsPage .card-block {
  padding: 0;
}

.modernGolferWinningsPage .editRowInputHeader {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.modernGolferWinningsPage .editRowInputHeader thead tr {
  background-color: #0b1a67;
}

.modernGolferWinningsPage .editRowInputHeader thead th {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.4px;
  padding: 8px 10px;
  border: none;
}

.modernGolferWinningsPage .editRowInputHeader tbody td {
  border-bottom: 1px solid #e2e6f2;
  padding: 6px 10px;
  font-size: 13px;
}

.modernGolferWinningsPage .editRowInputHeader tbody tr:hover td {
  background-color: #eef1fa;
}

.modernGolferWinningsPage .editRowInputHeader input[type="text"] {
  border: 1px solid #cfd4e0;
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 12px;
}

.modernGolferWinningsPage .editRowInputHeader input[type="text"]:disabled {
  background: #f4f6fb;
  color: #6b7280;
}

.modernGolferWinningsPage .golferWinningsEditButton {
  border: 1px solid #cfd4e0;
  border-radius: 6px;
  background: #fff;
  color: #0b1a67;
  font-weight: 600;
  font-size: 11px;
  padding: 3px 10px;
}

.modernGolferWinningsPage .golferWinningsEditButton:hover {
  background: #f4f6fb;
}

.modernGolferWinningsPage .editRowInputHeader tfoot td {
  background: #f8f9fc;
  padding: 8px 10px;
  font-size: 12px;
  color: #6b7280;
  border-top: 1px solid #e2e6f2;
}

.modernGolferWinningsPage #saveWinningsButton {
  float: left;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(11, 26, 103, 0.2);
}

.modernGolferWinningsPage #saveWinningsButton:disabled {
  opacity: 0.5;
  box-shadow: none;
}
