@import '../../../src/themeColor.less';

.num_stat_item_flow:last-child {
  padding: 24px;
  padding-top: 5px !important;
}

.num_stat_item_flow {
  padding: 24px;
  padding-bottom: 12px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding-top: 15px;

  .difference_label {
    .label_key {
      color: rgba(51, 51, 51, .4);
      font-size: 14px;
      margin-right: 13px;
      position: relative;
      bottom: -1px;
    }

    .label_value {
      font-size: 14px;

      i {
        margin-left: 5px;
        position: relative;
        bottom: -3px;
      }
    }
  }

  .left_slide {
    background-color: @theme-light4Color;
    height: 100%;
    flex: 0 0 150px;

    .slide_icon {
      width: 40px;
      height: 40px;
      display: block;
      margin-bottom: 15px;
    }

    .slide_title {
      font-size: 14px;
      color: #333333;

    }
  }

  .right_main {
    overflow: auto;
    height: 100%;

    ul {
      flex-wrap: wrap;
      height: 100%;

      li {
        width: 293px;
        height: 100%;
        background-color: rgba(238, 238, 238, .2);
        border-radius: 2px;
        padding-left: 35px;
        box-sizing: border-box;
        flex: 1;

        .up_desc {
          span {
            color: #333333;
            font-size: 14px;
            margin-right: 6px;
          }

          img {
            margin-top: -3px;
            cursor: pointer;
          }
        }

        .down_num {
          margin-top: 15px;
          margin-bottom: 15px;
          min-height: 42px;
          font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Helvetica Neue,Helvetica,Arial,sans-serif;

          span {
            color: #333;
            font-size: 32px;
          }
        }
      }
    }
  }
}

.seller_panel {
  .down_goods_info {
    border-top: 2px solid #F7F7F7;
    margin-top: 20px;

    ul {
      li {
        //width: 24.8%;
        width: 50%;
        padding-top: 37px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        position: relative;
        cursor: pointer;

        &:after {
          content: '';
          display: block;
          width: 1px;
          height: 50px;
          background-color: rgba(216, 216, 216, 0.5);
          position: absolute;
          margin: auto;
          top: 32px;
          bottom: 0;
          right: 0;
        }

        .num {
          color: #000;
          font-size: 34px;
          font-weight: 700;
          text-align: center;
        }

        .label {
          margin-bottom: 3px;

          i {
            display: block;
            width: 10px;
            height: 10px;
            background-color: @theme-light3Color;
            border-radius: 10px;
            margin-right: 12px;
          }

          span {
            color: #000;
            font-size: 15px;
          }
        }
      }

      li:last-child {
        &:after {
          display: none;
        }
      }
    }
  }

  .up_seller_info {
    padding: 0 35px;
    padding-top: 20px;

    .store_score {
      padding-left: 32px;

      .right_store_level {
        margin-left: 30px;

        ul {
          li {
            .label {
              color: #404040;
              font-size: 14px;
              margin-top: 5px;
            }

            .level {
              transform: scale(.8);
            }

            .score {
              color: #404040;
              font-size: 14px;
            }
          }
        }
      }

      .all_store_panel {
        width: 117px;
        height: 117px;
        background: #FFFFFF;
        box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05);
        border-radius: 8px;

        img {
          width: 44px;
          height: 44px;

        }

        .title {
          color: #404040;
          font-size: 14px;
          margin-top: 2px;
        }

        .num {
          color: #262626;
          font-size: 20px;
        }
      }
    }

    .left_info_main {
      width: 51.5%;
      border-right: 2px solid #F7F7F7;

      .base_info {
        margin-left: 23px;

        .title {
          font-size: 18px;
          color: #404040;
        }

        .username {
          color: #404040;
          font-size: 14px;
          margin-top: 15px;

          span {
            color: @theme-color;
          }
        }

        .up_store_info {
          margin-top: 5px;

          span {
            color: #404040;
            font-size: 14px;
            margin-right: 50px;
          }

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

        .store_validate_time {
          margin-top: 5px;
          color: #404040;
          font-size: 14px;
        }
      }

      .store_logo {
        width: 115px;
        height: 115px;
        background: #FFF;
        box-shadow: 0 0 2px 0 rgba(196, 196, 196, 0.5);
        border-radius: 6px;

        img {
          max-width: 100%;
          max-height: 100%;
          display: block;
        }
      }
    }
  }
}

