$--color-bg: #091c2d;
$--color-text: #fff;
$--text-size: 16px;

::v-deep .el-input .el-input__inner,
.el-select .el-input__inner,
.el-textarea .el-textarea__inner,
.el-form-item__content .el-range-editor--small.el-input__inner,
.el-range-editor .el-range-input,
.content_top_wrap_form .form_date_picker,
.el-date-editor--monthrange.el-input,
.el-date-editor--monthrange.el-input__inner {
//   background: linear-gradient(180deg, #14adcc 0%, #005899 50%, #003399 90%);
    background: transparent;
    border: 1px solid rgba(67, 161, 255, 0.3);
    color: #f0f0f0;
}

.screen-wrapper {
  width: 100%;
  height: 100%;
  color: $--color-text;
  box-sizing: border-box;
  background-size: 100% 100%;
  background-color: $--color-bg;
  overflow: hidden;
  position: relative;
}

.map-module{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    //地图
  .patrol-and-rescue {
    width: 100%;
    height: 100%;
    background: rgb(11, 23, 49);
    box-sizing: border-box;

    .map {
      width: 100%;
      height: 100%;
    }
  }
}

.screen-mask{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    background: url('~@/assets/img/bigScreen/bg-mask.png') no-repeat
      center / 100% 100%;
    pointer-events: none;
    z-index: 1;
}

.header-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    padding: 16px 20px 20px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url('~@/assets/img/bigScreen/header.png') no-repeat;
    background-size: 100% 100%;
    z-index: 2;

  .logn-section {
    margin-top: 16px;
    margin-right: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 47px;

    img {
      width: 55px;
      height: 43px;
    }

    .head-title {
      // width: 178px;
      margin-left: 10px;
      height: 49px;
    //   font-family: FZZhengHeiS-EB-GB, FZZhengHeiS-EB-GB;
      font-weight: 400;
      font-size: 30px;
      // line-height: 56px;
      letter-spacing: 6px;
      text-shadow: 0px 4px 2px rgba(0, 17, 51, 0.5);
      text-align: center;
      font-style: normal;
      text-transform: none;
      background: linear-gradient(90deg, #FFFFFF 0%, #B2E5FF 100%);
      -webkit-background-clip: text;
    }
  }
}

.header-search-section {
  width: 40%;
  display: flex;

  align-items: center;
  .road-cascader {
    width: 230px;
    height: 33px;
    line-height: 33px;
  }

  .date-picker {
    width: 128px;
    height: 33px;
    font-size: $--text-size;
  }

  ::v-deep .el-input__inner {
    height: 33px;
  }

  ::v-deep .el-input__icon {
    line-height: 33px;
  }

  ::v-deep .el-input--suffix .el-input__inner,
  .el-input__inner {
    font-size: $--text-size !important;
  }
}

.header-operate-section {
  width: 40%;
  display: flex;
  justify-content: flex-end;
  gap: 40px;

  .system-section {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    background: rgba(63, 141, 215, 0.5);
    border-radius: 38px 38px 38px 38px;
    border: 1px solid #3399ff;
    padding: 0 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 26px;

    &::after {
      content: '';
      position: absolute;
      left: -6px;
      top: -6px;
      width: calc(100% + 10px);
      height: calc(100% + 10px);
      border-radius: 32px 32px 32px 32px;
      border: 1px solid rgba(63, 141, 215, 0.3);
    }
  }

  .system-section:hover {
    background: rgba(63, 141, 215, 0.65);
    border: 1px solid #3399ff;

    &::after {
      border: 1px solid rgba(63, 141, 215, 0.45);
    }
  }

  .time-section,
  .logout-section {
    gap: 2px;
    display: flex;
    cursor: pointer;
    align-items: center;
    margin-bottom: 10px;

    img {
      width: 24px;
      height: 24px;
    }

    span {
      font-size: 16px;
      color: $--color-text;
      font-family: SourceHanSansCN;
    }
  }

  .time-section {
    span {
      letter-spacing: 2px;
    }
  }

  .logout-section {
    margin-right: 20px;

    span {
      font-size: 14px;
    }
  }
}


.section-left-wrapper {
    position: absolute;
    left: 20px;
    top: 60px;
    width: 500px;
    height:calc(100% - 80px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
    .basic-info{
        width: 100%;
        height: 38%; // 366px
    }

    .inspection-statistics{
        width: 100%;
        // flex: 1;
        height: calc(62% - 20px); // 366px
    }
}

.section-right-wrapper {
    position: absolute;
    right: 20px;
    top: 60px;
    width: 500px;
    height:calc(100% - 80px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
   
    .task-statistics{
        width: 100%;
        // flex: 1;
        height: calc(70% - 20px); // 366pxheight: 62%; // 366px
    }
    .event-type{
        width: 100%;
        height: 30%; // 294px
    }
}

.map-control{
    width: 136px;
    height: 210px;
    position: absolute;
    left: 540px;
    top: 70px;
    z-index: 2;
}


.section-title {
  .title-point {
    width: 14px;
    height: 14px;
  }

  .label {
    font-weight: 400;
    font-size: 13px;
    color: #ffffff;
  }

  .line {
    flex: 1;
    height: 1px;
    background-color: rgba(51, 153, 255, 0.2);
  }

  .decoration-triangle {
    width: 20px;
    height: 24px;
    background: url('~@/assets/img/bigScreen/triangle01.png') no-repeat;
    background-size: 20px 24px;
    position: relative;

    &::after {
      content: '';
      position: absolute;
      top: 1px;
      left: -7px;
      width: 20px;
      height: 22px;
      background: url('~@/assets/img/bigScreen/triangle02.png') no-repeat;
      background-size: 20px 22px;
    }
  }
}

//标题
.title {
  width: 100%;
  position: relative;

  .title-img {
    height: 26px;
    width: 100%;
  }

  .title-name-item {
    position: absolute;
    top: 0;
    left: 10px;
    display: flex;
    align-items: center;

    .title-name-icon {
      height: 12px;
      width: 12px;
    }

    .title-name {
      padding-left: 10px;
      width: 72px;
      height: 26px;
      font-weight: 500;
      font-size: 18px;
      line-height: 25px;
      text-shadow: 0px 2px 1px rgba(0, 17, 51, 0.5);
      text-align: left;
      font-style: normal;
      text-transform: none;
    }
  }
}



.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.flex-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.w100 {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.w40 {
  width: 50%;
  padding: 0 20px;
  box-sizing: border-box;
}

.gap20 {
  gap: 20px;
}

::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
  background-color: transparent;
  border-radius: 0;
  width: 0 !important;
  background-color: transparent !important;
}

::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: rgba(76, 169, 206, 0.5);
}

