/* Modernized "Edit Site Wide [Notice/Reminder/Promotion]" and "Edit Commissioners Only Message" admin forms.
   All four share the exact same Commish::BaseAnnouncementController-driven markup as the already-modernized
   "Edit Site Wide Bulletin" page (commish_site_bulletin_modern.css), just with a different text_area field name
   and page_title color modifier -- rules combined here across all four wrapper classes rather than duplicated.
   Scoped so it never affects other pages that reuse the shared _save_and_clear_buttons.rhtml partial (targeted
   here via its existing #saveButton/#clearButton ids, left untouched in the partial itself) or the global
   .ptfgWhiteOnBlue class. */

.modernSiteNoticePage #pageTitle,
.modernSiteReminderPage #pageTitle,
.modernSitePromotionPage #pageTitle,
.modernSiteCommissionersOnlyPage #pageTitle {
  margin-bottom: 12px;
}

.modernSiteNoticePage .form-group,
.modernSiteReminderPage .form-group,
.modernSitePromotionPage .form-group,
.modernSiteCommissionersOnlyPage .form-group {
  max-width: 850px;
  margin-top: 10px;
  margin-bottom: 16px;
}

.modernSiteNoticePage textarea.form-control,
.modernSiteReminderPage textarea.form-control,
.modernSitePromotionPage textarea.form-control,
.modernSiteCommissionersOnlyPage textarea.form-control {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd4e0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 6px;
}

.modernSiteNoticePage textarea.form-control:focus,
.modernSiteReminderPage textarea.form-control:focus,
.modernSitePromotionPage textarea.form-control:focus,
.modernSiteCommissionersOnlyPage textarea.form-control:focus {
  outline: none;
  border-color: #1c5bc4;
  box-shadow: 0 0 0 3px rgba(28, 91, 196, 0.15);
}

.modernSiteNoticePage #saveButton,
.modernSiteReminderPage #saveButton,
.modernSitePromotionPage #saveButton,
.modernSiteCommissionersOnlyPage #saveButton {
  border: none;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(11, 26, 103, 0.2);
}

.modernSiteNoticePage #clearButton,
.modernSiteReminderPage #clearButton,
.modernSitePromotionPage #clearButton,
.modernSiteCommissionersOnlyPage #clearButton {
  background: #fff;
  color: #0b1a67;
  border: 1px solid #cfd4e0;
  border-radius: 6px;
  font-weight: 600;
}

.modernSiteNoticePage #clearButton:hover,
.modernSiteReminderPage #clearButton:hover,
.modernSitePromotionPage #clearButton:hover,
.modernSiteCommissionersOnlyPage #clearButton:hover {
  background: #f4f6fb;
}
