/* Toast 容器样式 */
.toast-container {
  position: fixed;
  z-index: 999999;
}

/* Toast 提示框样式 */
.toast {
  display: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  align-items: center;
  min-width: 250px;
  max-width: 350px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}

/* Toast 类型样式 */
.toast.error {
  border-left: 4px solid #ff4d4f;
  background: rgba(255, 77, 79, 0.1);
}

.toast.success {
  border-left: 4px solid #52c41a;
  background: rgba(82, 196, 26, 0.1);
}

.toast.info {
  border-left: 4px solid #1890ff;
  background: rgba(24, 144, 255, 0.1);
}

.toast.warning {
  border-left: 4px solid #faad14;
  background: rgba(250, 173, 20, 0.1);
}

/* Toast 图标样式 */
.toast i {
  margin-right: 8px;
  font-size: 16px;
}

.toast.error i {
  color: #ff4d4f;
}

.toast.success i {
  color: #52c41a;
}

.toast.info i {
  color: #1890ff;
}

.toast.warning i {
  color: #faad14;
}

/* Toast 内容样式 */
.toast-content {
  flex: 1;
  display: flex;
  align-items: center;
}

.toast-message {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* Toast 关闭按钮样式 */
.toast-close {
  background: none;
  border: none;
  color: #999;
  font-size: 16px;
  cursor: pointer;
  padding: 0 0 0 8px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
} 