/* Admin "Site Wide Notice/Promotion/Reminder/Commissioners Only" editor pages -- ported from legacy's
   admin_site_announcement_forms_modern.css, which is itself the same treatment as
   commish_site_bulletin_modern.css (already ported as commish_site_bulletin.css) shared across 4 wrapper
   classes. Kept as 4 separate scoping classes here too, combined via comma-selectors below, so none of them
   leak into each other or into Site Bulletin.

   Each page's title color comes from the css_class passed to page_title (ptfgGreen/ptfgOrange/ptfgBlue/
   ptfgBabyBlue, per legacy) -- but the global #pageTitle rule (application.css) sets color via an ID
   selector, which beats any of those class selectors on specificity alone. Setting color directly on each
   page's own #pageTitle here is what actually makes it win (same fix as commish_site_bulletin.css's red
   title). ptfgBlue is legacy's navy (#0b1a67), the same as #pageTitle's own default, so Reminder needs no
   override at all. */

.adminSiteNoticePage #pageTitle {
  margin-bottom: 12px;
  color: var(--ptfg-green);
}

.adminSitePromotionPage #pageTitle {
  margin-bottom: 12px;
  color: var(--ptfg-orange);
}

.adminSiteReminderPage #pageTitle {
  margin-bottom: 12px;
}

.adminSiteCommissionersOnlyPage #pageTitle {
  margin-bottom: 12px;
  color: #bbd9ee;
}

.adminSiteCommissionersOnlyNote {
  margin-top: -4px;
  margin-bottom: 16px;
}

.adminSiteNoticePage .text-muted,
.adminSitePromotionPage .text-muted,
.adminSiteReminderPage .text-muted,
.adminSiteCommissionersOnlyPage .text-muted {
  color: var(--ptfg-text-muted);
  display: block;
}

.adminSiteNoticePage .form-group,
.adminSitePromotionPage .form-group,
.adminSiteReminderPage .form-group,
.adminSiteCommissionersOnlyPage .form-group {
  max-width: 850px;
  margin-top: 10px;
  margin-bottom: 16px;
}

.adminSiteNoticePage textarea.form-control,
.adminSitePromotionPage textarea.form-control,
.adminSiteReminderPage textarea.form-control,
.adminSiteCommissionersOnlyPage textarea.form-control {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--ptfg-input-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 6px;
}

.adminSiteNoticePage textarea.form-control:focus,
.adminSitePromotionPage textarea.form-control:focus,
.adminSiteReminderPage textarea.form-control:focus,
.adminSiteCommissionersOnlyPage textarea.form-control:focus {
  outline: none;
  border-color: var(--ptfg-info);
  box-shadow: 0 0 0 3px rgba(28, 91, 196, 0.15);
}

.adminSiteAnnouncementButtons {
  display: flex;
  gap: 8px;
}

.adminSiteNoticePage #saveButton,
.adminSitePromotionPage #saveButton,
.adminSiteReminderPage #saveButton,
.adminSiteCommissionersOnlyPage #saveButton {
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(11, 26, 103, 0.2);
}

.adminSiteNoticePage #clearButton,
.adminSitePromotionPage #clearButton,
.adminSiteReminderPage #clearButton,
.adminSiteCommissionersOnlyPage #clearButton {
  background: #fff;
  color: var(--ptfg-navy);
  border: 1px solid var(--ptfg-input-border);
  border-radius: 6px;
  font-weight: 600;
}

.adminSiteNoticePage #clearButton:hover,
.adminSitePromotionPage #clearButton:hover,
.adminSiteReminderPage #clearButton:hover,
.adminSiteCommissionersOnlyPage #clearButton:hover {
  background: var(--ptfg-bg-tint);
}

.adminSiteNoticePage .adminSiteAnnouncementErrors,
.adminSitePromotionPage .adminSiteAnnouncementErrors,
.adminSiteReminderPage .adminSiteAnnouncementErrors,
.adminSiteCommissionersOnlyPage .adminSiteAnnouncementErrors {
  max-width: 850px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
