.voucher-box .get-voucher {
  margin: 20px 0;
}
.voucher-search {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 20px;
}
.voucher-page .el-pagination {
  margin-top: 20px;
}
.voucher-content .basic {
  display: flex;
  height: 100%;
}
.voucher-content ul {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 24px;
}
.voucher-content .item {
  background-color: var(--accent-tint);
  border-radius: 0px 3px 3px 0px;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.08);
  position: relative;
}
.voucher-content .price {
  min-width: 203px;
  height: 100%;
  background-color: var(--color-primary);
  color: #fff;
  font-size: var(--fs-12);
  padding: 24px 10px;
  box-sizing: border-box;
  line-height: 1;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.voucher-content .price::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -4px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  background-color: var(--surface);
  border-radius: 50%;
  z-index: -1;
}
.voucher-content .price::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 93%;
  height: 90%;
  border: 1px dashed #fff;
  border-radius: 5px;
  z-index: -1;
}
.voucher-content .price.used {
  background-color: var(--text-5);
}
.voucher-content .price.overdue {
  background-color: var(--gray-4);
}
.voucher-content .price .num {
  font-family: 'PingFang SC';
  font-size: var(--fs-32);
  font-weight: 500;
}
.voucher-content .price span {
  font-size: var(--fs-16);
}
.voucher-content .price .des {
  margin-top: 15px;
  line-height: 1.2;
}
.voucher-content .r-item {
  line-height: 1;
  font-size: var(--fs-12);
  color: var(--text-5);
  flex: 1;
  padding: 24px 10px 10px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.voucher-content .r-item .tit {
  font-size: var(--fs-20);
  color: var(--text-main);
}
.voucher-content .r-item .time {
  margin: 10px 0;
}
.voucher-content .r-item .bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.voucher-content .r-item .detail-btn {
  color: var(--color-primary);
  cursor: pointer;
}
.voucher-content .r-item .receive {
  line-height: 24px;
  padding: 0 8px;
  background: var(--color-primary);
  border-radius: var(--ss-radius-btn);
  color: #fff;
  cursor: pointer;
  font-size: var(--fs-12);
}
.voucher-content .r-item .receive.is_get {
  background: var(--text-5);
  color: #fff;
  cursor: not-allowed;
}
.voucher-content .more {
  cursor: pointer;
  display: flex;
}
.voucher-content .more img {
  width: 12px;
  height: 12px;
}
.voucher-content .more.active img {
  transform: rotate(180deg);
}
.voucher-content img {
  transition: all 0.3s;
  margin-left: 4px;
}
.voucher-content .bg {
  width: 72px;
  height: 54px;
  position: absolute;
  top: 8px;
  right: 11px;
  z-index: 1;
}
.voucher-content .bg.used {
  background: url(../img/voucher/voucher_05.png) no-repeat;
  background-size: 100%;
}
.voucher-content .bg.overdue {
  background: url(../img/voucher/voucher_04.png) no-repeat;
  background-size: 100%;
}
.voucher-content .detail {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 32px 13px 13px 13px;
  font-size: var(--fs-12);
  color: var(--text-5);
  text-align: justify;
  display: none;
  z-index: 10;
}
.voucher-content .detail.active {
  background: var(--accent-tint);
  display: block;
}
.voucher-content .detail::after {
  content: '';
  box-sizing: border-box;
  width: 100%;
  position: absolute;
  top: 16px;
  left: 0;
  letter-spacing: 2em;
  z-index: 10;
  border: 1px dashed var(--card-border);
}
.voucher-content .empty {
  margin: 0 auto;
}
.voucher-dialog .el-dialog {
  width: 1026px;
  max-width: calc(100vw - 32px);
}
.voucher-dialog .el-dialog__body {
  max-height: 500px;
  overflow-y: auto;
}
.voucher-dialog ul {
  grid-template-columns: repeat(2, 1fr);
}
.voucher-dialog ul::after {
  width: 0;
  display: none;
}
.voucher-dialog .r-item .time {
  margin-bottom: 25px;
}
.voucher-dialog .el-dialog__body {
  padding: 40px 80px;
}
@media screen and (max-width: 1024px) {
  .voucher-content ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 750px) {
  .voucher-content ul {
    grid-template-columns: repeat(1, 1fr);
  }
  .form-footer .btn-no {
    margin-left: 0;
    margin-top: 20px;
  }
  .voucher-content ul .item {
    width: 100%;
  }
  .voucher-dialog .el-dialog {
    width: 700px;
  }
  .voucher-dialog ul .item {
    width: auto;
  }
}
