#system-message-container:empty {
  display: none;
}

joomla-alert {
  --gsg-alert-accent: #0171cd;
  --gsg-alert-on: #ffffff;
  position: relative;
  display: flex;
  min-width: 16rem;
  margin: 0 0 1rem;
  overflow: hidden;
  font-size: 0.9375rem;
  color: #585858;
  background: #ffffff;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 8px 40px -6px rgba(105, 104, 178, 0.18);
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
}
joomla-alert[type=success] {
  --gsg-alert-accent: #02c2bb;
  --gsg-alert-on: #111111;
}
joomla-alert[type=info] {
  --gsg-alert-accent: #0171cd;
}
joomla-alert[type=warning] {
  --gsg-alert-accent: #ffc15e;
  --gsg-alert-on: #111111;
}
joomla-alert[type=danger] {
  --gsg-alert-accent: #f95860;
  --gsg-alert-on: #111111;
}
#system-message-container joomla-alert + joomla-alert {
  margin-top: 0.75rem;
}
joomla-alert .alert-heading {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3rem;
  margin: 0;
  color: var(--gsg-alert-on);
  background: var(--gsg-alert-accent);
}
joomla-alert .alert-heading > span:not(.visually-hidden)::before {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  content: "";
  background-color: currentcolor;
  -webkit-mask: var(--gsg-alert-icon) center/contain no-repeat;
  mask: var(--gsg-alert-icon) center/contain no-repeat;
}
joomla-alert .alert-heading .success,
joomla-alert .alert-heading .message {
  --gsg-alert-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='9'/%3e%3cpath d='m8 12.5 2.5 2.5L16 9.5'/%3e%3c/svg%3e");
}
joomla-alert .alert-heading .info,
joomla-alert .alert-heading .notice {
  --gsg-alert-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='9'/%3e%3cpath d='M12 11v5M12 8h.01'/%3e%3c/svg%3e");
}
joomla-alert .alert-heading .warning {
  --gsg-alert-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M10.3 4.2 2.6 17.5a2 2 0 0 0 1.7 3h15.4a2 2 0 0 0 1.7-3L13.7 4.2a2 2 0 0 0-3.4 0z'/%3e%3cpath d='M12 9.5v4M12 17h.01'/%3e%3c/svg%3e");
}
joomla-alert .alert-heading .danger,
joomla-alert .alert-heading .error {
  --gsg-alert-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='9'/%3e%3cpath d='m9 9 6 6M15 9l-6 6'/%3e%3c/svg%3e");
}
joomla-alert .alert-wrapper {
  flex: 1 1 auto;
  min-width: 0;
}
joomla-alert .alert-message {
  padding: 0.875rem 3.25rem 0.875rem 1rem;
}
joomla-alert .alert-message + .alert-message {
  border-top: 1px solid #e7e7e7;
}
joomla-alert .alert-link,
joomla-alert a {
  color: #115b7e;
}
joomla-alert .joomla-alert--close,
joomla-alert .joomla-alert-button--close {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: #737373;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 3px;
}
joomla-alert .joomla-alert--close:hover, joomla-alert .joomla-alert--close:focus-visible,
joomla-alert .joomla-alert-button--close:hover,
joomla-alert .joomla-alert-button--close:focus-visible {
  color: #111111;
  background: #f1f0f1;
}

[dir=rtl] joomla-alert .alert-message {
  padding: 0.875rem 1rem 0.875rem 3.25rem;
}
[dir=rtl] joomla-alert .joomla-alert--close,
[dir=rtl] joomla-alert .joomla-alert-button--close {
  right: auto;
  left: 0.375rem;
}

@keyframes joomla-alert-fade-in {
  0% {
    opacity: 0;
  }
}
@keyframes joomla-alert-fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  joomla-alert {
    animation-duration: 1ms !important;
  }
}