[id*="scanner-info"] {
    display: none;
    height: 100vh;
    width: 100vw;
    position: fixed;
    inset: 0;
    overflow: hidden;
}

[id*="barcodeScanner"] {
    width: 100vw;
    height: 100vh;
}

[id*="barcodeScanner"] video {
    height: 100vh !important;
    position: fixed !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%);
    width: 100%;
    object-fit: cover;
}

[id*="barcodeScanner"] > div {
    background: transparent !important;
}

.change-camera {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-style: solid;
    display: flex;
    justify-content: center;
    align-items: center;
}

.change-camera::after {
    font-size: 1.125rem;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scanner-actions {
    height: auto;
    width: 90vw;
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.scanner-actions .main-scanner-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.scanner-actions .close-scanner {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    line-height: 49px;
    background-color: rgba(0, 0, 0, 0.16);
    color: #fff;
    border-style: solid;
  }

.dce-sel-camera, .o-cam-button, .dce-bg-loading {
    display: none !important;
}

.scanner-footer {
    z-index: 1;
    position: fixed;
    bottom: 0;
    height: auto;
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    border-radius: 32px 32px 0 0;
    padding: 3.43vh 4.29vh 5.57vh 4.29vh;
}

button.flashlight {
    border-radius: 50%;
    border-style: solid;
    padding: 0;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

button.flashlight::after {
    font-size: 1.125rem;
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scanner-overlay {
    position: fixed;
    top: 0;
    opacity: 0.5;
    height: 100vh;
    width: 100vw;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 24vh 59vh;
}

.scanner-overlay.center {
    background-size: 33vh 50vh;
    background-position: center 16vh;
}

.send-image {
    color: transparent;
    min-height: 42px;
    min-width: 42px;
    height: 56px;
    width: 56px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-width: 2px;
    border-radius: 50%;
    border-style: solid;
    border-color: #000;
}

.send-image::after{
    content: '';
    background-color: transparent;
    height: 28px;
    width: 28px;
    display: block;
    border-radius: 50%;
}

.scanner-loader, .scanner-error {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    justify-content: center;
    align-items: center;
    display: none;
}

.scanner-loader .loader-wrapper {
    width: auto;
    height: auto;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 24px 16px 24px 16px;
}

.scanner-loader .loader-icon::before {
    width: 32px;
    height: 32px;
    font-size: 32px;
    line-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scanner-loader .loader-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0 12px;
}

.scanner-loader .loader-bar {
    margin-top: 8px;
    width: 224px;
    height: 8px;
    border-radius: 30px;
    border-style: none;
}

.scanner-loader .loader-progress {
    width: 0%;
    height: 100%;
    display: block;
    border-radius: 30px;
    border-style: none;
}

.scanner-error .error-wrapper {
    width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 24px 16px 24px 16px;
}

.scanned-img-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  padding: 5vh 0 5vh 0;
  flex-direction: column;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
}

.scanned-img-container .scanner-title {
  margin-top: 4.29vh;
  max-width: 90%;
  word-break: break-all;
}

.scanned-img-container .taken-image {
  margin-top: 5.15vh;
}

.scanned-img-container .scanned-image-description {
  margin-top: 3.48vh;
  max-width: 90%;
  word-break: break-all;
}


