#custom-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -150%);
  min-width: 250px;
  max-width: 400px;
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  z-index: 9999;
  background: rgba(30, 30, 30, 0.45);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.6s ease,
              box-shadow 0.3s ease;
  opacity: 0;
  cursor: pointer;
  user-select: none;
}

#custom-notification:hover {
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
  transform: translate(-50%, 0) scale(1.02);
}

#custom-notification.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

#custom-notification.show:hover {
  transform: translate(-50%, 0) scale(1.02);
}

#custom-notification .icon {
  font-size: 1rem;
  line-height: 1;
}

#custom-notification .message {
  flex: 1;
}

#custom-notification .progress-bar {
  position: absolute;
  bottom: 3px;
  left: 10%;
  width: 80%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

#custom-notification .progress-bar-inner {
  height: 100%;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}


#custom-notification:hover .progress-bar-inner {
  opacity: 0.8;
}

#custom-notification.success {
  background: var(--notification-success-bg);
  color: var(--success-color);
  border-color: var(--notification-success-border);
}
#custom-notification.success .progress-bar-inner {
  background: var(--success-color);
}

#custom-notification.error {
  background: var(--notification-error-bg);
  color: var(--error-color);
  border-color: var(--notification-error-border);
}
#custom-notification.error .progress-bar-inner {
  background: var(--error-color);
}

#custom-notification.info {
  background: var(--notification-info-bg);
  color: var(--info-color);
  border-color: var(--notification-info-border);
}
#custom-notification.info .progress-bar-inner {
  background: var(--info-color);
}

#custom-notification.warning {
  background: var(--notification-warning-bg);
  color: var(--warning-color);
  border-color: var(--notification-warning-border);
}
#custom-notification.warning .progress-bar-inner {
  background: var(--warning-color);
}


#custom-notification::after {
  content: '⏸';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  font-size: 0.8rem;
  transition: opacity 0.3s ease;
}

#custom-notification:hover::after {
  opacity: 0.5;
}