.side-pane-data {
  bottom: 0;

  .datapane-drawer {
    height: 100%;
  }
}

.datapane-container {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  font-size: 13px;
  color: $biz-table-font-color;

  .datapanel-search {
    width: 100%;
    height: 40px;
    border-bottom: $content-border;

    .search-input {
      width: 100%;
      height: 100%;
      padding: 0 1rem;
      line-height: 35px;
      background: $component-bg-linear;

      input {
        width: calc(100% - 38px);
        height: 24px;
        padding: 0 11px;
        color: $biz-table-font-color;
        background: white;//transparent;
        border-color: $datapane-border-color;
        border-radius: 12px;
      }

      button {
        height: auto;
        padding: 0;
        margin-left: 10px;
        background: transparent;
        border: 0;

        img {
          width: 23px;
        }
      }

      .amos-group {
        width: 100%;

        .amos-select-dropdown {
          width: 40% !important;
        }

        .amos-input {
          width: 40% !important;
          height: 30px !important;
          padding: 0;
          margin-left: 10px;
          line-height: 28px;
        }
      }
    }
  }

  .datapane-filter {
    height: 45px;
    border-bottom: $content-border;

    .datapane-filter-content {
      display: flex;
      width: 100%;
      height: 100%;
      align-items: center;
      padding: 0 15px;
      background: $component-bg-linear;

      .datapane-filter-item {
        flex: 1;
        width: 0;
        height: 28px;
        margin-right: 6px;
        border-radius: 4px;

        &:last-child {
          margin-right: 0;
        }
      }

      .datapane-filter-input {
        text-align: center;
        background: white;//transparent;
        border: $content-border;

        &::-webkit-input-placeholder {
          color: red;//$content-color;
        }

        &::-moz-placeholder {
          color: red;//$content-color;
        }

        &::-ms-input-placeholder {
          color: red;//$content-color;
        }
      }

      .datapane-filter-date {
        input {
          height: 28px;
          font-size: 13px;
          color: $core-color;//$content-color;
          text-align: center;
          background: white;//transparent;
          border: $content-border;
          -webkit-text-fill-color: $core-color;

          &::-webkit-input-placeholder {
            color: red;//$content-color;
          }

          &::-moz-placeholder {
            color: red;//$content-color;
          }

          &::-ms-input-placeholder {
            color: red;//$content-color;
          }
        }

        .ant-calendar-picker-clear {
          color: $content-color;
          background: transparent;
        }
      }

      .datapane-filter-select {
        min-width: 70px;
        padding-right: 18px;
        font-size: 13px;
        line-height: 26px;
        color: $core-color;//$content-color;
        text-align: center;
        background: white;//transparent;
        border: $content-border;
        border-radius: 4px;

        .amos-select-title {
          padding-left: 5px;
        }

        .amos-select-dropdown-icon {
          position: absolute;
          right: 5px;
          display: inline-block;
          font-size: 12px;
        }
      }
    }
  }

  .datapane-content {
    flex: 1;
    width: 100%;
    background: $content-color;

    .search-welcome {
      display: flex;
      width: 100%;
      padding: 38px;
      font-size: 13px;
      color: $content-color;
      flex-direction: column;
      align-items: center;

      .search-welcome-img {
        width: 29px;
        margin-bottom: 28px;
      }
    }

    .datapane-list-content {
      padding: 10px;

      .datapane-item {
        position: relative;
        padding: 10px;
        margin-bottom: 8px;
        line-height: 2;
        border: $content-border;

        &:hover {
          // color: red;
          background-color: #e6f7ff;//$content-item-bg-active;
          border: 1px solid $core-color;
        }
      }
    }
  }

  .trajectory-play-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    height: auto;
    padding: 6px;
    font-size: 12px;
    cursor: pointer;
    background-color: $content-color;
    border: $content-border;
    border-right: 0;
    border-bottom: 0;

    p {
      color: $biz-table-font-color;
    }
  }
}

