/* pages/visitor/visitor.wxss */
.visitor-page{
  box-sizing: border-box;
  padding: 20rpx 30rpx;
}
.card{
  background: #E5C7A3;
  box-sizing: border-box;
  padding: 40rpx;
  border-radius: 16rpx;
  font-size: 24rpx;
  font-family: PingFang SC;
  font-weight: 500;
  color: #502B16;
  position: relative;
  .btn{
    width: 133rpx;
    height: 44rpx;
    border-radius: 22rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #F5D69C;
    background: #502B16;
    margin-left: auto;
    margin-top: -24rpx;
  }
  .title{
    display: flex;
    align-items: center;
    font-size: 32rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #502B16;
    margin-bottom: 16rpx;
    image{
      width: 35rpx;
      height: 40rpx;
      margin-right: 13rpx;
    }
  }
  .cancel{
    width: 16rpx;
    height: 16rpx;
    position: absolute;
    top: 0;
    right: 10rpx;
    padding: 20rpx;
  }
}

.list-box{
  margin-top: 50rpx;
  .item-box{
    display: flex;
    &:last-child{
      .icon-box{
        &::after{
          display: none;
        }
      }
      .user-info{
        border-bottom: none;
      }
    }
    .icon-box{
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      image{
        width: 37rpx;
        height: 37rpx;
        flex-shrink: 0;
      }
      &::after{
        content: ' ';
        width: 2rpx;
        background: #F2F2F2;
        height: 100%;
      }
    }
    .user-info{
      width: 100%;
      box-sizing: border-box;
      padding-left: 30rpx;
      padding-bottom: 32rpx;
      border-bottom: 2rpx solid #F3F5F8;
      .name{
        font-size: 32rpx;
        font-family: PingFang SC;
        font-weight: bold;
        color: #494949;
        display: flex;
        align-items: center;
        .line{
          width: 1rpx;
          height: 17rpx;
          background: #737373;
          opacity: 0.42;
          margin: 0 15rpx;
        }
      }
      .time{
        font-size: 28rpx;
        font-family: PingFang SC;
        font-weight: 400;
        color: #838383;
        margin-top: 20rpx;
      }
      .btn-box{
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 28rpx;
        font-family: PingFang SC;
        font-weight: 400;
        color: #838383;
        margin-top: 26rpx;
        .btns{
          display: flex;
          align-items: center;
        }
      }
    }
  }
}
.warning{
  color: #FF5129;
}

.bottom-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #FFF;
  width: 100%;
  box-shadow: 0 0 18rpx #CCCCCC;
  box-sizing: border-box;
  padding: 24rpx 30rpx;
  padding-bottom: calc(constant(safe-area-inset-bottom) + 24rpx);
  padding-bottom: calc(env(safe-area-inset-bottom) + 24rpx);
  .icon-box{
    font-size: 24rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #838383;
    display: flex;
    align-items: center;
    image{
      width: 35rpx;
      height: 40rpx;
      margin-right: 17rpx;
    }
  }
}
.bottom-fill{
  height: 106rpx;
  padding-bottom: calc(constant(safe-area-inset-bottom) + 24rpx);
  padding-bottom: calc(env(safe-area-inset-bottom) + 24rpx);
}