@import url(../../../styles/common/easyvCommon.less);

.layout {
  width: 256px;
  height: 100%;
  z-index: 0;
}

.adminSpaceBox {
  display: flex;
  flex-direction: column;
  height: 100vh;
  color: #fff;
  background: #181a24;

  :global {
    .easyv-modal-content {
      width: 400px;
      background: #2a2e3d !important;

      box-shadow: 0px 2px 24px rgba(74, 94, 85, 0.08);
      border-radius: 4px;
      padding: 32px 24px;
    }

    .easyv-modal-body {
      padding: 0;
    }
  }
}

.adminSpaceHeader {
  height: 64px;
  background: #1f212c;
  display: flex;
  align-items: center;
  padding: 0 40px;

  & > span {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    display: inline-block;
    font-weight: bold;
  }
}

.cotent {
  display: flex;
  flex: 1;
  position: relative;
  overflow-y: auto;
}

.scapeMain {
  flex: 1;
  padding: 24px 40px;
  display: flex;
  flex-direction: column;
}

.quota {
  height: 54px;
  margin-top: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  padding: 17px 24px;
  font-size: 12px;
  background: var(--easyv-background-6);
  border-radius: 2px;
  font-family: PingFang SC;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  .input();

  .inputNum {
    width: 254px;
  }

  & > span {
    &:first-of-type {
      padding-right: 17px;
    }
  }

  .remaining {
    padding-left: 17px;

    i {
      color: #2491f7;
      font-style: normal;
    }
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.headerTitle {
  font-family: PingFang SC;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
}

.tableWrapper {
  width: 100%;
  display: inline-block;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  overflow-y: scroll;
  max-height: calc(100vh - 293px);
  :global {
    .easyv-table-thead {
      height: 44px;
      line-height: 44px;
      .easyv-table-cell {
        border-top: 0;
      }
    }
    .easyv-table-row {
      height: 42px;
      line-height: 42px;
    }
    .easyv-table-pagination-right {
      margin-right: 12px;
    }
  }
}

.scapeTable {
  flex: 1;
}

.modalWrapper {
  width: auto !important;

  :global {
    .easyv-modal,
    .easyv-modal-content {
      width: none !important;
    }

    .easyv-modal-close-x {
      color: #b4b7c1;
    }

    .easyv-modal-body,
    .easyv-modal-content,
    .easyv-modal-header,
    .easyv-modal-footer {
      background: #2a2e3d;
      border: none !important;
    }

    .easyv-modal-header {
      padding-bottom: 0px;
    }

    .easyv-modal-title {
      padding-bottom: 16px;
      color: #fff;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
  }

  .group {
    width: 788px;

    & > p {
      margin: 15px 0;
      font-family: PingFang SC;
      font-style: normal;
      font-weight: normal;
      font-size: 12px;
      line-height: 17px;
      color: #b4b7c1;
    }

    .search_input {
      .easyvSearchInput();
    }
  }

  .modalFooter {
    padding: 24px 0px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 60px;

    & > P {
      font-family: PingFang SC;
      font-style: normal;
      font-weight: normal;
      font-size: 12px;
      line-height: 17px;
      color: #b4b7c1;
    }
  }
}

.bc {
  width: 680px;
  height: 460px;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.bc::after {
  content: '';
  background: url(../../../images/bc_5.0.png);
  opacity: 0.6;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  filter: opacity(60%);
  -webkit-filter: opacity(60%);
}