.custom_svg_iconfont {
  position: relative;
  top: 3px;
  left: 1px;
}

.stat_part {
  :global {
    .title_add_goods {
      height: 48px !important;
    }
  }
}

:global {
  .g2_tooltip_custom {
    width: auto;
    background: rgba(0, 0, 0, .8);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    padding: 12px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    .g2-tooltip-title {
      margin-bottom: 6px;
    }

    i {
      display: inline-block;
      width: 6px;
      height: 6px;
      border-radius: 6px;
      position: relative;
      top: -3px;
      margin-right: 8px;
    }
  }

  .map_charts {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
  }
}

.table_td_center_elliplis {
  span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: @theme-color;
    font-size: 13px;
  }
}

.update_time_panel {
  margin-left: 10px;

  span {
    color: #414141;
    font-size: 13px;
    margin-right: 10px;
  }

  .reload_icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url("../../assets/home_basic/reload_icon.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: 2px;
    cursor: pointer;

    &:hover {
      background-image: url("../../assets/home_basic/reload_icon_active.png");
    }
  }
}

.num_stat_item {
  padding: 20px 15px;
  box-sizing: border-box;
  border-top: 1px solid rgba(216, 216, 216, .5);
  width: 100%;
  height: 100%;
  align-items: stretch;

  .left_slide {
    background-color: @theme-light4Color;
    flex: 0 0 100px;

    .slide_icon {
      width: 40px;
      height: 40px;
      display: block;
      margin-bottom: 5px;
    }

    .slide_title {
      font-size: 14px;
      color: #333;

    }
  }

  .right_main {
    overflow: auto;
    height: 100%;

    ul {
      flex-wrap: wrap;

      li {
        width: 250px;
        height: 90px;
        background-color: rgba(238, 238, 238, .2);
        border-radius: 2px;
        padding-left: 30px;
        box-sizing: border-box;
        margin-left: 15px;

        .up_desc {
          span {
            color: #333;
            font-size: 14px;
            margin-right: 6px;
          }

          img {
            margin-top: -3px;
            cursor: pointer;
          }
        }

        .down_num {
          margin-top: 5px;

          span {
            color: #333;
            font-size: 26px;
            font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB,  Helvetica Neue, Helvetica, Arial, sans-serif;
            font-weight: 500;
          }
        }
      }
    }
  }
}

.colorful_store_item_5 {
  background-color: #fff;

  ul {
    li {
      width: 19% !important;
    }
  }
}

