.ng-toast-stack {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(420px, calc(100vw - 28px));
  pointer-events: none;
}

.ng-toast {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(18, 22, 19, 0.18), 0 2px 10px rgba(18, 22, 19, 0.08);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.ng-toast-enter {
  animation: notification-enter 260ms cubic-bezier(.16, 1, .3, 1) both;
}

.ng-toast.is-leaving {
  animation: notification-leave 220ms ease forwards;
}

.ng-toast-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 12px;
}

.ng-toast-ic {
  width: 34px;
  height: 34px;
  border: 1px solid;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ng-toast-ic .lucide {
  width: 18px;
  height: 18px;
}

.ng-toast-text {
  min-width: 0;
  flex: 1;
}

.ng-toast-title,
.ng-toast-msg {
  margin: 0;
}

.ng-toast-title {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.25;
}

.ng-toast-msg {
  margin-top: 3px;
  color: var(--fg-2, #343935);
  font-size: 12.5px;
  line-height: 1.45;
}

.ng-toast-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fg-4, #949B97);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ng-toast-close:hover {
  background: rgba(18, 22, 19, 0.07);
  color: var(--fg-2, #343935);
}

.ng-toast-close .lucide {
  width: 16px;
  height: 16px;
}

.ng-toast-bar {
  height: 3px;
  background: rgba(18, 22, 19, 0.08);
  transform: translateZ(0);
}

.ng-toast-progress {
  width: 100%;
  height: 100%;
  transform-origin: left center;
}

@keyframes notification-enter {
  from {
    opacity: 0;
    transform: translate3d(18px, -10px, 0) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes notification-leave {
  to {
    opacity: 0;
    transform: translate3d(20px, -4px, 0) scale(0.96);
  }
}

@media (max-width: 640px) {
  .ng-toast-stack {
    top: 12px;
    right: 14px;
    left: 14px;
    width: auto;
  }
}
