/* Modernized Commish "Edit Tournament Prizes" page (the per-tournament edit form reached via "Edit" from the
   weekly Tournament Prizes list). Scoped under .modernPrizesTournamentEditPage so it never affects other pages
   that reuse the same .card/.card-header/.ptfgCardHeader classes. Note: .card-header is a sibling of .card in
   this page's markup (not nested inside it), so both need matching max-width/borders/radius to visually read
   as one card -- same layout quirk handled on the Entry Fee Instructions page. */

.modernPrizesTournamentEditPage #pageTitle {
  margin-bottom: 18px;
}

.modernPrizesTournamentEditPage .row {
  margin: 0;
}

.modernPrizesTournamentEditPage .col-sm-10 {
  padding-left: 0;
  padding-right: 0;
  max-width: 600px;
  width: 100%;
}

.modernPrizesTournamentEditPage .card-header {
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  background: #f4f6fb;
  border: 1px solid #e2e6f2;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 10px 18px;
}

.modernPrizesTournamentEditPage .ptfgCardHeader {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #0b1a67;
}

.modernPrizesTournamentEditPage .card {
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e6f2;
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 26, 103, 0.06);
  margin-top: 0;
  margin-bottom: 0;
}

.modernPrizesTournamentEditPage .card-block {
  padding: 16px 18px;
}

.modernPrizesTournamentEditPage .form-control-label {
  color: #333;
}

.modernPrizesTournamentEditPage .applyToAllTournamentsRow {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
}

.modernPrizesTournamentEditPage .applyToAllTournamentsRow input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 3px;
}

.modernPrizesTournamentEditPage .applyToAllTournamentsRow label.form-control-label {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.modernPrizesTournamentEditPage input.form-control {
  max-width: 220px;
}

.modernPrizesTournamentEditPage select.form-control {
  max-width: 320px;
}

.modernPrizesTournamentEditPage .text-muted {
  color: #6b7280;
}

.modernPrizesTournamentEditPage .btn.ptfgWhiteOnBlue {
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(11, 26, 103, 0.2);
}