.amos-select-dropdown-popover {
  > .amos-popover-content {
    min-height: auto;

    .datapane-select-option {
      padding-right: 16px;
      padding-left: 8px;
      color: $biz-table-font-color;
      background: $content-color;

      &.amos-select-option-selected {
        color: $selected-color;

        .amos-select-option-icon-selected {
          right: 3px;
          font-size: 13px;
        }
      }
    }
  }
}

.list-paginate {
  .list-paginate-more {
    width: 100%;
    background: $list-paginate-color;
    height: auto;
    padding: 6px;
    border: 0;
  }

  .list-paginate-nomore {
    display: block;
    text-align: center;
    margin-top: 8px;

    img {
      width: 35px;
      position: relative;
      vertical-align: middle;
      top: -3px;
      margin-right: 5px;
    }
  }

  .list-paginate-loading {
    display: block;
    width: 100%;
    text-align: center;

    img {
      width: 70px;
    }
  }
}

.list-group-item {
  position: relative;
  border-left: $content-border;
  padding: 0px 5px;
  padding-left: 10px;
  font-size: 13px;

  .broadcast-item {
    line-height: 2;
    padding: 10px;

    &:hover {
      border: $content-border;
      background: $list-group-hover;
    }
  }

  &.list-group-first-item {
    padding-top: 18px;
    margin-top: 8px;

    .list-group-start {
      position: absolute;
      top: -6px;
      left: 7px;
    }

    &::before {
      content: "";
      display: block;
      width: 8px;
      height: 8px;
      border-radius: 4px;
      background: $content-color;
      position: absolute;
      left: -5px;
      top: 0;
    }
  }
}

.datapane-setting {
  width: 100%;
  height: 100%;
  color: $content-color;
  background: $content-color;

  .datapane-setting-content {
    padding: 5px;
  }

  .region-select {
    height: 28px;
    margin: 18px 0;
    color: $core-color;
    background: $list-group-hover;
    border: $content-border;
    border-radius: 18px;
  }

  .datapane-setting-collapse {
    background: transparent;
    border: 0;

    .amos-collapse-item {
      margin-bottom: 3px;
      background: transparent;
      border: 0;

      .amos-collapse-header {
        padding: 2px 5px 2px 15px;
        color: $biz-table-font-color;
        background: $content-header-bg;

        i {
          font-size: 13px;
          position: absolute;
          right: 0;
        }
      }

      .amos-collapse-content {
        padding: 5px;
        overflow: hidden;
        color: rgba(0, 0, 0, 0.65);
        background-color: $content-color;//transparent;

        .amos-collapse-content-box {
          margin: 0;
          color: $biz-table-font-color;
        }

        &::after {
          height: 0px;
          display: inline;
        }

        &::before {
          height: 0px;
          display: inline;
        }
      }
    }
  }

  .datapane-setting-user {
    display: flex;
    padding: 20px 5px;

    .user-info {
      flex: 1;
      padding-right: 5px;
      padding-left: 12px;
      font-size: 13px;
      line-height: 2;
    }

    .user-img {
      width: 94px;

      img {
        width: 94px;
        height: 94px;
        padding: 10px;
        border: $content-border;
      }
    }

    button {
      height: 28px;
      margin-top: 18px;
      color: $core-color;
      background: $list-group-hover;
      border: $content-border;
      border-radius: 18px;
    }
  }

  .datapane-setting-shortcutkey {
    padding: 5px;

    .shortcutkey-table {
      width: 100%;
      font-size: 13px;

      .shortcutkey-header {
        text-align: center;
        border: $content-border;
        background: $shortcutkey-header-color;

        td {
          padding: 4px;
          border: $content-border;
        }
      }

      .shortcutkey-group {
        td {
          padding: 12px 5px;
        }
      }

      .shortcutkey-item {
        border: $content-border;

        td {
          padding: 7px 5px 7px 12px;
          border: $content-border;
        }
      }
    }
  }
}

