@import '../../common/style/act/mixin/mixin.scss';
@import '../../common/style/act/button/_button-nba.scss';

.press-act:not(.press-act--hidden-tip) {
  .press__dialog {
    width: 7.15rem;
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    color: #999;
    margin: auto;
    text-align: center;
    min-height: 5.2rem;
    box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://image-1251917893.file.myqcloud.com/2020/a20200707NBA/pop/pop-bg.png) repeat bottom center;
    background-size: 100% auto;
  }

  .press__title {
    height: .52rem;
    line-height: .52rem;
    font-size: $font-m;
    color: $color-white;
    padding-left: .25rem;
    font-weight: bold;
    background: url(https://image-1251917893.file.myqcloud.com/2020/a20200707NBA/pop/pop-title-bg.png) no-repeat center center;
    background-size: 100% 100%;
  }

  .press__info {
    width: 80%;
    margin: auto;
    min-height: 4rem;
    padding-top: .2rem;
    text-align: center;
  }

  .press__info-list {
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .press__info-item {
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-between;
    align-items: center;
    width: 2.8rem;
    height: .48rem;
    line-height: .2rem;
    background: #09152d;
    border: 1px solid $color-blue-3;
    color: $color-white;
    padding: 0 .1rem;
    margin: 0 0 .24rem;

    &:last-child {
      flex-grow: 1;
      height: 1rem;
      padding: .1rem;

      textarea {
        width: 100%;
        height: 100%;
        line-height: .48rem;
        color: #fff;

        &::input-placeholder {
          color: #999;
        }
      }
    }

    label {
      white-space: nowrap;
      flex: unset;
      font-size: .24rem;
      line-height: .48rem;
      text-align: left;
    }

    input,
    .press__input-area {
      height: .44rem;
      width: 100%;
      vertical-align: middle;
      border: 0;
      box-sizing: border-box;
      background: 0 0;
      font-size: .24rem;
      color: #5569a2;
      letter-spacing: 0;
      line-height: .44rem;
      text-align: left;
    }
  }

  .press__tip {
    font-size: .24rem;
    text-align: left;
    padding-left: .1rem;
  }

  .press__button-wrap {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: .34rem auto .2rem;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0 1rem;
    justify-content: space-around;
  }

  .press__input-area--placeholder {
    color: #999;
  }

  .press__input-wrap {
    width: 100%;
  }
}