html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}


#area {
  display: none;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  font-size: large;
  z-index: 10000;
}

#viewerContainer {
  position: absolute;
  width: 100%;
  height: auto;
  overflow: hidden;
}


#signatureBackground {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 8888;
}

.signatureContainer {
  position: fixed;
  width: 90%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--tg-theme-secondary-bg-color);
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 14px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--tg-theme-button-color);
}

.signature-box {
  position: relative;
  border-radius: 17px;
  height: 80vw;
  background-color: #fff;
  overflow: hidden;
}

#signatureCanvas {
  width: 100%;
  height: 100%;
  border-radius: 17px;
}

/* #signatureContainer {
  display: none;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 999;
}

#signatureCanvas {
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 20px;
  touch-action: none;
  background-color: rgb(255, 255, 255);
  z-index: 1000;
} */
