.sign-panel-contanier {
  .sign-panel-preview {
    min-height: 100px;
    max-width: 100%;

    img {
      display: block;
      width: 100%;
    }
  }

  .signBtn {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 4px;
    border: 1px  #fc8713 dashed;
    margin-top: 14px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  >p {
    font-size: 14px;
    font-weight: 400;
    color: #343434;
    line-height: 16px;
  }

  .delete-icon{
    position: absolute;
    top: -5px;
    right: -5px;
    width: 14px;
    height: 14px;
    background-color: red;
    border-radius: 100%;
    z-index: 12;
    &::before, &::after{
      content: "";
      top: 1px;
      left: 6px;
      position: absolute;
      height: 12px;
      width: 2px;
      background-color: #fff;
      border-radius: 3px;
    }
    &::after{
      transform: rotate(45deg);

    }
    &::before{
      transform: rotate(-45deg);
    }
  }
}

.com-sign-wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  .sign-placehodler{
    text-align: center;
    position: absolute;
    color: #999;
    font-size: 16px;
    width: 100vh;
    transform: rotate(90deg);
  }
  .canvas-back-up {
    position: absolute;
    bottom: 100%;
    z-index: 10;
    visibility: hidden;
  }
}
@media screen and (orientation: portrait) {
  .com-sign-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    .nav-bar-box {
      position: absolute;
      top: 100%;
      right: 55px;
      width: 100vh;
      margin-top: -44px;
      background: #fff;
      transform: rotate(90deg);
      transform-origin: bottom right;

      .nav-bar {
        height: 44px;
        line-height: 44px;
      }
    }

    canvas {
      margin-left: 10px;
      border: 1px solid #e6e6e6;
    }

    .btn-group {
      position: absolute;
      top: 0;
      left: 25px;
      width: 100vh;
      margin-top: -44px;
      text-align: center;
      background: #fff;
      transform: rotate(90deg);
      transform-origin: bottom left;

      button {
        width: 100px;
        height: 44px;
      }

      .ok {
        margin-left: 10px;
      }
    }
  }
}

@media screen and (orientation: landscape) {
  .com-sign-wrap {
    text-align: center;
    .nav-bar-box {
      margin: 10px auto;
    }

    canvas {
      border: 1px solid #e6e6e6;
    }

    .btn-group {
      margin-top: 10px;
      button {
        width: 100px;
        height: 44px;
      }

      .ok {
        margin-left: 10px;
      }
      .cancel {
        margin-left: 10px;
      }
    }
  }
}
