.demo-toast {
  position: fixed;
  z-index: 9999;
  bottom: 32px;
  left: 50%;
  right: auto;
  width: 380px;
  max-width: calc(100vw - 40px);
  transform: translateX(-50%) translate3d(0, 80px, 0);
  -webkit-transform: translateX(-50%) translate3d(0, 80px, 0);
  opacity: 0;
  pointer-events: none;

  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px 16px 16px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 20px 48px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: #000;
  user-select: none;

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  contain: layout style paint;
}

@media (min-width: 768px) {
  .demo-toast {
    left: auto;
    right: 32px;
    transform: translate3d(0, 80px, 0);
    -webkit-transform: translate3d(0, 80px, 0);
  }

  .demo-toast.shown {
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
  }

  .demo-toast:hover {
    transform: translate3d(0, -4px, 0) !important;
    -webkit-transform: translate3d(0, -4px, 0) !important;
  }
}

.demo-toast.shown {
  opacity: 1;
  transform: translateX(-50%) translate3d(0, 0, 0);
  -webkit-transform: translateX(-50%) translate3d(0, 0, 0);
  pointer-events: auto;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-toast:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateX(-50%) translate3d(0, -4px, 0);
  -webkit-transform: translateX(-50%) translate3d(0, -4px, 0);
}

.demo-toast .notification-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notification-content {
  flex: 1;
  padding-top: 2px;
}

.demo-toast .notification-app {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.7;
  margin-bottom: 2px;
}

.demo-toast .notification-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.demo-toast .notification-message {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.88;
  word-break: break-word;
}

.notification-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.notification-close::before {
  content: "×";
  font-weight: 200;
  transform: scaleX(0.85) translateY(-0.5px);
}

.notification-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.85);
}
