body,
html {
  min-width: 100%;
  min-height: 100%;
}
.micropage-templates {
  min-width: 1300px;
  height: 100%;
  padding: 0 20px;
  background-color: #f5f7fa;
}
.templates-header {
  position: relative;
  max-width: 1600px;
  height: 294px;
  margin: 0 auto;
  background-image: url('/micropage-templates/img/pc/header/header-background.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #edfafa;
  border-radius: 8px;
}
.templates-header .templates-header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 24px;
  padding-top: 60px;
}
.templates-header .templates-header-inner .templates-title {
  margin: 0;
  color: #333940;
  font-family: 'Microsoft YaHei UI';
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.templates-header .templates-header-inner .templates-search {
  display: flex;
  align-items: center;
  width: 576px;
  height: 61px;
  border: 2px solid #04bdb2;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}
.templates-header .templates-header-inner .templates-search .search-icon {
  display: block;
  flex-grow: 0;
  width: 16px;
  height: 16px;
  margin-left: 24px;
}
.templates-header .templates-header-inner .templates-search .search-input {
  display: block;
  padding: 19px 12px;
  height: 100%;
  border: none;
  outline: none;
  flex-grow: 1;
  background-color: #ffffff;
}
.templates-header .templates-header-inner .templates-search .delete-search-icon {
  display: none;
  width: 24px;
  height: 24px;
  margin-right: 20px;
  cursor: pointer;
}
.templates-header .templates-header-inner .templates-search .delete-search-icon.show-icon {
  display: block;
}
.templates-header .templates-header-inner .templates-search .search-button {
  width: 122px;
  height: 60px;
  background-color: #04bdb2;
  color: #ffffff;
  font-feature-settings: 'salt' on, 'liga' off;
  font-family: 'Microsoft YaHei UI';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px;
  /* 150% */
  text-align: center;
  cursor: pointer;
}
.templates-header .templates-header-inner .templates-search .search-button:hover {
  background-color: #00a19b;
}
.templates-header .templates-header-inner .templates-second-title {
  display: flex;
  margin: 0;
  color: #849f9e;
  font-family: 'Microsoft YaHei';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 142.857% */
}
.templates-header .templates-header-inner .templates-second-title .send-request {
  display: block;
  position: relative;
  color: #04bdb2;
  text-decoration: underline;
  cursor: pointer;
}
.templates-header .templates-header-inner .templates-second-title .send-request:hover .qrcode-dialog {
  display: flex;
}
.templates-header .templates-header-inner .templates-second-title .send-request .qrcode-dialog {
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  display: none;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  padding: 22px 26px;
  row-gap: 16px;
  border-radius: 8px;
  border: 1px solid #eeeeee;
  background-color: #ffffff;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.09);
  z-index: 1;
}
.templates-header .templates-header-inner .templates-second-title .send-request .qrcode-dialog::after {
  content: ' ';
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  border-bottom: 8px solid #ffffff;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}
.templates-header .templates-header-inner .templates-second-title .send-request .qrcode-dialog::before {
  content: ' ';
  position: absolute;
  top: -15px;
  right: 0;
  bottom: 0;
  left: 0;
}
.templates-header .templates-header-inner .templates-second-title .send-request .qrcode-dialog span {
  display: block;
  color: #333333;
  font-family: 'Microsoft YaHei UI';
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
  /* 157.143% */
  white-space: nowrap;
}
.templates-header .templates-header-inner .templates-second-title .send-request .qrcode-dialog .image-container {
  width: 124px;
  height: 124px;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid rgba(0, 118, 254, 0.9);
  background-color: #ffffff;
}
.templates-header .templates-header-inner .templates-second-title .send-request .qrcode-dialog .image-container img {
  display: block;
  width: 100%;
  height: 100%;
}
.templates-header .header-tips {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  column-gap: 2px;
  cursor: pointer;
}
.templates-header .header-tips:hover .default {
  display: none;
}
.templates-header .header-tips:hover .hover {
  display: block;
}
.templates-header .header-tips:hover span {
  color: #04bdb2;
}
.templates-header .header-tips .hover {
  display: none;
}
.templates-header .header-tips img {
  display: block;
  width: 16px;
  height: 16px;
}
.templates-header .header-tips span {
  color: #849f9e;
  font-family: 'Microsoft YaHei';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 142.857% */
}
.micropage-templates-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  gap: 24px;
  max-width: 1600px;
  margin: 24px auto 0;
  padding-bottom: 40px;
}
.micropage-templates-list.hide-list {
  display: none;
}
@media (max-width: 1650px) {
  .micropage-templates-list {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1300px;
    column-gap: 30px;
  }
}
.micropage-templates-list .add-new-templates {
  padding-bottom: 34px;
  cursor: pointer;
}
.micropage-templates-list .add-new-templates .add-new-templates-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 12px;
  width: 290px;
  height: 390px;
  border-radius: 8px;
  background: #ffffff;
  transition: all 0.05s;
  cursor: pointer;
}
.micropage-templates-list .add-new-templates .add-new-templates-inner:hover {
  border: 2px solid rgba(4, 189, 178, 0.8);
  background-color: #f9fffe;
  box-shadow: 0px 0px 10px 2px #d1fffc;
}
.micropage-templates-list .add-new-templates .add-new-templates-inner:hover img {
  width: 40px;
  height: 40px;
}
.micropage-templates-list .add-new-templates .add-new-templates-inner img {
  display: block;
  width: 36px;
  height: 36px;
  transition: width 0.1s, height 0.1s;
}
.micropage-templates-list .add-new-templates .add-new-templates-inner span {
  overflow: hidden;
  color: #333940;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'Microsoft YaHei UI';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  /* 157.143% */
}
.micropage-templates-list .templates-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  bottom: 0;
  width: 290px;
  cursor: pointer;
  transition: bottom 0.3s;
  border-radius: 8px;
}
.micropage-templates-list .templates-item .templates-item-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}
.micropage-templates-list .templates-item .templates-item-inner:hover {
  box-shadow: 0px 6px 20px 0px rgba(3, 12, 21, 0.12);
}
.micropage-templates-list .templates-item:hover {
  bottom: 12px;
}
.micropage-templates-list .templates-item:hover .templates-tips {
  top: -100px;
}
.micropage-templates-list .templates-item .templates-tips {
  position: absolute;
  left: 0;
  top: -156px;
  width: 100%;
  height: 100px;
  line-height: 235px;
  color: #ffffff;
  font-size: 14px;
  border-radius: 100%;
  text-align: center;
  z-index: 10;
  box-shadow: 0 0 25px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
}
.micropage-templates-list .templates-item .image-box {
  position: relative;
  width: 290px;
  height: 390px;
  padding: 20px 20px 0;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.micropage-templates-list .templates-item .image-box img {
  display: block;
  width: 100%;
  object-fit: contain;
}
.micropage-templates-list .templates-item .templates-title {
  display: block;
  max-width: 100%;
  margin-top: 12px;
  overflow: hidden;
  color: #333940;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'Microsoft YaHei UI';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  /* 157.143% */
}
.empty-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 8px;
  height: 633px;
}
.empty-list.hide-list {
  display: none;
}
.empty-list img {
  display: block;
  width: 92px;
  height: 92px;
}
.empty-list .no-temp {
  display: flex;
  align-items: center;
  column-gap: 5px;
  color: #999999;
  font-feature-settings: 'salt' on, 'liga' off;
  font-family: 'Microsoft YaHei UI';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 21px */
}
.empty-list .no-temp .reload {
  color: #04bdb2;
  font-feature-settings: 'salt' on, 'liga' off;
  font-family: 'Microsoft YaHei UI';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-decoration-line: underline;
  cursor: pointer;
}
.dialog-background {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 1000;
}
.dialog-background.show-dialog {
  display: block;
}
.instructions-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 24px;
  width: 536px;
  height: 478px;
  border-radius: 8px;
  background-image: linear-gradient(180deg, rgba(137, 238, 244, 0.15) 0%, rgba(255, 255, 255, 0) 96.87%);
  background-color: #ffffff;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.12);
}
.instructions-dialog .dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.instructions-dialog .dialog-header .dialog-title {
  display: flex;
  align-items: center;
  column-gap: 8px;
}
.instructions-dialog .dialog-header .dialog-title img {
  display: block;
  width: 20px;
  height: 20px;
}
.instructions-dialog .dialog-header .dialog-title span {
  color: #333940;
  font-family: 'Microsoft YaHei';
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.instructions-dialog .dialog-header .close-dialog {
  display: block;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.instructions-dialog .dialog-body {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  padding: 0 24px;
  margin-top: 40px;
}
.instructions-dialog .dialog-body div {
  display: flex;
  column-gap: 8px;
  color: #666666;
  font-family: 'Microsoft YaHei';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.instructions-dialog .dialog-body div a {
  color: #0076fe;
}
.instructions-dialog .dialog-body div::before {
  content: '•';
  color: #666666;
}
.preview-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 24px 0;
  width: 760px;
  height: 630px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.preview-dialog .dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}
.preview-dialog .dialog-header .dialog-title {
  display: flex;
  align-items: center;
  column-gap: 8px;
}
.preview-dialog .dialog-header .dialog-title img {
  display: block;
  width: 20px;
  height: 20px;
}
.preview-dialog .dialog-header .dialog-title span {
  color: #333333;
  font-feature-settings: 'salt' on, 'liga' off;
  font-family: 'Microsoft YaHei UI';
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 24px */
}
.preview-dialog .dialog-header .close-dialog {
  display: block;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.preview-dialog .dialog-body {
  display: flex;
  margin-top: 20px;
  height: calc(100% - 20px);
  border-top: 1px solid #f1f1f1;
}
.preview-dialog .dialog-body .preview-iframe {
  position: relative;
  width: 404px;
  height: 100%;
  padding: 26px 52px 0;
  background-color: #f1f3f5;
}
.preview-dialog .dialog-body .preview-iframe img {
  position: absolute;
  left: 40px;
  top: 16px;
  pointer-events: none;
  box-shadow: 0px 0px 10px 0px rgba(63, 72, 150, 0.09);
  border-radius: 42px 42px 0 0;
}
.preview-dialog .dialog-body .preview-iframe iframe {
  display: block;
  width: 300px;
  height: 571px;
  border-radius: 10px;
}
.preview-dialog .dialog-body .template-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  margin: 0 auto;
  margin-top: 115px;
}
.preview-dialog .dialog-body .template-info .template-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-bottom: 20px;
  width: 236px;
  color: #333940;
  font-family: 'Microsoft YaHei UI';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 24px */
  overflow: hidden;
  text-align: center;
}
.preview-dialog .dialog-body .template-info .qrcode-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  margin-bottom: 8px;
  background-color: #f3f3f3;
}
.preview-dialog .dialog-body .template-info .qrcode-container #template-qrcode {
  width: 160px;
  height: 160px;
}
.preview-dialog .dialog-body .template-info .qrcode-text {
  display: flex;
  align-items: center;
  column-gap: 4px;
  margin-bottom: 20px;
}
.preview-dialog .dialog-body .template-info .qrcode-text span {
  color: #999999;
  font-family: 'Microsoft YaHei UI';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 21px */
}
.preview-dialog .dialog-body .template-info .qrcode-text img {
  display: block;
  width: 8.25px;
  height: 11px;
}
.preview-dialog .dialog-body .template-info .use-template {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  padding: 8px 32px;
  border-radius: 3px;
  background-color: #04bdb2;
  color: #ffffff;
  text-align: center;
  font-family: 'Microsoft YaHei UI';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  /* 150% */
  cursor: pointer;
}
.preview-dialog .dialog-body .template-info .use-template:hover {
  background-color: #00a19b;
}
