/* Modernized site-wide announcement banners: Notice (green), Reminder (blue), Promotion (orange),
   Bulletin (red), and League Commissioners Only (baby blue). All five render the exact same
   .announcementContainer/.announcementHeader/.announcementTable markup (just a different color modifier
   class and icon), so this is scoped globally to those shared classnames rather than to one page -- unlike
   most other modernized components, these banners appear identically on every page via the layout, not on
   a single page that needs isolating from the rest of the app.

   Kept as-is: the color-coded header backgrounds (Red/Green/Blue/BabyBlue/Orange/Yellow) and each variant's
   matching white-or-black close icon (cancelWhite_24x24.png vs cancelBlack_24x24.png) -- swapping those would
   need coordinated icon changes per color, so only shape/spacing/shadow are modernized here, not the color
   logic itself. */

.announcementContainer {
  clear: both;
  margin: 16px 0 14px 0;
  border: 1px solid #e2e6f2;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(11, 26, 103, 0.08);
  overflow: hidden;
}

.announcementHeader {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 10px 16px;
  position: relative;
}

.announcementCloseButton {
  float: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 0;
  line-height: 0;
}

.announcementCloseButton img {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.announcementCloseButton a:hover img {
  opacity: 1;
}

.announcementTable {
  width: 100%;
  border-width: 0;
  border-spacing: 0;
  background: #fff;
}

.announcementImage {
  width: 44px;
  padding: 14px 6px 14px 16px;
  border-color: transparent;
  vertical-align: middle;
}

.announcementImage img {
  display: block;
  max-width: 32px;
  max-height: 32px;
}

.announcementContent {
  text-align: left;
  padding: 14px 16px 14px 8px;
  font-size: 13px;
  line-height: 1.6;
  vertical-align: middle;
}

.failedEmailAlert.announcementContainer {
  border-color: #f0c36d;
}
