@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.roboto-thin {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.roboto-light {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.roboto-black {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.roboto-thin-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.roboto-light-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.roboto-regular-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.roboto-medium-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.roboto-bold-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.roboto-black-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: italic;
}

html {
  overflow: hidden;
  background: #212427;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #212427;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.landscape {
  transform: rotate(-90deg);
}

.portrait {
  transform: rotate(0deg);
}

.blur {
  filter: blur(8px);
  -webkit-filter: blur(8px);
}

.zIndex3 {
  z-index: 3;
}

.d-none {
  display: none !important;
}

.mobile-bg {
  height: 100vh;
  position: absolute;
  z-index: 2;
}

.mobile-bg img.backgroundImg {
  height: 100%;
}

.mobile-bg img.step {
  position: absolute;
  width: 90%;
  bottom: 8%;
  left: 50%;
  transform: translate(-50%);
}

.mobile-bg img.mid {
  position: absolute;
  width: 18%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mobile-bg img.mid.small {
  width: 12%;
}

.circle-wrapper {
  width: 40vh;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: rotate(45deg) translate(-71%, 0%);
}

.circle-background {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.circle-background img {
  width: 100%;
}

.timer {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(12vh);
  color: #fff;
  font-size: 2.1vh;
  z-index: 3;
}

.step-title {
  color: #fff;
  font-size: 2.1vh;
  position: absolute;
  top: 15%;
  left: 8%;
}

.step-title small{
  color: #aaa;
  font-size: 1.5vh;
  display: block;
}

.head-title {
  top: 1%;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
}

.img-hole {
  background: #000;
  width: 50px;
  height: 5px;
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%);
  border-radius: 5px;
}

.image-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px; /* Adjust gap to align with smaller border */
  width: calc(100% - 20px); /* Adjust width to account for smaller border size and gap */
  height: calc(100% - 20px); /* Adjust height to account for smaller border size and gap */
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
}

.image-grid a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.image-grid img.active {
  display: block;
}

img.backImg {
  position: absolute;
  width: 30%;
  top: 0%;
  left: 0%;
  cursor: pointer;
}

img.homeImg {
  position: absolute;
  width: 30%;
  top: 0%;
  right: 0%;
  cursor: pointer;
}

img.galumaLogo {
  position: absolute;
  width: 30vh;
  top: 3%;
  left: 50%;
  transform: translate(-50%);
}

img.actionBtn {
  width: 100%;
}

img.riskFree {
  position: absolute;
  width: 10vh;
  bottom: 6%;
  right: 10%;
}

.action-wrapper {
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translate(-50%);
  width: 32vh;
}

.action-wrapper.p2 {
  top: 40%;
}

.action-wrapper.p4 {
  top: 30%;
}

.action-btn {
  display: block;
  width: 100%;
  position: relative;
  margin-bottom: 5%;
}

.action-text {
  position: absolute;
  top: 30%;
  left: 5%;
  width: 90%;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.action-text span.active {
  color: #000;
}

.action-text img {
  width: 20px;
}

img.switchBtn {
  display: none;
}

img.switchBtn.active {
  display: block;
}

a img.switchBtn.primary {
  display: block;
}

a.active img.switchBtn.primary {
  display: none;
}

a.active img.switchBtn.secondary {
  display: block;
}

.startCircle {
  position: absolute;
  width: 22vh;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 49%;
}

.outerCircle {
  position: absolute;
  width: 32vh;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 49%;
}

.outerCircle.special {
  width: 28vh;
  top: 80%;
}

.startCircle.special {
  width: 18vh;
  top: 80%;
}

.printMid {
  position: absolute;
  top: 74%;
  left: 17vh;
  width: 13vh;
  cursor: pointer;
}

.startText,
.counterText {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25vh;
  height: 25vh;
  border-radius: 50%;
  position: absolute;
  font-size: 6vh;
  color: #fff;
  top: 49%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.startText {
  cursor: pointer;
}

.startText.special {
  font-size: 3.5vh;
  text-align: center;
}

.resetCounter {
  position: absolute;
  bottom: 17%;
  right: 0%;
  width: 10vh;
  cursor: pointer;
}

.forwardBtn {
  position: absolute;
  top: 16%;
  right: 0%;
  width: 10vh;
  cursor: pointer;
}

.forwardBtn.tireRoll {
  width: 7vh;
  right: 3vh;
}

.markWithChalk {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translate(-50%);
  font-size: 1.8vh;
  color: #F7DE4A;
}

.bad-note {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
  color: #fff;
  font-size: 4vh;
  width: 35vh;
}

.forwardBadBtn {
  width: 10vh;
  cursor: pointer;
}

.patch-grid {
  position: absolute;
  width: 35vh;
  top: 35%;
  left: 50%;
  transform: translate(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.patch-grid img {
  width: 100%;
}

.remove-tire {
  position: absolute;
  width: 35vh;
  left: 50%;
  transform: translate(-50%);
  top: 35%;
}

.remove-tire img {
  width: 100%;
}

.tire-number {
  position: absolute;
  width: 35vh;
  left: 50%;
  transform: translate(-50%);
  top: 40%;
}

.tire-number img {
  width: 100%;
}

.stockNumber {
  position: absolute;
  left: 50%;
  top: 0%;
  transform: translate(-50%, -50%);
  font-size: 7vh;
}

.stockNumberFinal {
  position: absolute;
  top: 75%;
  width: 35vh;
  left: 50%;
  transform: translate(-50%);
}

.stockNumberFinalText {
  position: absolute;
  color: #fff;
  top: -35%;
  font-size: 4vh;
  width: 100%;
  text-align: center;
}

.dot-number {
  position: absolute;
  width: 40vh;
  left: 50%;
  transform: translate(-50%);
  top: 72%;
}

.dotWrapper {
  display: grid;
  grid-template-columns: 4fr 1fr;
  position: relative;
  gap: 2px;
}

.dotNumber {
  top: 55%;
  left: 5%;
  transform: translate(0, -50%);
  position: absolute;
  color: #fff;
  margin: 0;
}

.dotNumber[contenteditable="true"]:empty:before {
  content: attr(data-placeholder);
  color: #aaa;
}

.dotLabel {
  position: absolute;
  color: #fff;
  font-size: 10px;
  top: 5%;
  left: 5%;
}

.backDot {
  width: 100%;
}

.editButton {
  width: 7.8vh;
  cursor: pointer;
}

.editable:empty:before {
    content: attr(data-placeholder);
    color: #aaa;
}

.cameraUI {
  position: absolute;
  width: 40vh;
  height: 40vh;
  border-radius: 10px;
  background: #000;
  top: 23%;
  left: 50%;
  transform: translate(-50%);
}

.cameraUI video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.captureBtn {
  position: absolute;
  width: 6vh;
  height: 6vh;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  bottom: 14.5%;
  left: 50%;
  transform: translate(-50%);
  cursor: pointer;
}

.captureBtn span {
  display: block;
  width: 5vh;
  height: 5vh;
  border-radius: 50%;
  border: 1px solid #212427;
  background: #fff;
}

.controls-options {
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translate(-50%);
}

.controls-options span {
  border: 1px solid #fff;
  border-radius: 50%;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  text-align: center;
  vertical-align: middle;
  line-height: 20px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

.controls-options span:hover,
.controls-options span.active {
  border: 1px solid #ff0;
  color: #ff0;
}

.controls {
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translate(-50%);
  width: 40vh;
  overflow: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  height: 28px;
  padding-top: 2px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.controls::-webkit-scrollbar {
  display: none;
}

.controls .scroll-content {
  display: flex;
  width: 72vh;
  height: 28px;
}

.controls .scroll-content > div {
  width: 25px;
  height: 25px;
  padding: 2px;
  display: flex;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid #fff;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  position: relative;
  left: calc(20vh - 12.5px);
  cursor: pointer;
}

.controls .scroll-content > div:first-child {
  margin-left: 0;
}

.controls .scroll-content > div:last-child {
  margin-right: 0;
}

.controls .scroll-content > div img {
  height: 70%;
}

.control-progress {
  position: absolute;
  top: 68.5%;
  left: 50%;
  transform: translate(-50%);
  width: 40vh;
  height: 3vh;
}

.ruler-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3vh;
}

.ruler {
  position: relative;
  width: 100%;
  height: 3vh;
  display: flex;
  align-items: flex-end;
}

.ticks {
  display: flex;
  justify-content: space-between;
  width: 50%;
  height: 100%;
}

.marker {
  width: 2px;
  height: 3vh;
  background-color: yellow;
  align-self: flex-end;
}

.marker.middle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.tick {
  width: 2px;
  height: 1.5vh;
  background-color: white;
  align-self: flex-end;
}

.animating-dot {
  position: absolute;
  top: 0;
  width: 5px;
  height: 5px;
  background-color: yellow;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  touch-action: none;
  left: 50%;
  transform: translateX(-50%);
}

.fixed-middle-tick {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 1.5vh;
  background-color: white;
  transform: translateX(-50%);
  bottom: 0;
}

.tick:first-child,
.tick:last-child {
  visibility: hidden;
}

/*.cam-control {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 2px solid white;
  border-radius: 50%;
  overflow: hidden;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: border-color 0.3s ease;
  border-image-slice: 1;
}

.cam-control img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}*/

.cam-control .number {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 9px;
}

.created-tire-number {
  position: absolute;
  top: 24%;
  left: 8%;
}

.created-tire-number img {
  width: 16vh;
}

p.createdStockNumber {
  position: absolute;
  top: -60%;
  left: 50%;
  font-size: 5vh;
  transform: translate(-50%);
}

.tire-properties {
  position: absolute;
  top: 33%;
  left: 8%;
  width: 40vh;
}

.tire-properties .property-container {
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr 4fr;
  margin-bottom: 3px;
  position: relative;
}

.tire-properties .prop-label {
  height: 3.5vh;
}

.tire-properties .prop-value-container {

}

.tire-properties .prop-value-container img {
  width: 100%;
  height: 3.5vh;
}

.tire-properties .prop-value-container span {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  left: 10.5vh;
  font-size: 1.5vh;
  font-weight: 400;
}

img.editInfo {
  position: absolute;
  width: 40vh;
  left: 50%;
  transform: translate(-50%);
  cursor: pointer;
}

.image-grid span {
  color: #212427;
  position: absolute;
  transform: rotate(-45deg) translate(-50%, -50%);
  z-index: 3;
  left: 50%;
  top: 50%;
  display: block;
  width: 100%;
  text-align: center;
}

.image-grid a span.tireCount {
  top: 10%;
  left: 40%;
  font-size: 26px;
}

.image-grid a span.patchStatus {
  top: 25%;
}

.image-grid a.tireLeft span.tireCount {
  top: 0%;
  left: 50%;
}

.image-grid a.tireLeft span.patchStatus {
  top: 15%;
  left: 60%;
}

.image-grid a.tireRight span.tireCount {
  top: 15%;
  left: 35%;
}

.image-grid a.tireRight span.patchStatus {
  top: 30%;
  left: 45%;
}

.image-grid a.tireDown span.tireCount {
  top: 0%;
  left: 35%;
}

.image-grid a.tireDown span.patchStatus {
  top: 18%;
  left: 45%;
}

.image-grid a.active span {
  color: #fff;
}

#loading {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading img {
  width: 100px;
}

.getAdminAccess {
  position: fixed;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.keyEnter {
  width: 35vh;
  padding: 30px;
  box-sizing: border-box;
  background: linear-gradient(to bottom, #ccc, #fff, #f2f2f2);
  border-radius: 10px;
  text-align: center;
  border: 1px solid #bbb;
}

.keyEnter p {
  font-size: 3vh;
}

.keyEnter input {
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
}

.continueBtn {
  width: 100%;
}

.resetCam {
  position: absolute;
  width: 6vh;
  bottom: 15vh;
  right: 3.5vh;
  cursor: pointer;
}

.canvas {
  position: absolute;
  width: 40vh;
  height: 40vh;
  border-radius: 10px;
  background: #000;
  top: 23%;
  left: 50%;
  transform: translate(-50%);
}

.draftIm1,
.draftIm2,
.draftIm3,
.draftIm4 {
  position: absolute;
  width: 20vh;
  border-radius: 10px;
  top: 30vh;
  padding: 2px;
  box-sizing: border-box;
}

.draftIm1 {
  left: 3vh;
}

.draftIm2 {
  right: 3vh;
}

.draftIm3 {
  top: 50vh;
  left: 3vh;
}

.draftIm4 {
  top: 50vh;
  right: 3vh;
}

.labelPrint {
  position: absolute;
  width: 40vh;
  top: 30vh;
  left: 3vh;
  background: #fff;
  padding: 10px;
  box-sizing: border-box;
}

.labelStockNumber {
  border: 1px solid #000;
  padding: 5px;
  font-size: 9vh;
  color: #fff;
  border-radius: 5px;
}

.labelStockNumber span {
  background: #000;
  border-radius: 5px;
  padding: 0 5px;
  display: block;
  text-align: center;
}

.labelBottom {
  display: flex;
}

.labelStatus {
  margin: 3px 0;
  font-size: 6.5vh;
  letter-spacing: 4px;
}

.labelCount {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: end;
  font-size: 7vh;
}

.labelCount span {
  background: #000;
  color: #fff;
  border-radius: 5px;
  padding: 5px;
  box-sizing: border-box;
}

.labelBarCode svg {
  width: 100%;
  height: 40px;
}

/*************** CIRCULAR PROGRESS BAR 1 ****************/

.circular-progress {
  width: 26vh;
  height: 26vh;
  --size: 26vh;
  --half-size: calc(var(--size) / 2);
  --stroke-width: 2vh;
  --radius: calc((var(--size) - var(--stroke-width)) / 2);
  --circumference: calc(var(--radius) * 2 * 3.14159);
  position: absolute;
  top: 49%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.circular-progress svg {
  width: var(--size);
  height: var(--size);
}

.circular-progress circle {
  cx: var(--half-size);
  cy: var(--half-size);
  r: var(--radius);
  stroke-width: var(--stroke-width);
  fill: none;
  stroke-linecap: round;
}

.circular-progress circle.bg {
  stroke: transparent;
}

.circular-progress circle.fg {
  transform: rotate(-90deg);
  transform-origin: var(--half-size) var(--half-size);
  stroke: #5394fd;
  stroke-dasharray: var(--circumference);
  stroke-dashoffset: var(--circumference);
  transition: stroke-dashoffset 0.3s linear;
}

/*************** CIRCULAR PROGRESS BAR 1 ****************/

/*************** CIRCULAR PROGRESS BAR 2 ****************/

.circular-progress-2 {
  width: 39vh;
  height: 39vh;
  --size: 39vh;
  --half-size: calc(var(--size) / 2);
  --stroke-width: 2vh;
  --radius: calc((var(--size) - var(--stroke-width)) / 2);
  --circumference: calc(var(--radius) * 2 * 3.14159);
  position: absolute;
  top: 49%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.circular-progress-2 svg {
  width: var(--size);
  height: var(--size);
}

.circular-progress-2 circle {
  cx: var(--half-size);
  cy: var(--half-size);
  r: var(--radius);
  stroke-width: var(--stroke-width);
  fill: none;
  stroke-linecap: round;
}

.circular-progress-2 circle.bg {
  stroke: transparent;
}

.circular-progress-2 circle.fg {
  transform: rotate(-90deg);
  transform-origin: var(--half-size) var(--half-size);
  stroke: #5394fd;
  stroke-dasharray: var(--circumference);
  stroke-dashoffset: var(--circumference);
  transition: stroke-dashoffset 0.3s linear;
}

/*************** CIRCULAR PROGRESS BAR 2 ****************/

/*************** CIRCULAR BORDER PROGRESS BAR 1 ****************/

.circular-border-progress {
  width: 4vh;
  height: 4vh;
  --size: 4vh;
  --half-size: calc(var(--size) / 2);
  --stroke-width: 0.3vh;
  --radius: calc((var(--size) - var(--stroke-width)) / 2);
  --circumference: calc(var(--radius) * 2 * 3.14159);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.circular-border-progress svg {
  width: var(--size);
  height: var(--size);
}

.circular-border-progress circle {
  cx: var(--half-size);
  cy: var(--half-size);
  r: var(--radius);
  stroke-width: var(--stroke-width);
  fill: none;
  stroke-linecap: round;
}

.circular-border-progress circle.bg {
  stroke: transparent;
}

.circular-border-progress circle.fg {
  transform: rotate(-90deg);
  transform-origin: var(--half-size) var(--half-size);
  stroke: #ff0;
  stroke-dasharray: var(--circumference);
  stroke-dashoffset: var(--circumference);
  transition: stroke-dashoffset 0.3s linear;
}

/*************** CIRCULAR BORDER PROGRESS BAR 1 ****************/

/******************* MASKED CIRCLE **********************/

.mask-circle-wrapper {
  position: absolute;
  width: 39vh;
  height: 39vh;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mask-circle-container {
  position: relative;
  width: 39vh; /* Adjust size as needed */
  height: 39vh;
}

.mask-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
      from 0deg,
      #2E3136 0deg 43.5deg,
      transparent 43.5deg 45deg,
      #2E3136 45deg 88.5deg,
      transparent 88.5deg 90deg,
      #2E3136 90deg 133.5deg,
      transparent 133.5deg 135deg,
      #2E3136 135deg 178.5deg,
      transparent 178.5deg 180deg,
      #2E3136 180deg 223.5deg,
      transparent 223.5deg 225deg,
      #2E3136 225deg 268.5deg,
      transparent 268.5deg 270deg,
      #2E3136 270deg 313.5deg,
      transparent 313.5deg 315deg,
      #2E3136 315deg 358.5deg,
      transparent 358.5deg 360deg
    );
  -webkit-mask: radial-gradient(circle, transparent 63%, #fff 50%);
  mask: radial-gradient(circle, transparent 63%, #fff 50%);
}

.mask-circle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 10px solid transparent;
  border-radius: 50%;
  background-clip: padding-box;
  -webkit-mask: radial-gradient(circle, transparent 63%, #fff 50%);
  mask: radial-gradient(circle, transparent 63%, #fff 50%);
}

/******************* MASKED CIRCLE **********************/