/* Modernized "Contact Us" page. Scoped under .modernContactUsPage so it never affects other pages that reuse
   the same .card/.card-header/.ptfgCardHeader classes. 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 handled on the Entry Fee Instructions / Change Password pages. */

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

.modernContactUsPage .row.col-sm-10 {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: 700px;
}

.modernContactUsPage .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: 12px 20px;
  color: #0b1a67 !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.modernContactUsPage .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;
}

.modernContactUsPage .card-block {
  padding: 20px;
}

.modernContactUsPage .card-block .container {
  padding: 0;
  max-width: 100%;
}

.modernContactUsPage .alert-warning {
  background: #fff8e8;
  border: none;
  border-left: 4px solid #e8a83c;
  border-radius: 6px;
  color: #6b4d10;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.modernContactUsPage .form-inline {
  display: block;
}

/* Each "Send To" checkbox + label pair is a lone <div> with a checkbox followed by an inline-block label. A
   long label (e.g. "Website Administrator (...)") won't fit next to the checkbox on the remaining line width,
   so the whole label -- being inline-block -- drops entirely to a fresh line instead of wrapping next to the
   checkbox. Make each row a flex container so the checkbox stays aligned with the label's first line, however
   long the label text is. */
.modernContactUsPage .form-inline > div {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
}

.modernContactUsPage .form-inline > div input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 3px;
}

.modernContactUsPage .form-inline > div label.checkboxLabel {
  flex: 1 1 auto;
  min-width: 0;
}

.modernContactUsPage .checkboxLabel {
  font-weight: 400;
  margin-left: 0;
}

.modernContactUsPage .form-group label {
  color: #333;
}

.modernContactUsPage .emailMessage,
.modernContactUsPage .form-group label {
  font-weight: 700;
}

.modernContactUsPage .form-control {
  max-width: 420px;
}

.modernContactUsPage textarea.form-control,
.modernContactUsPage #email_message_subject {
  max-width: 100%;
  width: 100%;
}

.modernContactUsPage .importantNote {
  margin-bottom: 10px;
}

.modernContactUsPage .g-recaptcha {
  margin-top: 4px;
}

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