.colorful_store_item {
  padding: 25px;
  box-sizing: border-box;
  width: 100%;
  border-top: 1px solid rgba(216, 216, 216, 0.5);
  background: #fff;

  ul {
    li {
      width: 24%;
      background-size: auto 100%;
      //background-position: center top;
      background-repeat: no-repeat;
      height: 163px;
      padding: 12px 30px;
      box-sizing: border-box;

      .right_operate {
        position: relative;

        .select_modal {
          width: 80px;
          height: 92px;
          background: #FFFFFF;
          box-shadow: 0px 1px 8px 0px rgba(203, 136, 0, 0.34);
          position: absolute;
          left: -2px;
          top: 24px;
          border-radius: 2px;

          .select_option {
            color: #414141;
            font-size: 14px;
            width: 100%;
            padding: 4px 0;
            padding-left: 8px;
            cursor: pointer;
            position: relative;

            &:hover, &.current {
              color: @theme-color;
            }

            svg {
              position: absolute;
              right: 11px;
              bottom: 0;
              top: 0;
              margin: auto;
              transform: scale(.85);
              transform-origin: 100% 50%;
            }
          }

          .select_option.current {
            color: @theme-color;
          }

        }

        .select_modal.hide {
          display: none;
        }

        span {
          color: #FFFFFF;
          font-size: 14px;
          cursor: pointer;
        }

        i {
          display: block;
          width: 0;
          height: 0;
          font-style: normal;
          border: 5px solid transparent;
          border-top: 6px solid #fff;
          margin-left: 5px;
          position: relative;
          bottom: -4px;
          cursor: pointer;
          transform-origin: 50% 25%;
          transition: all .36s;


        }

        i.open {
          transform: rotate(180deg);
        }
      }

      .up_title {
        font-size: 16px;
        color: #fff;
      }

      .number {
        color: #FFF;
        font-size: 36px;
        font-weight: 700;
        width: 218px;
        border-bottom: 1px solid #FFF;
        padding-bottom: 15px;
        margin-top: 24px;
        min-height: 58px;
        font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Helvetica Neue,Helvetica,Arial,sans-serif;
      }

      .custom_ul {
        li {
          width: 100%;
          height: auto;
          padding: 0;
          font-size: 14px;
          color: #fff;
        }

        li:first-child {
          margin-top: 11px;
        }

        li:not(:first-child) {
          margin-top: 3px;
        }
      }

      .custom_number {
        padding-bottom: 0 !important;
        min-height: 0;
        border-bottom: none;

      }

      @media (max-width: 1400px) {
        .down_desc {
          padding-left: 8px !important;
        }
      }

      .down_desc {
        margin-top: 10px;
        padding-left: 15px;
        box-sizing: border-box;
        white-space: nowrap;

        i {
          position: relative;
          top: 3px;
          left: 2px;
        }

        .intro {
          font-size: 14px;
          color: #fff;
        }

        .difference {
          font-size: 14px;
          color: #fff;
        }
      }
    }
  }
}

