/* ============================================================
   Dewgum Notifications
   Upload to: public_html/assets/css/notifications.css
   ============================================================ */

.dew-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dew-notify-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  text-decoration: none;
  transition: transform .14s ease;
}

.dew-notify-bell:hover,
.dew-notify-bell:focus-visible {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(26, 44, 88, .16);
  outline: none;
}

.dew-notify-bell-icon {
  font-size: 24px;
  line-height: 1;
}

.dew-notify-bell.has-unread {
  background: transparent;
  border: 0;
}

.dew-notify-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ff3f55;
  color: #ffffff;
  border: 3px solid #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 5px 10px rgba(0,0,0,.16);
}

.dew-notifications-outer {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 48px;
}

.dew-notifications-page {
  border-radius: 30px;
  border: 4px solid rgba(255, 255, 255, .88);
  background: linear-gradient(135deg, rgba(255, 246, 224, .96) 0%, rgba(255, 230, 238, .94) 45%, rgba(132, 220, 233, .94) 100%);
  box-shadow: 0 18px 34px rgba(13, 34, 63, .18);
  padding: 18px;
}

.dew-notifications-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .80);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.92);
}

.dew-notifications-kicker {
  margin: 0 0 4px;
  color: #ff5a2e;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.dew-notifications-title {
  margin: 0;
  color: #14213d;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .95;
}

.dew-notifications-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.dew-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #ff5a2e;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(255, 90, 46, .22);
}

.dew-btn:hover,
.dew-btn:focus-visible {
  filter: brightness(1.03);
  transform: translateY(-1px);
  outline: none;
}

.dew-btn-secondary {
  background: #ffffff;
  color: #12305a;
  box-shadow: inset 0 0 0 2px rgba(92, 210, 232, .65);
}

.dew-btn-primary {
  background: #18b9d4;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(24, 185, 212, .22);
}

.dew-notification-flash,
.dew-notification-empty,
.dew-notifications-list {
  margin-top: 14px;
}

.dew-notification-flash {
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  color: #12305a;
  font-weight: 800;
}

.dew-notification-empty {
  padding: 34px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  text-align: center;
  color: #14213d;
  font-weight: 900;
}

.dew-muted {
  color: rgba(20, 33, 61, .66);
  font-weight: 700;
}

.dew-notifications-list {
  display: grid;
  gap: 12px;
}

.dew-notification-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.80);
  border: 2px solid rgba(255,255,255,.82);
  box-shadow: 0 8px 16px rgba(26, 44, 88, .10);
}

.dew-notification-card.is-unread {
  border-color: rgba(255, 90, 46, .45);
  background: rgba(255,255,255,.92);
}

.dew-notification-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: #ffffff;
  font-size: 24px;
  box-shadow: inset 0 0 0 2px rgba(92, 210, 232, .35);
}

.dew-notification-title-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.dew-notification-card-title {
  margin: 0;
  color: #14213d;
  font-size: 20px;
  line-height: 1.15;
}

.dew-notification-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ff3f55;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.dew-notification-body {
  margin: 7px 0 0;
  color: #263653;
  font-weight: 750;
  line-height: 1.45;
}

.dew-notification-meta {
  margin-top: 8px;
  color: rgba(20, 33, 61, .58);
  font-size: 12px;
  font-weight: 800;
}

.dew-notification-side {
  display: flex;
  justify-content: flex-end;
}

.dew-link-button-form {
  margin: 0;
}

@media (max-width: 720px) {
  .dew-notifications-outer {
    width: min(100% - 18px, 1120px);
    margin-top: 14px;
  }

  .dew-notifications-page {
    padding: 12px;
    border-radius: 24px;
  }

  .dew-notifications-hero,
  .dew-notification-card {
    grid-template-columns: 1fr;
  }

  .dew-notifications-hero {
    align-items: flex-start;
  }

  .dew-notifications-actions,
  .dew-notification-side {
    justify-content: flex-start;
  }

  .dew-notification-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Header bell: absolutely positioned so it does not change the existing Dewgum nav layout. */
.dew-global-bar {
  position: relative;
}

.dew-notify-bell--header {
  position: absolute;
  left: 150px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 46px;
  height: 46px;
  flex: none;
}

.dew-notify-bell--header:hover,
.dew-notify-bell--header:focus-visible {
  transform: translateY(-52%);
}

@media (max-width: 820px) {
  .dew-notify-bell--header {
    left: 116px;
    width: 42px;
    height: 42px;
  }
}
.dew-notify-custom-icon{
    width:42px;
    height:42px;
    object-fit:contain;
    display:block;
}
.dew-global-nav a.dew-global-mail-link{
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

.dew-global-nav a.dew-global-mail-link:hover,
.dew-global-nav a.dew-global-mail-link:focus-visible{
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.dew-global-nav a.dew-global-mail-link img.dew-notify-custom-icon{
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}