body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.type-passport {
  display: none;
}

.type-registration {
  display: none;
}

.type-bankcard {
  display: none;
}

.type-qr {
  display: none;
}

h1 {
  margin-block: 18px 16px;
  color: #00b09a;
  font-size: 20px;
}

h2 {
  margin-block: 18px 16px;
  color: #31af9a;
  font-size: 20px;
}

.wrapper {
  max-width: 640px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 14px 40px 14px;
}

.footer {
  padding: 14px;
  opacity: 0.3;
  text-align: center;
}

.breadcrumbs {
  padding-top: 12px;
  padding-bottom: 8px;

  a {
    display: flex;
    gap: 6px;
    justify-content: start;
    text-decoration: none;

    img {
      width: 24px;
      margin: 0;
    }
  }
}

.wasm-log {
  background: #2a4c55;
  padding: 0.3rem 0.8rem;
  color: #94a3a1;
}

.element {
  font-family: monospace;
  font-size: 12pt;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  color: #7ea3ab;
}

.element b {
  color: #1e7b91;
}

.output-data {
  overflow-wrap: anywhere;
  margin-bottom: 4px;

  ul {
    margin: 0;
  }
}

.output-images img {
  width: 100%;
  margin-bottom: 12px;
}

/* the canvas *must not* have any border or padding, or mouse coords will be wrong */
canvas {
  display: block;
  width: 100%;
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;

  .countdown-number {
    display: none;
    position: absolute;
    color: white;
    font-weight: bold;
    font-size: 58px;
    z-index: 10;
  }
}

hr {
  margin-block: 18px;
  border: 2px dashed #2a4c55;
}

img {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.canvas-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  margin-bottom: 16px;
}

.element-wrapper {
  flex-grow: 1;
  max-width: 100%;
}

.canvas {
  opacity: 0.7;
  z-index: 1;
}

.canvas-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 500;
}

.video {
  display: none;
  width: 100%;
}

.camera-select {
  display: none;
}

.button {
  padding: 10px 30px;
  color: white;
  font-size: 16px;
  background: #00B09A;
  border-radius: 20px;
  border: none;
}

.scan-button {
  display: none;
  min-width: 154px;
  height: 38px;
}

.scan-button-loader {
  display: none;
  position: relative;
  top: -16px;
  width: 50px;
  height: auto;
}

.photo-upload-file-input {
  display: none;
}

.photo-upload-button {
  padding: 10px 30px;
  text-align: center;
  color: white;
  font-size: 16px;
  white-space: nowrap;
  background: #00B09A;
  border: none;
  border-radius: 20px;
  outline: none;
}

.face-check-wrapper {
  display: none;
}

.result-wrapper {
  display: none;
}

.faces-result {
  display: none;

  .photos-wrapper {
    display: flex;
    gap: 18px;
  }

  .photo-wrapper {
    display: flex;
    aspect-ratio: 1 / 1;
    width: 50%;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }
  }
}

.email-wrapper {
  display: none;
}

.debug .email-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-wrapper {
  display: none;
  padding: 12px;
  width: 100%;
}

.link {
  width: 100%;
}

/* debug block */
.debug-wrapper {
  display: none;
}

.debug .debug-wrapper {
  display: block;
  padding: 12px;
}

.debug-camera-buttons-wrapper {
  display: flex;
  gap: 16px;
}

.debug-cameras {
  white-space: preserve;
}

.debug-log {
  white-space: preserve;
}

.photo-save-button {
  display: none;
}

/* utility classes */

.center-wrapper {
  display: flex;
  justify-content: center;
}

.py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.py-4 {
  padding-top: 16px;
  padding-bottom: 16px;
}

.pb-2 {
  padding-bottom: 8px;
}
