/* Modernized Commish "Send League Email" pages (current_season_users, all_users, individual_user). Scoped
   under .modernLeagueEmailPage, shared across all three since they render the same _subject_and_body.rhtml
   partial and should look identical. Note: .card-header is a sibling of .card in the current_season_users/
   all_users markup (not nested inside it), so both need matching max-width/borders/radius to visually read as
   one card -- same layout quirk handled on several other Commish pages. individual_user has no radio group
   (just a "To" user picker) so the card rules simply go unused there. */

.modernLeagueEmailPage #pageTitle {
  margin-bottom: 16px;
}

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

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

.modernLeagueEmailPage .card {
  max-width: 700px;
  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;
}

.modernLeagueEmailPage .card-block {
  padding: 14px 18px;
}

.modernLeagueEmailPage .leagueEmailRadioRow {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 13px;
  color: #333;
}

.modernLeagueEmailPage .leagueEmailRadioRow:last-child {
  margin-bottom: 0;
}

.modernLeagueEmailPage .leagueEmailRadioRow input[type="radio"] {
  flex: 0 0 auto;
  margin-top: 3px;
}

.modernLeagueEmailPage .leagueEmailRadioRow span {
  flex: 1 1 auto;
  min-width: 0;
}

.modernLeagueEmailPage .leagueEmailRadioRow i {
  color: #6b7280;
}

.modernLeagueEmailPage .leagueEmailUnsubscribedNote {
  background: #fff8e8;
  border: none;
  border-left: 4px solid #e8a83c;
  border-radius: 6px;
  color: #6b4d10;
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.6;
  max-width: 700px;
  box-sizing: border-box;
  margin-bottom: 16px;
}

.modernLeagueEmailPage .form-group {
  max-width: 700px;
}

.modernLeagueEmailPage .form-group label {
  font-weight: 700;
  color: #333;
}

.modernLeagueEmailPage #email_message_subject,
.modernLeagueEmailPage #email_message_body,
.modernLeagueEmailPage #user_email {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd4e0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
}

.modernLeagueEmailPage #email_message_subject:focus,
.modernLeagueEmailPage #email_message_body:focus,
.modernLeagueEmailPage #user_email:focus {
  outline: none;
  border-color: #1c5bc4;
  box-shadow: 0 0 0 3px rgba(28, 91, 196, 0.15);
}

.modernLeagueEmailPage .leagueEmailSubmitRow {
  margin-top: 16px;
  max-width: 200px;
}

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