.title1-left, .title1-right {
  display: block;
  box-sizing: border-box;
  width: 283px;
  height: 41px;
  margin-bottom: 1vh;
  background: url('@/assets/imgs/common/title1-left.png') no-repeat;
  background-size: contain;
  padding: 7px 65px 7px 45px;
  font-size: 20px;
  font-family: YSBTH;
  color: #D9EAF5;
  &.highlight {
    color: rgb(242, 242, 132);
  }
}

.title1-right {
  width: 282px;
  background: url('@/assets/imgs/common/title1-right.png') no-repeat;
  background-size: contain;
  padding: 7px 45px 7px 65px;
  text-align: right;
}

.title2-left, .title2-right {
  display: block;
  box-sizing: border-box;
  width: 248px;
  height: 30px;
  margin-bottom: 1vh;
  background: url('@/assets/imgs/common/title2-left.png') no-repeat;
  background-size: 100% 15px;
  background-position: bottom;
  padding: 0 40px;
  font-size: 18px;
  font-family: YSBTH;
  color: #D9EAF5;
}

.title2-right {
  width: 251px;
  background: url('@/assets/imgs/common/title2-right.png') no-repeat;
  background-size: 100% 15px;
  background-position: bottom;
  text-align: right;
}

.title3 {
  display: block;
  box-sizing: border-box;
  width: 277px;
  height: 39px;
  background: url('@/assets/imgs/common/title3.png') no-repeat;
  background-size: 100% 100%;
  padding: 3px 30px 0;
  font-size: 16px;
  font-style: italic;
  color: #D1D6DF;
}

.title-dialog {
  display: block;
  box-sizing: border-box;
  width: fit-content;
  font-size: 18px;
  font-family: YSBTH;
  font-weight: 400;
  color: #FFFFFF;
  text-shadow: 6px -5px 16px rgba(0,158,255,0.35), 0px 3px 0px rgba(0,2,3,0.88);

  &::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 14px;
    margin-right: 9px;
    background: rgba(0, 156, 244, 0.79);
    border-radius: 2px;
  }

}

// 弹框关闭按钮
.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: block;
  width: 18px;
  height: 18px;
  background: url('@/assets/imgs/common/btn-close.png') no-repeat;
  background-size: 12px 12px;
  background-position: center;
  cursor: pointer;
}

// 弹框切换tab
.dialog-tab {
  display: flex;
  justify-content: center;
  margin: 17px 0 17px;
  &>div {
    display: block;
    width: 115px;
    height: 30px;
    margin: 0 5px;
    background: url('@/assets/imgs/page_yyjg/bg-tab-btn1.png') no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
    text-align: center;
    &>span {
      font-family: YSBTH;
      font-size: 16px;
      line-height: 34px;
      color: transparent;
      background: linear-gradient(0deg, rgba(29,128,224,0.9) 0%, rgba(255,255,255,0.9) 70%);
      -webkit-background-clip: text;

    }
  }
  &>div.highlight {
    position: relative;
    width: 116px;
    height: 34px;
    background: url('@/assets/imgs/page_yyjg/bg-tab-btn2.png') no-repeat;
    background-size: 100% 100%;
    &>span {
      background: linear-gradient(0deg, rgba(224, 224, 29, 0.9) 0%, rgba(255,255,255,0.9) 70%);
      -webkit-background-clip: text;
    }
    &::after {
      content: '';
      display: block;
      position: absolute;
      bottom: -10px;
      left: calc(50% - 3px);
      border-top: 7px solid transparent;
      border-bottom: 7px solid rgba(93, 138, 196, 0.6);
      border-left: 6px solid transparent;
      border-right: 6px solid transparent;
    }
  }
  &>div.disabled {
    opacity: 0.5;
    cursor: default;
  }
}

