.toast-container {
  position: fixed;
  top: 20px;
  /* 距离顶部 20px，可按需调整 */
  left: 50%;
  /* 定位到视口水平中点 */
  transform: translateX(-50%);
  /* 向左偏移自身宽度的一半，实现水平居中 */
  z-index: 9999;
}

.toast {
  min-width: 200px;
  margin-bottom: 10px;
  padding: 10px 16px;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.toast-show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  background: #67c23a;
}

.toast-error {
  background: #f56c6c;
}

.toast-info {
  background: #909399;
}
