.qr_pink{
  width: 100%;
  height: 40%;
  background: linear-gradient(103deg, #e6007d, #e72f3b);
}

.qr_astro_position{
	padding-bottom:48px;
}

.qr_astro_log{
  width: 95px;
  height: 40px;
  object-fit: contain;
}

.qr_white{
	background-color:#fff;
	  width: 100%;
 	  min-height:100%;
	  max-height:200%; 
	   background-size: cover;
	   position: relative;

}

.qr_link:link{
	color:#e6007d;
	  text-decoration: none;
}

.qr_link:visited{
		color:#e6007d;
	  text-decoration: none;
}

.qr_hint{
	font-family: Mulish;
	color: #f00;
	font-weight: normal;
	font-stretch: normal;
	font-style: italic;
	line-height: 1.38;
	letter-spacing: normal;
	text-align: left;
	margin-top:5%;
	margin-bottom:2%;
}

.qr_instru_box{
	/* height: 35%; */
  padding: 32px 24px 32px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  border: solid 1px #d8d8d8;
  background-color: #fff;
}

.qrCode{
	  width: 14rem;
  height: 14rem;
  margin: 10px auto;
  object-fit: contain;
  border-radius: 16px;
  border: solid 1px #b2b3b8;
  display: block;
}

.qr_url{
	  width: 216px;
  height: 19px;
  margin: 16px 0 0;
  font-family: Mulish;
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: center;
  color: #e6007d;
  line-break: anywhere;
}

.qr_instruc{
	margin: 0 48px 16px 0;
  font-family: Mulish-ExtraBold;
  font-size: 24px;
  font-weight: 800;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: normal;
  text-align: left;
  color: #010414;
}

.qr_step_wording{
  font-family: Mulish-Bold;
}

.qr_step_instruc{
	font-family: Mulish;
}

.qr_step{
	margin: 16px 48px 16px 0;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: left;
  color: #010414;
  display:block;
}

.intro_note{
	margin-top:5%;
  font-family: Mulish;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: left;
  font-size: 2.7rem;
}


.header_title{
	font-family: Mulish;
  font-size: 3rem;
  font-weight: 800;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
  display: block;
    padding-top: 77px;
}

.header_bar{
	background: linear-gradient(103deg, #e6007d, #e72f3b);
	height:10%;
	width:100%;
	position:relative;
}

.content{
	padding: 5%;
}

.intro_big_instruc{
	  margin: 3% 1%;;
  font-family: Mulish-ExtraBold;
  font-size: 4rem;
  font-weight: 800;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: normal;
  text-align: left;
  color: #010414;
}

.intro_small_instruc{
	  margin: 5% 1%;
  font-family: Mulish;
  font-size: 2.7rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: left;
  color: #010414;
  width:83%;
}

.intro_numbering{
	float: left;
    padding-right: 3%;
	width: 7%;
}

.intro_doc{
  font-family: Mulish;
  font-size: 2.5rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: left;
  color: #010414;
  padding-left: 3%;
}

.error_msg{
  font-family: Mulish;
  font-size: 2.3rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  color: #d2181e;
  padding-left: 3%;
}

.astro-pink-btn{
  padding: 15px 130px 14px;
  border-radius: 27px;
  background-image: linear-gradient(98deg, #e6007d, #e72f3b);
  width: 100%;
    height: 6%;
}

.astro-white-btn{
  padding: 15px 130px 14px;
  border-radius: 27px;
  width: 100%;
  height: 6%;
  border: solid 4px #86878b;
  background: #fff;
}

.photo-instruc-text{
	font-family: Mulish;
  font-size: 2.5rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: center;
  color: #010414;
  padding-top:3%;
}

.photo-instruc-text-section{
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 4% 0;
}

@media only screen and (max-height: 700px) {
  .qr_instru_box {
   
  }
}

.stepper-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;

  @media (max-width: 768px) {
    font-size: 12px;
  }
}

.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 6px solid #ccc;
  width: 100%;
  top: 27px;
  left: -50%;
  z-index: 2;
}

.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 6px solid #ccc;
  width: 100%;
  top: 27px;
  left: 50%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ccc;
  margin-bottom: 6px;
  font-size: 2.3rem;
    font-weight: 700;
    color: #fff;
    border: solid 7px #ccc;
}

.stepper-item.completed .step-counter {
  font-weight: bold;
  color: #e6007d;
  background-color: #fff;
  border: solid 7px #e6007d;
}

.stepper-item.completed .process_track_text{
	color: #e6007d;
}

.stepper-item.processing .step-counter {
  background-color: #fff;
  border: solid 7px #e6007d;
  color:#e6007d;
}

.stepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 6px solid  #e6007d;
  width: 100%;
  top: 27px;
  left: 50%;
  z-index: 3;
}

.stepper-item:first-child::before {
  content: none;
}
.stepper-item:last-child::after {
  content: none;
}

.process_track_text{
	font-family: Mulish;
  font-size: 1.8rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.83;
  letter-spacing: normal;
  text-align: center;
  color: #010414;
}

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}

.image-preview{
    overflow: hidden;
    text-align: center;
}

.preview-image{
	position: relative;
	display: inline-block;
	max-height:42%;
	margin: 5% 0;
}

.astro_overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  font-size: 2.3rem;
  padding: 20px;
  text-align: center;
  opacity: 0.7;
  font-family: Mulish;
  font-weight: 800;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: normal;
  color: #fff;
width: fit-content;
}

.error_section{
	background-color:#fad9d9;
	/* max-height:20%; */
	/* width:100%; */
	padding:20px 15px;
}

