@import "@styles/theme.scss";

// .wxParse-img {
//   width: 100% !important;
//   padding: 30px 0;
// }
.ass-page{
  height: 100vh;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.share__friend,
.creat__img {
  background: none;
}

.detail-banner {
  position: relative;
  overflow: hidden;
  height: 600px;
  width: 100%;

  &__img {
    display: block;
    width: 100%;
    height: 100%!important;
  }
  .rest-time{
    position: absolute;
    bottom:0;
    left:0;
    background-color: #DFDFDF;
    padding: 10px 36px;
    font-size: 30px;
    border-radius: 0 12px 0 0 ;
    .row-label{
      color:#666;
      margin-right: 10px;
    }
    .row-text{
      color: #FF245A;
      min-width: 6em;
      display: inline-block;
      white-space: nowrap;
    }
  }
  .success-num{
    position: absolute;
    right:0;
    bottom:0;
    color: #fff;
    display: flex;
    height: 48px;
    line-height: 48px;

    .triangle{
      width: 0px;
      height: 0px;
      border: 50px solid;
      border-top-color: transparent;
      border-left-color:transparent;
      border-right: none;  
      border-bottom-color: rgba(47,6,1,0.5) ;
      margin-top: -48px;
    }
    .text{
    background:rgba(47,6,1,0.5);
    padding:0 18px 0 6px;
    font-size: 24px;
    }
  }
}
.detail-info{
  display: flex;
  align-items: center;
  color: $primary-color;
  margin-bottom: 28px;
}
.detail-wrap {
  background: transparent;
}
.bottom-box{
  padding-bottom:120px!important; 
}
.detail {
  background: white;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 30px 40px 0 40px;
  position: relative;
  overflow: hidden;

  .status__img{
    width: 176px;
    height: 176px;
    display: block;
    margin: 0 auto 20px auto;
  }
  .fail-text{
    color:#999;
    font-size: 32px;
    text-align: center;
  }
  .hexiaoma{
    font-size:32px;
    font-weight:500;
    color:$primary-color;
    text-align: center;
  
  }
  .leader-tip{
    background-color: #fff;
    color:#FF245A;
    font-size: 24px;
    margin:-38px auto 0 auto;
    width: 54px;
    text-align: center;
    height: 30px;
    line-height: 30px;
    border-radius: 6px;

  }
  .my-con{
    display: flex;
    align-items: center;
    margin: 10px 0;
    .my-img{
      width: 124px;
      height: 124px;
      border-radius: 50%;
    }
    .my-text{
      font-size:32px;
      color:#333;
      margin: 0 24px;
    }
    .my-number{
      font-size:32px;
      color:$primary-color;
    }

  }
  
  

  &-sign__num {
    position: absolute;
    top: -22px;
    right: -18px;
    width: 200px;
    height: 88px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 237, 237, 0.85);
    border-radius: 36px;
    color: #FF5757;
    font-size: 28px;
    padding-top: 17px;
  }

  &-title {
    font-size: $font-size-title-large;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  &-top {
    border-bottom: solid 1px $border-color-light;
    padding: 30px 0;

    &__row {
      padding: 10px 0;

      .row-label {
        font-size: 32px;
      }

      .row-content {
        padding-left: 10px;
        color: $text-color-lighter;
      }
    }
  }

  &-con {
    margin-bottom: 60px;
    &__title {
      font-size: 32px;
      font-weight: bold;
      padding: 40px 0;
      text-align: center;
    }
  }
}

.bot-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: white;
  @extend .flex;
  justify-content: space-between;
  box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.2);
  padding: 0 30px;

  .btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 0;
    line-height: 1;
    margin: 0;
    border-radius: 0;

    .btn-icon {
      width: 40px;
      height: 30px;
    }

    .iconfont {
      font-size: 40px;
      color: #5C5C5C;
    }

    .selected {
      color: $primary-color;
    }

    .txt {
      font-size: 26px;
      color: #A1A1A1;
      margin-top: 5px;
    }
  }

  .poster-btn {
    .btn-icon {
      // margin-bottom: 6px;
    }
  }

  .share-btn {
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    line-height: inherit;

    .btn-icon {
      width: 42px;
      height: 30px;
    }
  }

  .submit-btn {
    width: 300px;
    text-align: center;
    height: 100px;
    line-height: 100px;
    border-radius: 8px;
    color: white;
    font-size: 32px;
    margin: 0;
    background: $primary-color;
  }

  .hasSigned {
    background: #CCCCCC;
  }
}

