#sigCanvas {
  width: 100%;
  height: 100%;
}

video::-webkit-media-controls-start-playback-button {
  display: none;
}

#video, #capturedImage {
  display: none;
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
}

#freezeButton, #sendButton, #newImageButton, #downloadButton, #abortButton {
  display: none;
  z-index: 1000;
  margin: 20px;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

/* Styles for the content inside the overlay */

#overlay-content {
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 98%;
  max-height: 100%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0);
  border-radius: 5px;
}

#button-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px;
}

.list-group-item.active {
  z-index: 2;
  color: var(--bs-emphasis-color);
  background-color: var(--bs-focus-ring-color);
  border-color: var(--bs-list-group-active-border-color);
}

