@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

img {
  border: none;
}

ul {
  list-style: none;
}

body {
  background: url(../images/bg_main.jpg);
}


#top {
  width: 450px;
  height: 80px;
  background: url(../images/top.jpg) no-repeat;
  padding-top: 10px;
  padding-left: 550px;
  padding-bottom: 30px
}

#send {
  display: block;
  width: 120px;
  height: 65px;
  cursor: pointer;
  background: url(../images/send.png) no-repeat;
}

#send:active {
  transform: scale(0.90);
  /* 稍微缩小 */
}

#send-form {
  width: 360px;
  height: 400px;
  background: #ffdfff;
  display: none;
  position: absolute;
  z-index: 999;
}

#send-form form p {
  width: 340px;
  height: auto;
  overflow: hidden;
  padding: 10px;
}

#send-form form p label {
  display: block;
  width: 340px;
  height: 24px;
  line-height: 24px;
  color: #3660f9;
}

#font-num {
  font-family: 'Constantia,Georgia';
  font-size: 18px;
  font-style: italic;
  font-weight: bold;
  color: #444444;
}

#send-form input {
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 140px;
  height: 20px;
  padding: 5px;
}

#send-form textarea {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
  padding: 5px;
  width: 326px;
  height: 92px;
}

#phiz {
  width: 320px;
  height: 30px;
  line-height: 30px;
  margin-left: 10px;
}

#phiz img {
  cursor: pointer;
  margin-right: 4px;
}

textarea:focus,
input[type="text"]:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted\9;
  /* IE6-9 */
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(82, 168, 236, .6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(82, 168, 236, .6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(82, 168, 236, .6);
}

#send-form .title {
  width: 360px;
  height: 56px;
  background: url(../images/send-title.png) repeat-x;
}

#send-form .title span {
  display: block;
  width: 260px;
  height: 56px;
  line-height: 56px;
  color: #666666;
  font-size: 20px;
  font-weight: bold;
  text-indent: 6em;
  float: left;
}

#send-form .title a {
  display: block;
  width: 29px;
  height: 24px;
  background: url(../images/close.png) no-repeat;
  float: right;
  margin-top: 16px;
  margin-right: 10px;
}

#send-form .title a:hover {
  background-position: -43px 0;
}

#send-btn {
  display: block;
  width: 120px;
  height: 50px;
  background: url(../images/send-btn.png) no-repeat;
  cursor: pointer;
  float: right;
  margin: 18px;
}

#send-btn:active {
  transform: scale(0.90);
  /* 稍微缩小 */
}

#main {
  width: 100%;
  position: relative;
}

.paper {
  width: 235px;
  height: auto;
  overflow: hidden;
  position: absolute;
  color: #666;
}

.paper dt {
  width: 220px;
  height: 18px;
  cursor: move;
  padding-left: 15px;
  padding-top: 50px;
}

.paper dt .username {
  font-size: 13px;
  float: left;
  color: #3875D7;
  padding-left: 5px;
}

.paper dt .num {
  font-size: 12px;
  float: right;
  color: #b70afb;
  padding-right: 10px;
}

.paper .content {
  width: 205px;
  height: 24px;
  overflow: hidden; /* 隐藏超出部分的文本 */
  text-overflow: ellipsis; /* 可选，当内容被截断时显示省略号 */
  transition: overflow 0.5s; /* 平滑过渡效果 */
  padding: 10px 10px 0px 20px;
  font-size: 12px;
  word-break: break-all;
  word-wrap: normal;
  line-height: 18px;
}

.paper:hover .content {
  z-index: 800;
  height: auto;
  /* overflow: visible; 鼠标悬停时显示全部内容 */
  white-space: normal; /* 鼠标悬停时可以换行 */
}

.paper .bottom {
  width: 205px;
  height: 40px;
  padding: 32px 5px 0 25px;
}

.paper .bottom .time {
  font-size: 12px;
  color: #999999;
  float: left;
}

.paper .bottom .close {
  display: block;
  width: 29px;
  height: 24px;
  background: url(../images/close.png) no-repeat;
  float: right;
}

.paper .bottom .close:hover {
  background-position: -43px 0;
}

.a1 dt {
  background: url(../images/a1_1.gif);
}

.a1 .content {
  background: url(../images/a1_2.gif) repeat-y -2px;
}

.a1 .bottom {
  background: url(../images/a1_3.gif) no-repeat;
}

.a2 dt {
  background: url(../images/a2_1.gif);
}

.a2 .content {
  background: url(../images/a2_2.gif) repeat-y -2px;
}

.a2 .bottom {
  background: url(../images/a2_3.gif) no-repeat;
}

.a3 dt {
  background: url(../images/a3_1.gif);
}

.a3 .content {
  background: url(../images/a3_2.gif) repeat-y -2px;
}

.a3 .bottom {
  background: url(../images/a3_3.gif) no-repeat;
}

.a4 dt {
  background: url(../images/a4_1.gif);
}

.a4 .content {
  background: url(../images/a4_2.gif) repeat-y -2px;
}

.a4 .bottom {
  background: url(../images/a4_3.gif) no-repeat;
}

.a5 dt {
  background: url(../images/a5_1.gif);
}