.preview_stat_panel {
  padding: 0 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 50px;

  .charts_panel {
    position: absolute;
    right: 52px;
    top: 0;
    z-index: 4;

    .charts_stat_info {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;

      .common_position_stat {
        font-size: 14px;
        color: #ffffff;
        width: 110px;
        height: 52px;
        position: absolute;

        span {
          margin-top: 5px;
        }

        div {

        }
      }

      ul {
        width: 76%;

        li {
          font-size: 18px;
          color: #ffffff;
          height: 158px;
        }

        img {
          width: 29px;
          display: block;
          margin-right: 5px;
        }
      }
    }

    img {
      width: 789px;
    }
  }

  .funnel {
    .part {
      position: relative;
      width: 360px;
      height: 360px;

      .funnel_center_img {
        width: 20px;
        height: 20px;
      }

      .funnel_center_img_desc {
        font-size: 16px;
        color: #fff;
        font-weight: 600;
        margin-left: 3px;
      }

      .center_item_top {
        width: 240px;
        height: 0;
        border-top: 119px solid #8BD6B1;
        border-left: 33px solid transparent;
        border-right: 33px solid transparent;
        position: relative;
        background: #FDFDFD;
        z-index: 1;

        .top_content {
          position: absolute;
          left: -34px;
          top: -119px;
          width: 240px;
          height: 119px;
          z-index: 2;
        }
      }

      .center_item_center {
        position: relative;
        width: 174px;
        height: 0;
        border-top: 119px solid #82D3D0;
        border-left: 33px solid transparent;
        border-right: 33px solid transparent;
        z-index: 1;
        background: #F9F9F9;

        .center_content {
          position: absolute;
          left: -33px;
          top: -119px;
          width: 172px;
          height: 119px;
          z-index: 2;
        }
      }

      .center_item_bottom {
        position: relative;
        width: 108px;
        height: 0;
        border-top: 119px solid #71C4DF;
        border-left: 33px solid transparent;
        border-right: 33px solid transparent;
        z-index: 1;
        background: #F5F5F5;

        .bottom_content {
          position: absolute;
          left: -31px;
          top: -119px;
          width: 100px;
          height: 119px;
          z-index: 2;
        }
      }

      .left_top_content {
        position: absolute;
        top: 68px;
        left: -45px;
        width: 117px;
        text-align: center;
        background: #8BD6B1;
        z-index: 1;
        padding: 5px 0;
      }

      .left_bottom_content {
        position: absolute;
        bottom: 100px;
        left: -45px;
        width: 117px;
        text-align: center;
        background: #8BD6B1;
        z-index: 1;
        padding: 5px 0;
      }

      .right_content {
        position: absolute;
        bottom: 180px;
        right: -23px;
        width: 117px;
        text-align: center;
        background: #8BD6B1;
        z-index: 1;
        padding: 5px 0;
      }

      .side_content_desc {
        font-size: 13px;
        color: #fff;
        font-weight: 600;
      }
    }

    .left_top_line {
      border: 2px solid #B0E1C9;
      height: 118px;
      width: 74px;
      position: absolute;
      left: 19px;
      top: 30px;
      border-right: 0;
    }

    .left_bottom_line:after, .left_top_line:after {
      right: 0;
      bottom: 1px;
      z-index: 2;
      position: absolute;
      content: '';
      width: 14px;
      height: 2px;
      background: #B0E1C9;
      transform: rotate(30deg);
    }

    .left_bottom_line {
      width: 109px;
      border: 2px solid #B0E1C9;
      height: 150px;
      position: absolute;
      bottom: 50px;
      left: 19px;
      border-right: 0;
    }

    .right_line {
      width: 88px;
      position: absolute;
      top: 30px;
      right: 40px;
      border: 2px solid #B0E1C9;
      border-left: 0;
      height: 280px;
    }

    .right_line:after {
      left: 0;
      bottom: 1px;
      z-index: 2;
      position: absolute;
      content: '';
      width: 14px;
      height: 2px;
      background: #B0E1C9;
      transform: rotate(-30deg);
    }
  }

  .stat_item {
    padding: 10px 22px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom: 68px;
    margin-top: -50px;

    ul {
      li {
        width: 15%;

        .up_label {
          span {
            color: #333333;
            font-size: 14px;
            margin-right: 5px;
          }

          img {
            width: 16px;
            height: 16px;
            display: block;
            cursor: pointer;
          }
        }

        .num {
          color: #333;
          margin: 5px 0;
          min-height: 39px;
          font-size: 26px !important;
          font-weight: 500 !important;
          font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB,  Helvetica Neue, Helvetica, Arial, sans-serif;
        }

        .down_difference {
          .label {
            font-size: 14px;
            color: #333;
            margin-right: 8px;
          }

          .difference_num {
            color: #C41A1A;
            font-size: 14px;
          }
        }
      }
    }
  }

  .stat_item:nth-child(2) {
    background: #FDFDFD;
    box-shadow: 0px 1px 12px 0px rgba(0, 0, 0, 0.06);
    border-radius: 0px 0px 20px 20px;
    margin-top: 0 !important;
  }

  .stat_item:nth-child(3) {
    background: #F9F9F9;
    box-shadow: 0px 3px 6px 0px #F5F5F5;
    border-radius: 0px 0px 20px 20px;
    position: relative;
    z-index: 2;
  }

  .stat_item:nth-child(4) {
    background: #F5F5F5;
    box-shadow: 0px 2px 4px 0px rgba(187, 187, 187, 0.18);
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 3;
    padding-bottom: 18px;
  }
}

