.global-toast {
  position: fixed;
  right: 20px;
  padding: 12px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  font-size: 14px;
  font-weight: 500;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    bottom 0.3s ease;
  max-width: 300px;
  word-wrap: break-word;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.global-toast.toast-html {
  max-width: 450px;
  padding: 16px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.toast-success {
  background-color: #52c41a;
}
.toast-error {
  background-color: #ff4d4f;
}
.toast-info {
  background-color: #1890ff;
}
.toast-warning {
  background-color: #faad14;
}
.toast-loading {
  background-color: #1890ff;
}

.toast-inner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.toast-icon {
  font-size: 16px;
}

.toast-icon-html {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-body {
  flex: 1;
  line-height: 1.5;
}

@keyframes toast-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
