@import '../../common/style/gp-match/palette.scss';
@import '../../common/style/gp-match/layout.scss';

.press__team-grouping {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding-bottom: 0;
}

.press__grouping-group {
  flex: 1;
  padding: 0 .2rem;
  margin: .2rem 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.press__button-part {
  position: relative;
  width: 100%;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  height: auto;
  min-height: .72rem;
  padding: 0 .4rem 0 .22rem;
  padding-bottom: calc(.34rem + env(safe-area-inset-bottom));
  background: #fff;
  box-sizing: border-box;

  .press__button--disable-l {
    width: 3.96rem;
    height: .72rem;
    line-height: .72rem;
    font-size: .4rem;
    display: block;
    font-size: .4rem;
    font-family: 'PEACE';
    color: #fff;
    text-align: center;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/bg-btn-l-disable.png) no-repeat;
    background-size: 100% 100%;
  }

  .press__select-box {
    position: relative;
    top: .16rem;
    display: flex;
    align-items: center;
    margin: 0 .16rem;
    font-size: .52rem;
    color: #5300c3;
    font-family: 'AgencyFB-Bold';
    z-index: 1;

    .icon-exchange {
      flex-shrink: 0;
      margin-left: .08rem;
      font-size: .26rem;
      color: #5300c3;
    }
  }

  .press__select-group {
    display: flex;
    align-items: flex-end;
    padding-bottom: .1rem;

    .press__select-title {
      line-height: .28rem;
      font-size: .2rem;
      color: rgba(33, 33, 36, .75);
    }
  }

  .press__grouping-item-num {
    padding: .12rem 0;
    line-height: .28rem;
    font-size: .2rem;
    text-align: center;
    color: #212124;
  }

  .press__button--disable-l {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .34rem;

    .press__all-num {
      margin-left: .08rem;
      font-size: .28rem;
    }
  }
}

.press__automatic-part {
  justify-content: center;
}

// 按钮
.press__button--primary-l {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'PEACE';
  width: 3.96rem;
  height: .72rem;
  line-height: .72rem;
  font-size: .4rem;
  color: #212124;
  background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/bg-btn-l.png) no-repeat;
  background-size: 100%;
}

.press__button--disable-l {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 3.96rem;
  height: .72rem;
  line-height: .72rem;
  font-size: .4rem;
  display: block;
  font-size: .4rem;
  font-family: 'PEACE';
  color: $color-white;
  text-align: center;
  background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/bg-btn-l-disable.png) no-repeat;
  background-size: 100% 100%;
}

.press__all-num {
  color: #212124;
  font-size: .28rem;
}

.empty-container {
  flex: 1;
}

.press__button-group {
  position: relative;

  .press__button-count-down {
    position: absolute;
    top: 0;
    right: -.04rem;
    display: flex;
    justify-content: flex-end;
    padding-top: .02rem;
    padding-right: .12rem;
    width: 2.52rem;
    height: .38rem;
    font-size: .2rem;
    color: rgba(255, 255, 255, .9);
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/button-count-down-bg.png) no-repeat center / 100% 100%;
  }

  .press__count-down {
    position: relative;
    top: .02rem;
    font-family: 'AgencyFB-Bold';
    letter-spacing: .02rem;
  }
}

.press__automatic-part {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.4rem;
  background: #f7f7f7;
  box-shadow: 0 -.06rem .12rem 0 rgba(131, 131, 131, .25);

  .press__time-box {
    width: .42rem;
    height: .42rem;
    line-height: .42rem;
    text-align: center;
    font-family: 'AgencyFB-Bold';
    font-size: .24rem;
    color: #fff;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/schedule-manage/time-box-bg.png) no-repeat;
    background-size: 100%;
  }

  .press__text-day {
    margin: 0 .06rem;
    line-height: .42rem;
    font-size: .28rem;
    color: #212124;
    font-family: 'PEACE';
  }

  .press__text-colon {
    position: relative;
    top: -.02rem;
    margin: 0 .06rem;
    line-height: .42rem;
    font-size: .32rem;
    color: #212124;
    font-family: 'AgencyFB-Bold';
  }

  .press__text-right {
    margin-left: .2rem;
    color: #212124;
    font-size: .24rem;
  }
}
