.sg-notifications {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
  transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sg-notifications--header-visible {
  top: 90px;
}
.sg-notification {
  --gradient: linear-gradient(180deg, #2eadff 0%, #3d83ff 50%, #7e61ff 100%);
  --color: #2eadff;
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  pointer-events: auto;
  width: 18rem;
  max-width: calc(100vw - 40px);
  padding: 1.2rem 1.5rem 1.2rem 1.75rem;
  border-radius: 1.1rem;
  background: transparent;
  color: #fff;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.sg-notification::before {
  content: "";
  position: absolute;
  inset: 0.1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(45, 43, 41, 0.6) 0%, rgba(23, 23, 22, 0.6) 100%);
  z-index: 1;
}
.sg-notification::after {
  content: "";
  position: absolute;
  inset: 0.7rem auto 0.7rem 0.55rem;
  width: 0.3rem;
  border-radius: 0.2rem;
  background: var(--gradient);
  z-index: 3;
  transition: transform 0.3s ease;
}
.sg-notification--show {
  transform: translateX(0);
  opacity: 1;
}
.sg-notification__glow,
.sg-notification__border-glow {
  position: absolute;
  width: 20rem;
  height: 20rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle closest-side at center, rgba(255, 255, 255, 0.65), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.sg-notification__border-glow {
  z-index: 0;
}
.sg-notification__glow {
  z-index: 2;
}
.sg-notification__content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 0.7rem;
}
.sg-notification__title {
  color: var(--color);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.35;
  word-break: break-word;
}
.sg-notification--success {
  --gradient: linear-gradient(180deg, #4caf50 0%, #2f9640 100%);
  --color: #4caf50;
}
.sg-notification--error {
  --gradient: linear-gradient(180deg, #ff4d4f 0%, #c62828 100%);
  --color: #dc3545;
}
.sg-notification--info {
  --gradient: linear-gradient(180deg, #ffd86a 0%, #ffaf2c 100%);
  --color: var(--prime);
}
.sg-notification--warning {
  --gradient: linear-gradient(180deg, #ffb84d 0%, #ff9800 100%);
  --color: #ff9800;
}
@media screen and (max-width: 720px) {
  .sg-notifications {
    top: 10px;
    right: 10px;
    left: 10px;
  }
  .sg-notifications--header-visible {
    top: 70px;
  }
  .sg-notification {
    width: 100%;
    padding: 1rem 1.25rem 1rem 1.6rem;
    font-size: 0.95rem;
  }
  .sg-notification::after {
    inset: 0.55rem auto 0.55rem 0.5rem;
    width: 0.26rem;
  }
  .sg-notification__content {
    gap: 0.6rem;
  }
  .sg-notification__title {
    font-size: 0.77rem;
  }
}
