/* User Profile page -- ported from legacy's user_profile_modern.css. Shared card shell lives in
   card_component.css; this file has what's specific to this page's own layout. Four sibling .card-header +
   .card sections stacked on one page (Identification, User Settings, Email Notifications, Mailing Address). */
.userProfilePage {
  max-width: 750px;
}

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

.userProfilePage .card-header {
  padding: 12px 20px;
}

.userProfilePage .card {
  margin-bottom: 20px;
}

.userProfilePage .card-body {
  padding: 18px 20px;
}

.userProfilePage .userProfileIdentification {
  background: var(--ptfg-bg-card-tint);
  border: 1px solid var(--ptfg-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: #333;
  line-height: 1.7;
}

.userProfilePage .userProfileFootnote {
  margin-top: 14px;
  padding: 12px 16px;
  font-size: 13px;
  color: #555;
}

.userProfilePage .userProfileFormGroup {
  margin-bottom: 16px;
}

.userProfilePage .userProfileFormGroup:last-child {
  margin-bottom: 0;
}

.userProfilePage .userProfileFormGroup label {
  display: block;
  color: #333;
  font-weight: 700;
  margin-bottom: 4px;
}

/* Radio option labels (e.g. "Always (Sent Weds AM)") stay normal weight -- only the field's own label (e.g.
   "Set Lineup Reminder") is bold, matching legacy's plain (non-<b>) option text. Declared after the rule
   above so it wins the tie on equal specificity. */
.userProfilePage .userProfileRadio label {
  display: inline;
  font-weight: 400;
  margin-bottom: 0;
}

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

.userProfilePage select.form-control {
  max-width: 400px;
  width: 100%;
}

.userProfilePage .userProfileMailingAddress select.form-control {
  max-width: 240px;
}

/* Matches the Country select's 240px above -- Postal Code doesn't need the general .form-control 320px,
   and lining the two up reads better since they sit side by side in the flow of the address fields. */
.userProfilePage #addressZip {
  max-width: 240px;
}

/* Narrower than the general select.form-control 400px -- flag names are short (even "District of
   Columbia" fits), so the field doesn't need to be nearly as wide as Time Zone. */
.userProfilePage #userFlag {
  max-width: 240px;
}

/* Matches the other narrow fields above -- capped at 20 chars server-side (maxlength: 20), so it doesn't
   need the general .form-control 320px either. */
.userProfilePage #countryClub {
  max-width: 240px;
}

.userProfilePage .userProfileFormGroup small {
  display: block;
  margin-top: 4px;
  color: #6c757d;
  font-size: 12px;
}

.userProfilePage .userFlagLabelRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.userProfilePage .userFlagLabelRow label {
  margin: 0;
}

.userProfilePage #userFlagImage {
  display: block;
  max-height: 20px;
}

.userProfilePage .userProfileRadio {
  margin-bottom: 4px;
}

.userProfilePage .userProfileSubmitButton {
  display: block;
  width: 100%;
  max-width: 160px;
  background: var(--ptfg-navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  padding: 8px 16px;
  box-shadow: 0 1px 3px rgba(11, 26, 103, 0.2);
  cursor: pointer;
}

.userProfilePage .userProfileSubmitButton:hover {
  background: var(--ptfg-info);
}
