.adebeo-notice-box {
  background: var(--adebeo-notice-bg, #006270);
  border-radius: 8px;
  box-shadow: none;
  box-sizing: border-box;
  color: var(--adebeo-notice-color, #fff);
  line-height: 1.55;
  margin: 16px 0;
  padding: 20px;
  width: 100%;
}

.adebeo-notice-box * {
  color: inherit;
}

.adebeo-notice-box__title {
  font-weight: 700;
  margin: 0 0 8px;
}

.adebeo-notice-box__body > :first-child,
.adebeo-notice-toast__body > :first-child {
  margin-top: 0;
}

.adebeo-notice-box__body > :last-child,
.adebeo-notice-toast__body > :last-child {
  margin-bottom: 0;
}

.adebeo-notice-box a,
.adebeo-notice-toast a:not(.button) {
  color: inherit;
  text-decoration: underline;
}

.adebeo-notices-toast-root {
  align-items: center;
  background: rgba(0, 0, 0, 0);
  display: flex;
  flex-direction: column;
  gap: 12px;
  inset: 0;
  justify-content: center;
  padding: 18px;
  pointer-events: none;
  position: fixed;
  transition: background-color 180ms ease;
  z-index: 99999;
}

.adebeo-notices-toast-root:not(:empty) {
  background: rgba(0, 0, 0, 0.42);
  pointer-events: auto;
}

.adebeo-notice-toast {
  background: var(--adebeo-notice-bg, #006270);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
  color: var(--adebeo-notice-color, #fff);
  line-height: 1.5;
  max-width: 420px;
  opacity: 0;
  padding: 22px;
  pointer-events: auto;
  position: relative;
  transform: translate3d(0, 10px, 0) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
  width: min(420px, 100%);
}

.adebeo-notice-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.adebeo-notice-toast * {
  color: inherit;
}

.adebeo-notice-toast__close {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  font: inherit;
  height: 28px;
  justify-content: center;
  line-height: 1;
  opacity: 0.85;
  padding: 0;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
}

.adebeo-notice-toast__close:hover,
.adebeo-notice-toast__close:focus {
  opacity: 1;
}

.adebeo-notice-toast__title {
  font-weight: 700;
  margin: 0 28px 8px 0;
}

.adebeo-notice-toast__body {
  margin-right: 18px;
}

.adebeo-notice-toast__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.adebeo-notice-toast__actions .button {
  margin: 0;
  text-align: center;
}

@media (max-width: 600px) {
  .adebeo-notice-box {
    padding: 18px;
  }

  .adebeo-notices-toast-root {
    align-items: stretch;
    justify-content: center;
    padding: 12px;
  }

  .adebeo-notice-toast {
    max-width: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adebeo-notice-toast {
    transition: none;
  }
}
