@import '../../common/style/act/layout/_layout-pc-game-life.scss';

.press-act:not(.press-act--hidden-tip) {
  &.press__cover {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .7);
    z-index: 95;
  }

  .press__dialog--address {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 425px;
    height: 517px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(219, 211, 255, 1) 0%, rgba(250, 238, 255, 1) 20.41%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0px .5px 0px  rgba(0, 0, 0, .25);
    z-index: 99;
  }

  .press__title {
    margin: 15px 0 0 20px;
    font-size: $font-l;
    color: $color-gray-1;
    text-align: left;
    line-height: 22px;
  }

  .press__info {
    width: 347px;
    margin: 35px auto;
  }

  .press__info-list {
    width: 347px;
    margin: 35px auto 0;
    color: #303030;
  
    label {
      width: 74px;
      flex-shrink: 0;
      color: $color-gray-1;
      font-size: $font-m;
    }
  
    .press__input-wrap {
      input,
      .press__input-area {
        display: block;
        width: 273px;
        height: 40px;
        padding: 0 10px;
        box-sizing: border-box;
        line-height: 38px;
        border-radius: 4px;
        background: #fff;
        border: 1px solid #d7d7d7;
        color: $color-gray-1;
        font-size: $font-s;
  
        &::placeholder {
          color: $color-gray-4;
        }
      }
  
      textarea {
        width: 347px;
        height: 82px;
        padding: 10px;
        border-radius: 4px;
        background: #fff;
        border: 1px solid #d7d7d7;
        color: $color-gray-1;
        font-size: $font-s;
        resize: none;
        box-sizing: border-box;
  
        &::placeholder {
          color: $color-gray-4;
        }
      }
    }
  }

  .press__info-item {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  .press__tip {
    margin: 20px auto 0;
    max-height: 66px;
    font-size: $font-s;
    line-height: 22px;
    color: $color-gray-2;
  }

  .press__dialog--address .press__button-wrap {
    margin-top: 15px;
    height: .82rem;
  }

  .press__btn--sure {
    display: block;
    width: 130px;
    height: 40px;
    margin: 0 auto;
    font-size: $font-m;
    line-height: 40px;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    background: linear-gradient(90deg, #50abff 0%, #6e61ff 50%, #925fff 100%);
  }

  .press__btn--cancel {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 10;
    font-size: 0;
    cursor: pointer;
    background: url(https://image-1251917893.file.myqcloud.com/TIP_component_style/pc-game-life-img/pop_close.png) no-repeat center;
    background-size: 14px 14px;
  }

  .press__input-area--placeholder {
    color: $color-gray-4;
  }

  .press__info-list {
    ::v-deep {
      .input-placeholder {
        color: $color-gray-4;
        font-size: $font-s;
      }
    }
  }
}