/* Modernized Commissioner's Home page. Scoped under .modernCommishHomePage so it never affects other pages
   that reuse the same .card/.card-header/.card-block/.ptfgCardHeader/.ptfgButtonRed classes used elsewhere
   in the admin/commish section. */

.modernCommishHomePage .row {
  margin: 0;
}

.modernCommishHomePage .col-sm-10 {
  padding-left: 0;
  padding-right: 0;
}

/* 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 as the Home page. */
.modernCommishHomePage .card-header {
  max-width: 900px;
  box-sizing: border-box;
  background: #fdecea;
  border: 1px solid #f3c5c0;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 12px 20px;
}

.modernCommishHomePage .card {
  max-width: 900px;
  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: 20px;
}

.modernCommishHomePage .ptfgCardHeader {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modernCommishHomePage .card-block {
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modernCommishHomePage .btn-group {
  margin-bottom: 0;
}

.modernCommishHomePage .ptfgButtonRed {
  color: white;
  background-color: #c30900;
  border: 1px solid #c30900;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(195, 9, 0, 0.25);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.modernCommishHomePage .ptfgButtonRed:hover {
  background-color: #a30800;
  border-color: #a30800;
  box-shadow: 0 2px 6px rgba(195, 9, 0, 0.3);
}

.modernCommishHomePage .dropdown-menu {
  border: 1px solid #e2e6f2;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(11, 26, 103, 0.12);
}

.modernCommishHomePage .dropdown-item:hover {
  background-color: #fdecea;
}