.date-picker-custom1 {
  .el-input__wrapper {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #2f67a0d2;
    background: rgba($color: #4280bd, $alpha: 0.1);
  }
  .el-input__prefix {
    display: none;
  }
  .el-input__inner {
    font-size: 12px;
    color: #ccc;
  }
}

.date-popper {
  filter: invert(0.9) hue-rotate(180deg);
  // border: 1px solid #2f67a0d2 !important;
  // border-radius: 0 !important;
  // .el-input__wrapper {
  //   background: rgba($color: #4280bd, $alpha: 0.1);
  //   box-shadow: none;
  //   border: 1px solid #2f67a0d2;
  // }
  // .el-picker-panel__body {
  //   background: rgba($color: #00102b, $alpha: 0.9);
  // }
  // .el-picker-panel__footer {
  //   background: rgba($color: #00102b, $alpha: 0.9);
  // }
  // .el-date-picker__time-header {
  //   border-bottom: 1px solid #2f67a0d2 !important;
  // }
  // .el-picker-panel__footer {
  //   &>.el-button:last-child {
  //     background-color: #208ae7;
  //     border: none;
  //     color: #ddd;
  //   }
  // }
}

// 水深播放倍速弹出
.speed-content {
  width: fit-content !important;
  height: 35px;
  background-color: rgb(16, 37, 69) !important;
  border: 1px solid rgba($color: #0084d1, $alpha: 0.7) !important;
  display: flex;
  align-items: center;
  .el-popper__arrow {
    display: none;
  }
  .speed {
    display: block;
    width: 40px;
    height: 22px;
    margin: 0 5px;
    background: rgba(0,0,0,0.15);
    font-size: 14px;
    font-family: BarlowBold;
    color: #ddd;
    text-align: center;
    line-height: 22px;
    cursor: pointer;
    &.selected {
      background: rgba(48, 131, 182, 0.4);
    }
  }
}

// 分页表格
.table-carousel {
  box-sizing: border-box;

  .coloumn {
    span {
      margin-left: 2%;
    }
    span:nth-child(1) {
      margin-left: 4%;
    }
  }
  .head {
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
    &>span {
      display: inline-block;
      text-align: left;
      font-size: 14px;
      color: #afc2dd;
      line-height: 20px;
    }
  }

  .no-data {
    position: relative;
    height: calc(100% - 20px);
    &>span {
      position: absolute;
      display: block;
      width: 100%;
      text-align: center;
      top: 45%;
      font-size: 14px;
      color: #ddd;
    }
  }
  .el-carousel {
    height: calc(100% - 20px);

    .tc-list {
      &>li {
        box-sizing: border-box;
        height: 30px;
        margin-top: 10px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        background-color: rgba($color: #7cbae3, $alpha: 0.15);
        &>span {
          display: inline-block;
          text-align: left;
          font-size: 14px;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
      }
    }

    .el-carousel__container {
      height: calc(100% - 20px);
    }
    .el-carousel__indicator {
      margin: 0 4px;
      padding: 4px;
    }
    .el-carousel__indicator button {
      width: 5px;
      height: 5px;
      border-radius: 50%;
    }
  }
}

// 禁用的按钮
.btn-disabled {
  cursor: not-allowed;
  filter: brightness(0.7);
}

// 默认表格样式
.table-default {
  background: transparent !important;
  .el-table__header {
    height: 40px;
    tr {
      background: transparent !important;
    }
    th {
      font-size: 14px;
      color: #fff;
      font-weight: 800;
      border-bottom: none !important;
      background: rgba($color: #cfe3ff, $alpha: 0.2) !important;
    }
  }
  .el-table__row {
    height: 40px;
    background: transparent !important;
    &:not(.el-table__row--striped) td {
      background: transparent !important;
    }
    td {
      font-size: 14px;
      color: #ddd;
      border-bottom: none !important;
    }
  }
  .el-table__row--striped td{
    background: rgba($color: #cfe3ff, $alpha: 0.15) !important;
  }
  .el-table__inner-wrapper::before {
    display: none;
  }
  .el-table__empty-text {
    span {
      font-size: 14px;
    }
  }
}

// 默认翻页样式
.pagi-default {
  justify-content: center;
  button, ul>li {
    font-size: 14px;
    color: #eee;
    font-family: BarlowBold;
    background: transparent !important;
  }
  button>i {
    color: #eee;
  }
}