.signature-pad {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-size: 10px;
  width: 100%;
  height: 100%;
  max-width: 700px;
  max-height: 460px;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
  border-radius: 4px;
  padding: 16px;
}

.signature-pad::before, .signature-pad::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 40%;
  height: 10px;
  bottom: 10px;
  background: transparent;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.signature-pad::before {
  left: 20px;
  -webkit-transform: skew(-3deg) rotate(-3deg);
  transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
  right: 20px;
  -webkit-transform: skew(3deg) rotate(3deg);
  transform: skew(3deg) rotate(3deg);
}

.signature-pad--body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  /*border: 1px solid #f4f4f4;*/
}

.signature-pad--body canvas {
  /*position: absolute;*/
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
  color: #C3C3C3;
  text-align: center;
  font-size: 1.2em;
  margin-top: 8px;
}

.signature-pad--actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 8px;
}

.letter-box {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
  background: white;
  margin: 0px 0px 10px 0px;
}

.letter-content {
  background: white;
  padding: 30px 10px 10px 10px;
}

.letter-signature {
  background: white;
  padding: 0px 15px 0px 15px;
  text-align: center;
  font-size: 12px;
  border-top: solid gray;
  margin-left: 20px;
  margin-right: 20px;
}

.sign-link {
  justify-content: center;
  align-items: center;
  font-family: Poppins-Medium;
  line-height: 1.5;
  padding: 2px;
  transition: all 0.4s;
  text-decoration: underline;
  border: none;
  color: var(--main-color);
  width: 100%;
}

.letter-background {
  background: #ffffff;
  height: 100%;
  padding-bottom: 50px;
  overflow: scroll;
}

.sign-pop-up {
  position: fixed;
  top: 0px;
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  padding: 10px;
  z-index: 99999;
  width: 100%;
  margin: 0px;
  position: absolute;
  left: 0;
  padding: 0px;
}

.sign-zone {
  width: 100%;
  height: 200px;
  border: solid 0px gray;
  border-radius: 17px;
  margin-bottom:-5px;
}

.sign-button {
  background-color: var(--main-color);
  border: 1.5px solid var(--main-color);
  color: #fff;
  margin: 0px 5px 0px 0px;
  justify-content: center;
  align-items: center;
  font-family: Poppins-Medium;
  line-height: 1.5;
  height: 100%;
  padding: 0px 15px 0px 15px;
  float: right;
}

.sign-button:disabled {
  color: white;
  border: 1.5px solid var(--disabled-color);
  cursor: auto;
  background-color: var(--disabled-color);
}

.sign-bar {
  display: flex;
  margin-top: 30%;
  width: 100%;
  background: #fff;
  border: solid 1px gray;
  height: 60px;
}

.sign-button-zone {
  display: flex;
  margin-top: -5px;
  width: 100%;
  background: #fff;
  border: solid 1px gray;
  height: 50px;
}