.statement {
  background: $page-bg;
  width: 100%;
  color: rgb(189, 185, 185);
  font-size: $font-size-small;
  padding: 20px 40px;
  line-height: 40px;
  padding-bottom: 160px;
}



.chat-entrance {
  position: fixed;
  bottom: 27%;
  right: 5%;
  width: 100px;
  height: 100px;
  background: $btn-color;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  overflow: initial;

  .iconfont {
    font-size: 50px;
    color: white;
  }

  .unread-num {
    padding: 4px 12px;
    background-color: $primary-color;
    color: white;
    font-size: 24px;
    position: absolute;
    line-height: 1;
    right: 2px;
    top: -6px;
    border-radius: 16px;
  }
}

.page-body {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  .mask {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }

  .page-section {
    position: absolute;
    width: 600px;
    top: 24%;
    left: 75px;
    border-radius: 10px;
    background: white;
    height: 500px;

    &__title {
      font-size: 36px;
      text-align: center;
      width: 100%;
      line-height: 120px;
      display: block;
      color: black;
    }

    .page-content {
      width: 490px;
      margin: 0 auto;

      .inputName {
        width: 100%;
        height: 80px;
        line-height: 80px;
        border: 1px solid #CCCCCC;
        border-radius: 10px;
        text-align: center;
      }

      .picker {
        width: 100%;
        margin-top: 30px;
        display: flex;
        justify-content: center;
        border: 1px solid #CCCCCC;

        Text {
          display: block;
          color: black;
          height: 80px;
          line-height: 80px;
          width: auto;
        }

        .content {
          text-align: center;
          margin-right: 20px;
          margin-left: 20px;
        }
      }

      .comfire {
        width: 490px;
        height: 96px;
        background: $primary-color;
        border-radius: 7px;
        line-height: 96px;
        color: white;
        text-align: center;
        margin-top: 60px;
        font-size: 36px;
      }
    }
  }

}

.tools-main {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  margin: 30px 0 20px 0 ;

  .tools-item {
    flex: 0 0 20%;
    height: 140px;
    box-sizing: border-box;
    margin-bottom: 10px;
    .wait-txt{
      font-size: 26px;
      text-align: center;
      display: block;
      color: #999;
      width: 120px;
      @include text-ellipsis; 
    }


    &-img {
      width: 88px;
      height: 88px;
      margin: 0 auto 10px auto;
      border-radius: 50%;
      display: block;
    }

    &-txt {
      font-size: 26px;
      text-align: center;
      display: block;
      width: 120px;
      @include text-ellipsis;
    }
    &-wait {
      font-size: 26px;
      text-align: center;
      display: block;
      color:#999;
    }
  }
}
.assistance-text{
text-align: center;
position: relative;
white-space: nowrap;
margin: 0 40px;
overflow: hidden;
height: 80px;
line-height: 80px;
color:#dcdcdc;
.acitivty-desc{
  color: $primary-color;
  font-size: 32px;
  position: absolute;
  left: 50%;
  margin-left: -94px;
  padding: 0 30px;
  background-color: #fff;
 
}
}
.assistance-btn {
  background:$primary-color;
  border-radius:8px;
  text-align: center;
  color: #fff;
  padding:  0;
  font-size: 30px;
  width: 320px;
  height: 100px;
  line-height: 100px;
  margin: 0 auto;
}
.set-btn{
  border-radius:8px;
  text-align: center;
  color: $primary-color;
  padding:  0;
  font-size: 30px;
  width: 320px;
  border:2px solid $primary-color;
  height: 100px;
  line-height: 100px;
  margin: 0 auto;
  
  
}
.nostart-btn {
  background:#CCCCCC;
  border-radius:8px;
  text-align: center;
  color: #fff;
  display: block;
  padding: 0;
  font-size: 30px;
  width: 320px;
  height: 100px;
  line-height: 100px;
  margin: 0 auto;
}
.btn-box{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 30px ;
  width: 100%;
}
.btn-fixed{
  position: fixed;
  width: 100%;
  height: 140px;
  padding: 20px 0;
  bottom: 0;
  left:0;
  background-color: #fff;
  border-top: 1px solid #eee;
}