.common_table_item {
  background-color: #fff;
  width: calc(50% - 5px);

  .store_list_operate_panel {
    padding: 0 11px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 20px;
    position: relative;
    width: calc(100% - 11px);

    > form {
      position: relative;
    }
  }

  .label_panel {
    border-bottom: 1px solid #EEEEEE;
    position: relative;
  }

  .table_main_overflow_hidden {
    overflow: hidden;
  }

  .table_main, .table_main_overflow_hidden {
    min-height: 492px;
    padding: 11px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom: 30px;
    height: 498px;

    div[class=ant-table-bordered] {
      border-color: @theme-light3Color !important;
      border-top: none !important;
    }

    .operate_panel {
      width: 99%;
      height: 72px;
      background-color: #ffffff;
      border-right: 1px solid @theme-light3Color;
      border-top: 1px solid #F2F2F2;
    }

    .table_main_tab {
      position: relative;
      bottom: -1px;

      ul {
        li {
          width: 96px;
          height: 35px;
          border: 1px solid @theme-light4Color;
          background-color: @theme-light4Color;

          color: #5a5a5a;
          font-size: 14px;
          text-align: center;
          border-bottom: 1px solid transparent !important;
          cursor: pointer;
        }

      }
    }

    :global {
      .ant-table-small {
        border: none !important;
        border-bottom: 1px solid @theme-light4Color !important;
      }

      .ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner-full {
        margin-top: -0.35em !important;
      }

      .ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner {
        margin-left: 0.25em !important;
      }

      svg {
        width: 0.8em !important;
        height: 0.8em !important;;
        line-height: 0.8em !important;;
      }
    }
  }

  .tab_current_1 {

    .operate_panel {
      border-left: 1px solid @theme-light3Color;
    }

    ul {
      li:nth-child(1) {
        border-color: @theme-light3Color;
        color: @theme-color;
        background-color: #ffffff;
      }
    }
  }

  .tab_current_2 {

    .operate_panel {
      border-left: 1px solid @theme-light3Color;
    }

    ul {
      li:nth-child(1) {
        border-bottom: 1px solid @theme-light3Color !important;
      }

      li:nth-child(2) {
        border-color: @theme-light3Color;
        color: @theme-color;
        background-color: #ffffff;
      }
    }
  }

  .change_trend_radio {
    padding: 13px 0 13px 24px;

    :global {
      .ant-radio-wrapper {
        font-size: 13px !important;
      }
    }
  }
}

.common_table_item:nth-child(2n) {
  margin-left: 5px;
}

.common_table_item:nth-child(2n+1) {
  margin-right: 5px;
}

.date_part {
  margin-right: 10px;
  position: relative;
  display: inline-block;

  .date_select_modal {
    position: absolute;
    left: 0;
    top: 32px;
    z-index: 9;
    background: #fff;
    padding: 10px 10px 10px 0;
    height: 308px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px 0 rgba(200, 201, 204, 0.5);
    border-radius: 4px;

    .left {
      width: 91px;
      border-right: 1px solid #DCDEE0;
      height: 288px;
      padding-top: 50px;

      a {
        width: 66px;
        height: 24px;
        background: #F2F2F2;
        border-radius: 2px;
        color: #323233;
        font-size: 14px;
        line-height: 14px;
        text-align: center;
        margin-top: 20px;
      }

      a:first-child {
        margin-top: -10px;
      }

      a.selected {
        background: @theme-color !important;
        color: #fff !important;
      }
    }
  }
}

.saling_stat {
  background-color: #f0f2f5;
  width: 100%;
}

.module_item {
  background-color: #fff;
  border-radius: 4px;
}

.trade_stat {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.stat_common_table {
  :global {
    .ant-table-small {
      border: none !important;
      border-bottom: 1px solid @theme-light4Color !important;
    }

    .ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner-full {
      margin-top: -0.35em !important;
    }

    .ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner {
      margin-left: 0.25em !important;
    }

    .ant-table-column-sorter svg {
      width: 0.8em !important;
      height: 0.8em !important;;
      line-height: 0.8em !important;;
    }

    .ant-table-small .ant-table-content .ant-table-body table .ant-table-tbody tr td {
      height: 42px !important;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .ant-table-small > .ant-table-content > .ant-table-header > table, .ant-table-small > .ant-table-content > .ant-table-body > table, .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table, .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table, .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table, .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table, .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table, .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table {
      table-layout: fixed;
    }
  }
}

.date_select_modal_flag{background: #fff}