.lds-spinner {
    display: inline-block;
    width: 80px;
    height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: 99; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
  font-family: Mulish;
}

.btn-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

input[type="checkbox"]{
    width: 44px;
    height: 44px;
    cursor: pointer;
}

input[type="checkbox"] :checked{
    background-color:white;
}

.btn-font-white{
  font-family: Mulish;
  font-size: 2rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}

.btn-font-black{
  font-family: Mulish;
  font-size: 2rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: center;
  color: #010414;
}

.pdf_fileName{
	font-size: 3rem;
    margin-top: 4%;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: center;
    color: #010414;
    font-family: Mulish;
}

.success_desc{
	width:100%;
	font-size: 2.3rem;
	margin-top: 3%;
	font-family: Mulish;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: center;
  color: #010414;
}

.ocr_label{
  margin: 7% 0 8px;
  font-family: Mulish;
  font-size: 2.7rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: left;
  color: #010414;
}

.ocr_value{
	  margin: 8px 0 24px;
  font-family: Mulish;
  font-size: 2.3rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: left;
  color: #010414;
}

.ethnic_select select{
	    background: url("data:image/svg+xml,<svg height='30px' width='30px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat;
    background-position: calc(100% - 0.75rem) center !important;
    -moz-appearance:none !important;
    -webkit-appearance: none !important; 
    appearance: none !important;
    padding-right: 2rem !important;
    
        width: 100%;
    height: 5%;
    font-size: 2.5rem;
    padding: 19px;
    border-radius: 16px;
}

.ethnic_select select option{
    font-size: 1rem;
}

.optionGroup {
    font: grey;
}

.installationAddressTextBox{
	width: 100%;
    height: 5%;
    font-size: 2.6rem;
  padding: 14px 16px;
  border-radius: 8px;
  border: solid 1.5px #d8d8d8;
    display: block;
        margin: 20px 0;
    
}

.btn-disabled{
  border: solid 1px #d8d8d8;
  background-color: #f8f8f8;
}

.btn-font-disabled{
	color: #b2b3b8;
}

.back_btn{
	background-color: transparent;
    border: none;
    position: absolute;
    top: 44%;
    left: 1%;
}

.preview_image_img{
	height:30%;
}

.preview_pdf_pdf{
	width: 99%;
    border-radius: 16px;
    border: 2px solid rgb(216, 216, 216);
    height: 24%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.personal_info_preview_pdf{
	display:flex;
	justify-content:center;
	align-items:center;
	border:2px solid #d8d8d8;
	border-radius:16px;
	position: relative;
	height:15%;
	width:45%;
	margin: 1% 5% 5% 0;
}

@media (orientation: landscape) {

	.qr_white{
 		max-height:500%;
	}
	
 	.astro-pink-btn{
		height:21%;
	} 
	
	.astro-white-btn{
		height:21%;
	}
	
	.header_bar{
		height:40%;
	}
	
	.preview-image{
		max-height:107%;
	}
	
	.ethnic_select select{
		height:23%;
	}
	
	.preview_image_img{
		height:77%;
	}
	
	.preview_pdf_pdf{
		height:77%;
	}
	
	.personal_info_preview_pdf{
		height:42%;
	}
}

.btn-group button {
  background-color: white; 
  border: 1px solid white; 
  color: grey;
  padding: 25px 31px; /* Some padding */
  cursor: pointer; /* Pointer/hand icon */
  float: right; /* Float the buttons side by side */
  font-weight: bold;
  font-size: 1.2rem;
}

.btn-group button:not(:last-child) {
  border-right: none; /* Prevent double borders */
}

/* Clear floats (clearfix hack) */
.btn-group:after {
  content: "";
  clear: both;
  display: table;
}

/* Add a background color on hover */
.btn-group button:hover {
  color:pink;
}

#cameraModal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: none;
}
#videoElement {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scaleX(-1);
}

#videoElementId {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#controls {
  position: absolute;
  bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 1010;
  display: none;
}

#captureBtn {
  background-image: linear-gradient(98deg, #e6007d, #e72f3b);
  width: 50vw; 
  padding: 3vw 5vw; 
  font-size: 6vw; 
  cursor: pointer;
  border: none;
  border-radius: 27px;
  color: white;
  transition: background-color 0.3s, transform 0.1s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  font-weight: bold;
}

#captureBtn:disabled {
   background-color: #a0a0a0; 
    color: #cccccc;           
    box-shadow: none;
    opacity: 0.8;
}

#changeSourceBtn:disabled {
   background-color: #a0a0a0;
    color: #cccccc;          
    box-shadow: none;
    opacity: 0.8;
}
#changeSourceBtn {
  background-image: linear-gradient(98deg, #e6007d, #e72f3b);
  cursor: pointer;
  border: none;
  border-radius: 27px;
  color: white;
  transition: background-color 0.3s, transform 0.1s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  width: 50vw; 
  padding: 3vw 5vw; 
  font-size: 6vw; 
}

#camera-info {
  position: absolute;
  font-family: Mulish;
  top: 10px;
  left: 10px;
  z-index: 1010;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 6vw; 
}

#closeModalBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1010;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 3vw 5vw; 
  font-size: 6vw; 
}

#closeModalBtn:hover {
  background: rgba(255, 255, 255, 0.3);
}
#humanGuide {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  pointer-events: none;
  display: flex;
  align-items: start;
  justify-content: center;
}
 #overlayImage {
   width: 100%;
   height: 100%;
   object-fit: contain;
 }