
@media print {
    #imageToPrint {
        display: block;
        width: 300px;
        height: 300px;
    }
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;

    width: 100%;
    overflow-x: hidden;
    
}

.container {
    position: absolute;
    text-align: center;
    top: 0px;
    height: 100dvh;
    aspect-ratio: 412 / 915;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;;
}

.content{ 
    padding: 0 2dvh;
    width: 80%;
    height: 70.5dvh;
display: flex
;
    flex-direction: column;
    /* align-content: center; */
    align-items: center;
    justify-content: flex-start;
} 
.instruction-image {
    width: 100%;
    height: auto;
}

.bg{
    position: fixed;
    bottom: 0%;
    /* right: 0%; */
    z-index: -1;
    height: 100%;
    aspect-ratio: 2384/3371;
    left: 50%; 
    transform: translateX(-50%);
}
.copyRight{
    position: relative;
    width: 100%;
    height: 2.5dvh;
    margin-bottom: 2dvh;

}
.copyRight img{
    height: 80%;
    /* float: right;
    margin-right: 4dvh; */
}
.licenseGP{
    position: relative;
    margin-top: 2dvh;
    height: 2.5dvh;
    width: 100%;
    margin-bottom: 0;
}
.licenseGP img{
    height: 200%;
    display: inline;
    float: right;
    margin-right: 4dvh;
}

.licenseNumber{
    font-size: 1.5dvh;
    position: relative;
    margin: 0;
    text-align: left;
    color: #5b5b5b;
    float: left;
    display: inline;
    margin-left: 4dvh;

}
.frontBG{
    position: fixed;
    bottom: 0%;
    right: 50%;
    z-index: -1;
    height: 100%;
    aspect-ratio: 667 / 1148;
    transform: translateX(50%);
}
.logo{
    padding-top: 3dvh;
    width: auto;
    height: 17.5dvh;
}
.logo img{
    height: 100%;
}
.tipInfo{
    color: #333;
    font-size: 2dvh; 
    font-weight: bold; 
    margin: 0dvh;
    margin-top: 3.5dvh;
}
button{
    cursor: pointer;
    position: relative;
    width: auto;
    height: 9dvh;
}
/* Home Page  */
#confirmBtn{ 

    position: relative;
    background-color: #00000000;
    color: #00000000;
    border: #00000000;
}
.hmTitle{
    padding-bottom: 0;
}
#locName{
    margin-top: 2dvh;
    margin-bottom: 0;
    width: 100%;
    height: 6.5dvh;
}
#locName img{
    height: 100%;
}
.hmBtn{
    margin-top: 13dvh;
}

#returnBtn{ 
    background-color: #00000000;
    color: #00000000;
    border: #00000000;
}
#submitBtn{ 
    background-color: #00000000;
    color: #00000000;
    border: #00000000;
}
button img{
    height: 100%;
}

.hmCopyRigh{
    position: relative;
    height: 2.5dvh;
    aspect-ratio: 1201 / 110;
    margin-bottom: 2dvh;

}
.hmCopyRigh img{
    height: 80%;
}
/* TC */
#agreeCheckbox{
    width: 2dvh;
    aspect-ratio: 1;
}
#agreeCheckboxContent{
    display: contents;
    color: #333;
}

#tcContent{
    height: 43dvh;
    overflow-y: scroll;
    overflow-x: scroll;
    border: 0.5dvh solid #919191;
    border-radius: 1dvh;
    padding: 1dvh;
    margin: 2dvh 0;
    background-color: #ffffff;
    text-align: left;
    width: 95% !important;
    
}
#tcContent span{
    background: #00000000 !important ;
} 
/* Form */
#userForm{
    padding-top: 3dvh;
    display: -webkit-box; 
display: -ms-flexbox;  
display: -webkit-flex;
        display: flex;
    flex-direction: column;
    align-items: center;
}
.form-group {
    margin-bottom: 1dvh;
    width: 80%;
    /* margin-left: auto;
    margin-right: auto; */
    display: -webkit-box; 
    display: -ms-flexbox;  
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
}
label {
    display: block;
    font-weight: bold;
    font-size: 2dvh;
    color: #333;
}
.required:after {
    content: " *";
    color: red;
}
input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 1dvh;
    border: 0.3dvh solid #ddd;
    border-radius: 0.6dvh;
    font-size: 1.6dvh;
    box-sizing: border-box;
    color: #303030;
}


/* .answerForm{
    display: flex;
    flex-direction: column;
    align-items: center;
} */
.answer{
    /* display: none; */
    /* display: none; */
    display: inline-flex;
    height: 6dvh;
    /* margin-top: 1dvh; */
    align-items: center;
    margin-bottom: 1dvh;
    margin-top: 0.5dvh;
    /* 
    width: 80%;
    height: 6dvh;
    padding-top: 1dvh; */
    
}
.answer div{
    width: 50%;
}
.answer input{
    padding: 2dvh 1dvh;
    font-size: 1.8dvh;
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
}
.answer span{
    font-size: 3.5dvh;
    font-weight: bold;
    width: 50%;
}
.answerImage{

    height: 10dvh;
    transform: translateY(3%) translateX(-15%);
}
.name_reminder{
    font-size: 1.5dvh;
    color: #333;
    margin: 0;
    padding: 0;
}
.input-error {
  color: #ff4444 !important;
}
.submit-error-message{
    display: none;
    font-size: 1.5dvh;
    color: red;
}
.error-message {
    display: none;
    font-size: 1.5dvh;
    color: red;
}
.showError{
    display: block;
}
.errorContainer{
    height:1.5dvh;
    width: 100%;
}
.error {
    border-color: red !important;
}
.success-message {
    color: green;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;

}
/* Confirm Page*/
#confirmation{
    padding-top: 2dvh;
    
}
.info{
    margin-bottom: 2dvh;   
    color: #333;
}

.labelContent{
    display: block;
    font-size: 2dvh;
    padding-top: 0.5dvh;
}

/* Final page */

.resultCodeContent{
    font-size: 3dvh;
    font-weight: bold;
}

#resultCode{
    margin-bottom: 1.5dvh;
}
.finalReminder{
    color: red;
    font-size: 2.2dvh; 
    font-weight: bold; 
    margin-top: 0;
}

/* QR Code Generater */
.qrCode-Container{
    text-align: center;
    width: 300px;
    aspect-ratio: 2.84 / 4.25;
    display: flex
;
    overflow: hidden;
    flex-wrap: wrap;
    align-content: space-around;

}

.qr-img {
    width: 110px;
    height: 110px;
    margin: 15px auto;
    display: block;
    background: white;
    padding: 10px;
    border: 1px solid #992828;
}
.printLogo{
    margin-top: 15px;
    width: 300px;
}
.printLogo img{
    width: 80%;
}
.qr-tip{

    padding: 0 5px;
}
.qr-tip p{
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    margin-bottom: 0px;
    margin-top: 0px;
}
.qr-tip div{
    margin-bottom: 15px;
}
.eng{

    color:#636363;
}
.chin{
    color:#272727;
}
#generateBtn{
    color: #272727 ;
    background-color: #979797 ;
    border-color: #3f3f3f ;
    width: 200px;
    border-radius: 3%;
    aspect-ratio: 5/2;
    font-size: 32px;
    margin:30px auto;
}
.disabled {
    display: none;
    color: #3f3f3f !important;
    background-color: #333 !important;
    border-color: #333 !important;
}
