/* Commish New/Edit User form -- reuses .userProfilePage's own styling (card shell, .userProfileFormGroup,
   .form-control, submit button, error box) since this form renders the exact same
   user_profile/_user_settings, _email_notifications, _mailing_address partials as the User Profile page
   itself -- see user_profile.css / card_component.css. This file only has what's unique to the commish
   version: the User Info card's intro text and checkbox rows, and the admin-only Trophy Adjustments table. */

/* Extra breathing room below the validation-error box, scoped to this page only -- .userProfileFootnote
   itself (user_profile.css) is shared with the User Profile page and doesn't need it there. */
.commishUserFormPage .userProfileFootnote {
  margin-bottom: 18px;
}

.commishUserFormPage .commishUserFormIntro {
  margin-bottom: 16px;
  padding: 10px 14px;
}

/* Notes is free text, unlike the other .form-control fields on this page -- let it use the full card
   width instead of the general .userProfilePage .form-control 320px cap. */
.commishUserFormPage #userNotes {
  max-width: 100%;
}

/* The placeholder ("Name of referring league member (optional)") wraps to a second line at the general
   .form-control 320px cap -- widen just enough for it to fit on one line. */
.commishUserFormPage #referredBy {
  max-width: 400px;
}

.commishUserFormPage .commishUserFormCheckboxGroup {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.commishUserFormPage .commishUserFormCheckboxGroup label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.commishUserFormPage .commishUserFormCheckboxGroup small {
  color: #6c757d;
  font-size: 12px;
}

.commishUserFormPage .commishTrophyAdjustTable {
  border-collapse: collapse;
  font-size: 13px;
}

.commishUserFormPage .commishTrophyAdjustTable th,
.commishUserFormPage .commishTrophyAdjustTable td {
  padding: 4px 8px;
  border: none;
  text-align: left;
}

.commishUserFormPage .commishTrophyAdjustTable th:nth-child(2),
.commishUserFormPage .commishTrophyAdjustTable th:nth-child(3),
.commishUserFormPage .commishTrophyAdjustTable td:nth-child(2),
.commishUserFormPage .commishTrophyAdjustTable td:nth-child(3) {
  text-align: center;
}

.commishUserFormPage .commishTrophyAdjustInput {
  width: 40px;
  max-width: 40px;
  text-align: center;
  border: 1px solid var(--ptfg-input-border);
  border-radius: 6px;
  padding: 3px 4px;
  font-size: 13px;
}
