@charset "UTF-8";
/* 轻提示基础样式 */
.jq-toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 99999999;
  min-width: 120px;
  max-width: 80%;
  text-align: center;
  pointer-events: none;
}

/* 位置样式 */
.jq-toast-top {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) scale(0.9);
}

.jq-toast-center {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) scale(0.9);
}

.jq-toast-bottom {
  bottom: 50px;
}

/* 显示状态 */
.jq-toast-show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.jq-toast-center.jq-toast-show {
  transform: translateX(-50%) translateY(-50%) scale(1);
}

/* 内容区域 */
.jq-toast-content {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.75);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  word-break: break-all;
}

/* 不同类型样式 */
.jq-toast-info .jq-toast-content {
  /* background-color: rgba(57, 138, 255, 0.9); */
}

.jq-toast-success .jq-toast-content {
  background-color: rgba(31, 162, 62, 0.9);
}

.jq-toast-warning .jq-toast-content {
  background-color: rgba(255, 193, 7, 0.9);
}

.jq-toast-error .jq-toast-content {
  background-color: rgba(220, 53, 69, 0.9);
}

/* 关闭按钮 */
.jq-toast-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  line-height: 18px;
  text-align: center;
  background-color: #999;
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.2s;
}

.jq-toast-close:hover {
  background-color: #666;
}