* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.ad-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 0px;
}

.ad-content {
  width: 350px;
  height: 600px;
  background-color: white;
  padding: 0px;
  box-sizing: border-box;
   display: flex; 
   flex-direction: column; 
   justify-content: center;
   align-items: center;
  text-align: center;
  position: relative;
}

.ad-content .close-button {
  padding: 3px 5px;
  border: none;
  box-shadow: 0px 0px 3px 0px;
  border-radius: 50px;
  cursor: pointer;
  position: absolute;
  top: -41px;
  right: -10px;
}
.ad-content .close-button span {
  font-size: 18px;
  margin-top: 2px;
}

.tab-one {
  display: block;
  position: relative;
  /* background-image: url('images/BG-min.webp'); */
  overflow: hidden;
}

.tabTwo{
  display: flex;
  border: 5px solid #fff200;
  justify-content: center;
  align-items: center ;
  position: relative;
  background-image: url('../images/bg-img.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 350px;
  height: 600px;
  padding: 0;
  }


/* #video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: black;
  transform: scaleX(-1) scale(2);
} */

/* camera css code here...... */
.container {
  position: relative;
  /* width: 100vw;  */
  /* height: 100vh;*/
 
}

/* #video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

canvas.hidden {
  display: none;
}

/* Scanner frame */
.scanner-frame {
  position: absolute;
  top: 0%;
  left: 50%;
  width: 250px;
  height: 250px;
  transform: translateX(-50%);
  border: 3px solid #fff200;
  /* border-radius: 12px; */
  box-shadow: 0 0 12px #fff200;
  z-index: 5;
  pointer-events: none;
}

.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #fff200;
  animation: scan-move 2s linear infinite;
}

@keyframes scan-move {
  0% { left: 0; }
  50% { left: 100%; }
  100% { left: 0; }
}

/* AC box */
#ac-box {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  z-index: 10;
}

#ac-img {
  width: 300px;
  max-width: 90vw;
  margin-bottom: 10px;
}

#buy-btn {
  padding: 10px 20px;
  font-size: 18px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.hidden {
  display: none;
}



