/* Modernized Commish Entry Fees page. Scoped under .modernEntryFeesPage so it never affects other admin
   pages that reuse the same .card/.card-header/.adminLabel/.dropDownLabel/.editRowInputHeader/
   .highlightRowForEdit classes elsewhere. */

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

.modernEntryFeesPage .card-header #pageTitle::before {
  content: "\1F9FE";
  display: inline-block;
  margin-right: 8px;
}

.modernEntryFeesPage .entryFeesWarning {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #fdecea;
  border-left: 4px solid #c30900;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #7a1a10;
  max-width: 800px;
}

.modernEntryFeesPage .dropDownLabel {
  font-size: 16px;
}

.modernEntryFeesPage .entryFeesStats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 6px;
}

.modernEntryFeesPage .entryFeesStats .btn.adminLabel {
  display: block;
  height: auto;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  opacity: 1;
  box-shadow: none;
}

.modernEntryFeesPage .entryFeesStats .btn.adminLabel.btn-primary {
  background-color: #eaf2fc;
  border: 1px solid #cfe0f7;
  color: #1c3f66;
}

.modernEntryFeesPage .entryFeesStats .btn.adminLabel.btn-danger {
  background-color: #fdecea;
  border: 1px solid #f3c5c0;
  color: #7a1a10;
}

.modernEntryFeesPage .card {
  max-width: 800px;
  border: 1px solid #e2e6f2;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(11, 26, 103, 0.06);
  background: #f4f6fb;
  overflow: hidden;
}

.modernEntryFeesPage .card-header {
  background: #f4f6fb;
  border: none;
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.modernEntryFeesPage .editRowInputHeader {
  width: 100%;
}

.modernEntryFeesPage .editRowInputHeader thead th {
  color: #fff;
  background-color: #0b1a67;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 8px 4px;
  border-bottom: none;
}

.modernEntryFeesPage .editRowInputHeader thead th:first-child {
  border-radius: 6px 0 0 6px;
}

.modernEntryFeesPage .editRowInputHeader thead th:last-child {
  border-radius: 0 6px 6px 0;
}

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

.modernEntryFeesPage .editRowInputHeader tbody tr:last-child {
  border-bottom: none;
}

.modernEntryFeesPage .editRowInputHeader tbody td {
  padding: 6px 4px;
}

.modernEntryFeesPage .editRowInputHeader tbody tr:hover:not(.highlightRowForEdit) td {
  background-color: #dde3f2;
}

.modernEntryFeesPage .highlightRowForEdit {
  background-color: #fff8e1;
}

.modernEntryFeesPage #saveButton,
.modernEntryFeesPage #cancelButton {
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(11, 26, 103, 0.2);
}
