#customToast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  max-width: 90vw;
  z-index: 9999;
  padding: 18px 24px 18px 18px;
  border-radius: 10px;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  opacity: 1;
  transition: opacity 0.4s;
}

.toast-icon {
  margin-right: 14px;
  font-size: 1.5em;
}

.toast-message {
  flex: 1;
}

.toast-close {
  margin-left: 18px;
  font-size: 1.3em;
  cursor: pointer;
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  border-radius: 0 0 10px 10px;
  transition: width 0.05s linear;
}

.toast-success {
  background: linear-gradient(90deg, #28a745 80%, #43e97b 100%);
}

.toast-danger {
  background: linear-gradient(90deg, #dc3545 80%, #ff6a6a 100%);
}

.toast-warning {
  background: linear-gradient(90deg, #ffc107 80%, #ff9800 100%);
  color: #222;
}

.toast-info {
  background: linear-gradient(90deg, #17a2b8 80%, #00c6ff 100%);
}