.a5 .content {
  background: url(../images/a5_2.gif) repeat-y -2px;
}

.a5 .bottom {
  background: url(../images/a5_3.gif) no-repeat;
}


@keyframes zoomInOut {
  0% {
    transform: scale(1);
    /* 初始状态，不缩放 */
  }

  10% {
    transform: scale(1.1);
  }

  20% {
    transform: scale(1.2);
  }

  30% {
    transform: scale(1.3);
  }

  40% {
    transform: scale(1.4);
  }

  50% {
    transform: scale(1.5);
    /* 放大到1.5倍 */
  }

  60% {
    transform: scale(1.4);
  }

  70% {
    transform: scale(1.3);
  }

  80% {
    transform: scale(1.2);
  }

  90% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    /* 回到初始大小 */
  }
}

.zoom {
  animation: zoomInOut 1s;
  /* 应用动画，持续时间为2秒 */
}

.UP {
  /* 其他样式 */
  z-index: 989 !important;
}

.transparent-button {
  width: 120px;
  background-color: transparent;
  /* 设置背景为透明 */
  border: 2px dashed #be93c2;
  /* 设置边框为黑色，宽度为1像素 */
  border-radius: 10px;
  /* 设置边框为圆角，半径为10像素 */
  color: #ffffff;
  /* 设置文本颜色为黑色 */
  padding: 2px 2px;
  /* 设置内边距，可以根据需要调整 */
  font-size: 14px;
  /* 设置字体大小 */
  cursor: pointer;
  /* 鼠标悬停时显示手形光标 */
  margin-right: 2px;
}

.transparent-button:active {
  /* 按下时的样式 */
  transform: scale(0.9);
  /* 稍微缩小 */
}

.transparent {
  cursor: pointer;
  background-color: transparent;
  /* 设置背景为透明 */
  border: 0px dashed #be93c2;
  /* 设置边框为黑色，宽度为1像素 */
}

.transparent:active {
  /* 按下时的样式 */
  transform: scale(0.8);
  /* 稍微缩小 */
}

.transparent:hover {
  /* 按下时的样式 */
  transform: scale(1.2);
  /* 稍微变大 */
  color: green;
}

.remove {
  width: 24px;
  height: 24px;
  color: #999;
  position: absolute;
  margin-top: 6px;
  margin-left: 106px;
  background-color: transparent;
  border-radius: 50%;
  cursor: pointer;
  border: 1px dashed #666;
}
.remove:hover {
  /* 按下时的样式 */
  transform: scale(1.2);
  /* 稍微缩小 */
}
.remove:active {
  /* 按下时的样式 */
  transform: scale(0.8);
  /* 稍微缩小 */
}

.loading_hint {
  height: 20px;
  z-index: 9999;
  text-align: center;
  font-size: 16px;
  position: absolute; /* 设置为绝对定位 */
  bottom: -40px; /* 使其位于外部div的底部 */
  left: 0; /* 也可以设置水平和垂直对齐 */
  width: 100%; /* 宽度设置为100%以填充整个外部div的宽度 */
  /* background-color: #3271e7; 为了可视化效果添加背景色 */
  color: white;
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中，如果需要的话 */
}

.loading{
  top: 50%;
  left: 50%;
  height: 100px;
  width: 140px;
  position: absolute;
  align-items:center;
  z-index: 9999;
}

.loading .bar{
  display: flex;
  position: relative;
  height: 100%;
  width: 10px;
  border-radius: 50px;
  margin: 0 5px;
  animation: animate 1.2s linear infinite;
}

@keyframes animate {
  50% {
    height: 10%;
  }

  100% {
    height: 100%;
  }
}

.bar:nth-child(1){
  animation-delay: 0s;
  background: rgba(255, 0, 0, 1);
}

.bar:nth-child(2){
  animation-delay: 0.3s;
  background: rgba(255, 165, 0, 1);
}

.bar:nth-child(3){
  animation-delay: 0.6s;
  background: rgba(255, 255, 0, 1);
}

.bar:nth-child(4){
  animation-delay: 0.9s;
  background: rgba(0, 255, 0, 1);
}

.bar:nth-child(5){
  animation-delay: 0.6s;
  background: rgba(0, 255, 255, 1);
}

.bar:nth-child(6){
  animation-delay: 0.3s;
  background: rgba(0, 0, 255, 1);
}

.bar:nth-child(7){
  animation-delay: 0s;
  background: rgba(128, 0, 128, 1);
}

/* 基础样式 */
.alert-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 35px;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 显示动画 */
.alert-toast.show {
    opacity: 1;
    visibility: visible;
    top: 30px;
}

/* 类型样式 */
.alert-toast.success {
    background: #67C23A;
    border-left: 4px solid #529B2E;
}

.alert-toast.warning {
    background: #E6A23C;
    border-left: 4px solid #C08B34;
}

.alert-toast.error {
    background: #F56C6C;
    border-left: 4px solid #D45A5A;
}

.alert-toast.info {
    background: #909399;
    border-left: 4px solid #7A7D82;
}

/* 图标样式 */
.alert-toast::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
}

.success::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
}

.warning::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></svg>');
}

.error::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
}

.info::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>');
}