/* Modernized Commish "Assign Other Prizes" page. Scoped under .modernPrizesOtherPage so it never
   affects the public Prizes tab (app/views/prizes_view) or the Season/Segment prizes page, which reuse
   some of the same section class names (.prizesMajorsOnly, .prizesBestBall, .prizesSkins, etc.).
   Structure/IDs used by the in-place-editor JS (prototype.js) are left untouched -- only colors/spacing/
   borders change, plus the always-empty spacer <td> columns were removed from the markup (verified no
   sortable_element/ordinalizePrizesTable JS depends on cell position for these partials). */

.modernPrizesOtherPage #prizesPageTile {
  color: #0b1a67;
  font-size: 22px;
  margin-bottom: 16px;
}

.modernPrizesOtherPage .prizesAdminBusy {
  font-size: 13px;
  color: #6b7280;
  font-weight: 400;
}

.modernPrizesOtherPage .alert-warning {
  background: #fff8e8;
  border: none;
  border-left: 4px solid #e8a83c;
  border-radius: 6px;
  color: #6b4d10;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
}

.modernPrizesOtherPage .alert-warning ol {
  margin-top: 6px;
}

.modernPrizesOtherPage .prizesSectionBottomSpacer {
  margin-bottom: 22px;
}

.modernPrizesOtherPage .prizesAdminHeader {
  color: #0b1a67;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.modernPrizesOtherPage .prizesMajorsOnly,
.modernPrizesOtherPage .prizesPgaPlayoffs,
.modernPrizesOtherPage .prizesCommissionersCup,
.modernPrizesOtherPage .prizesBestBall,
.modernPrizesOtherPage .prizesSkins,
.modernPrizesOtherPage .prizesInTheMoney,
.modernPrizesOtherPage .prizesInTheMoneyMulti {
  display: block;
  width: fit-content;
  border: 1px solid #e2e6f2;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(11, 26, 103, 0.06);
  padding: 14px 16px 16px;
  background: #fff;
}

.modernPrizesOtherPage table {
  border-collapse: collapse;
}

.modernPrizesOtherPage thead td {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 6px 10px;
  color: #0b1a67;
  background: #f4f6fb;
}

.modernPrizesOtherPage thead td:first-child {
  border-radius: 4px 0 0 4px;
}

.modernPrizesOtherPage thead td:last-child {
  border-radius: 0 4px 4px 0;
  text-align: center;
}

.modernPrizesOtherPage tbody tr {
  border-bottom: 1px solid #f0f2f8;
}

.modernPrizesOtherPage tbody tr:hover {
  background-color: #f4f6fb;
}

.modernPrizesOtherPage tbody td {
  padding: 6px 10px;
  font-size: 13px;
}

.modernPrizesOtherPage td.centerText {
  text-align: center;
}

.modernPrizesOtherPage .prizesMajorsOnly table,
.modernPrizesOtherPage .prizesPgaPlayoffs table,
.modernPrizesOtherPage .prizesCommissionersCup table,
.modernPrizesOtherPage .prizesBestBall table,
.modernPrizesOtherPage .prizesSkins table,
.modernPrizesOtherPage .prizesInTheMoneyMulti table {
  width: 190px;
}

.modernPrizesOtherPage .prizesMajorsOnly td:first-child,
.modernPrizesOtherPage .prizesPgaPlayoffs td:first-child,
.modernPrizesOtherPage .prizesCommissionersCup td:first-child,
.modernPrizesOtherPage .prizesBestBall td:first-child,
.modernPrizesOtherPage .prizesSkins td:first-child,
.modernPrizesOtherPage .prizesInTheMoneyMulti td:first-child {
  width: 60px;
}

.modernPrizesOtherPage .prizesInTheMoney table {
  width: 320px;
}

.modernPrizesOtherPage .prizesInTheMoney td:first-child {
  width: 40px;
}

.modernPrizesOtherPage .prizesInTheMoney td:nth-child(3) {
  width: 90px;
}

.modernPrizesOtherPage input[type="text"] {
  border: 1px solid #cfd4e0;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 13px;
  width: 90px;
}

.modernPrizesOtherPage input[type="text"]:focus {
  outline: none;
  border-color: #1c5bc4;
  box-shadow: 0 0 0 3px rgba(28, 91, 196, 0.15);
}

.modernPrizesOtherPage input[type="submit"] {
  border: 1px solid #0b1a67;
  border-radius: 6px;
  background: #0b1a67;
  color: #fff;
  font-weight: 600;
  padding: 5px 12px;
  margin-left: 6px;
}

.modernPrizesOtherPage input[type="submit"]:disabled {
  background: #cfd4e0;
  border-color: #cfd4e0;
  color: #8b93a7;
}

/* in_place_editor's "cancel" link (Season/Segment page's version of this same link gets accidentally
   colored red by its delete-X link rule -- style it explicitly here and there so both pages match). */
.modernPrizesOtherPage a.editor_cancel_link {
  display: inline-block;
  color: #6b7280;
  font-weight: 400;
  font-size: 13px;
  text-decoration: none;
  margin-left: 10px;
}

.modernPrizesOtherPage a.editor_cancel_link:hover {
  color: #374151;
  text-decoration: underline;
}

.modernPrizesOtherPage .prizesNote,
.modernPrizesOtherPage .prizesAdminNote {
  font-size: 11px;
  color: #6b7280;
  margin-top: 8px;
}
