@font-face {
    font-family: 'Hyundai Sans Head';
    src: url('fonts/HyundaiSansHead.eot');
    src: url('fonts/HyundaiSansHead.eot?#iefix') format('embedded-opentype'),
        url('fonts/HyundaiSansHead.woff2') format('woff2'),
        url('fonts/HyundaiSansHead.woff') format('woff'),
        url('fonts/HyundaiSansHead.ttf') format('truetype'),
        url('fonts/HyundaiSansHead.svg#HyundaiSansHead') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hyundai Sans Head';
    src: url('fonts/HyundaiSansHeadMedium.eot');
    src: url('fonts/HyundaiSansHeadMedium.eot?#iefix') format('embedded-opentype'),
        url('fonts/HyundaiSansHeadMedium.woff2') format('woff2'),
        url('fonts/HyundaiSansHeadMedium.woff') format('woff'),
        url('fonts/HyundaiSansHeadMedium.ttf') format('truetype'),
        url('fonts/HyundaiSansHeadMedium.svg#HyundaiSansHeadMedium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hyundai Sans Head';
    src: url('fonts/HyundaiSansHead-Light.eot');
    src: url('fonts/HyundaiSansHead-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/HyundaiSansHead-Light.woff2') format('woff2'),
        url('fonts/HyundaiSansHead-Light.woff') format('woff'),
        url('fonts/HyundaiSansHead-Light.ttf') format('truetype'),
        url('fonts/HyundaiSansHead-Light.svg#HyundaiSansHead-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hyundai Sans Head';
    src: url('fonts/HyundaiSansHead-Bold.eot');
    src: url('fonts/HyundaiSansHead-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/HyundaiSansHead-Bold.woff2') format('woff2'),
        url('fonts/HyundaiSansHead-Bold.woff') format('woff'),
        url('fonts/HyundaiSansHead-Bold.ttf') format('truetype'),
        url('fonts/HyundaiSansHead-Bold.svg#HyundaiSansHead-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


body {
    background: #E4DCD3;
    margin: 0;
    padding: 0;
    font-family: 'Hyundai Sans Head';
}

.min-h-screen {
    min-height: 80vh !important;
}

.main-container {
    background: url('../images/bg-contaibner.jpg') no-repeat;
    background-position: center center;
    background-size: cover;
}

.frame {
    display: none;
}

.active {
    display: block;
}

.btn-blue {
    background: #002C5F;
    color: #fff;
}

/* .selfie-box {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
} */

.selfie-box {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    width: fit-content;
    margin: 0 auto;
    box-sizing: border-box;
}

.video-container {
    position: relative;
    width: 100%;
    /* max-width: 350px; */
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

#video,
#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    transform: scaleX(-1);
}

.camera-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.capture-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 10px auto;
}

input:-webkit-autofill {
    color: #000 !important;
    background-color: #fff !important;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    /* background color */
    -webkit-text-fill-color: #000 !important;
    /* text color */
    transition: background-color 5000s ease-in-out 0s;
    /* prevents flicker */
}

p {
    color: #fff !important;
}

.terms p {
    padding-right: 10px;
}

#rotate-warning {
    display: none;
    position: fixed;
    inset: 0;
    background: #E4DCD3;
    z-index: 9999;

}

.rotate-content {
    position: absolute;
    color: #000;
    font-size: 1.2rem;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.rotateImg {
    width: 150px;
    transform: rotate(-90deg);
    margin: auto;
}

@media only screen and (orientation: landscape) {
    .min-h-screen {
        min-height: 90vh !important;
    }

    .main-container {
        background-position: center center;
    }
}







.terms-txt {
    color: #525F7F !important;
    font-size: .7rem;
    text-align: left !important;
    display: flex !important;
    align-items: flex-start;
    align-content: center;
    background: transparent !important;
    gap: 10px;
    margin-top: 20px !important;
    border-radius: 0px !important;
}



.consent-btn-bx {
    color: #000;
    background: none;
    border: none;
    text-decoration: underline;
    font-weight: bold;
}

.terms-txt>input {
    margin-right: 2px;
    /* margin-top: 5px; */
}

/* .terms-txt>label {
    position: relative;
    top: -2px;
} */

.terms-txt a {
    color: #525F7F;
    text-decoration: underline !important;
}

.notes-txt {
    font-size: .6rem;
    text-align: center;
    padding-top: 2vh;
}

.consent-box {
    position: relative;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}


.consent-box h2 {
    color: #000;
    font-size: 2rem;
    padding-top: 4vh;
    text-align: center;
    font-family: 'YouTube Sans Dark';
}

.consent-box p {
    color: #000;
    font-size: .8rem;
    padding: 10px;
    line-height: 1.5;
}

.consent-box ul li {
    margin: 0 20px 0 30px;
    padding: 2px 0;
    color: #000;
    font-size: .8rem;
    line-height: 1.5;
}

.consent-box a {
    color: #000;
    text-decoration: underline !important;
}

#consentModal .continue-btn-bx {
    margin-bottom: 30px;
}


::-webkit-scrollbar {

    width: 4px;
    border-radius: 10px;
    background: #C8C8C8;
}

::-webkit-scrollbar-track {
    margin: 0px;
    width: 2px;
    background: #C8C8C8;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    min-height: 20px;
    max-height: 20px;
    background: #fff;
}


.thankyou-logo-bx {
    text-align: center;
    height: 30vh;
    padding: 4vh 0;
}

.thankyou-logo-bx img {
    height: 100%;
    width: auto;
}

.thankyou-logo-bx1 {
    text-align: center;
    height: 15vh;
    padding: 2vh 0;
}

.thankyou-logo-bx1 img {
    height: 100%;
    width: auto;
}

.thankyou-section {
    width: 100%;
    height: 100%;
    color: #525F7F;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thankyou-section1 {
    padding-top: 10px;
    height: 81vh;
}

.thankyou-section .thankyou-section-bx {
    width: 40%;
    margin: 0px auto;
}

.thankyou-bx {
    text-align: center;
}

.thankyou-section .heading-bx h1 {
    color: #fff;
    font-size: 2rem;
    font-family: 'YouTube Sans Dark';
    font-weight: normal;
}

.thankyou-section .heading-bx p {
    color: #fff;
    font-size: 0.8rem;
    margin: 12px 0px !important;
    font-family: 'YouTube Sans Dark';
    font-weight: normal;
    line-height: 1.5;
}

.icon-home {
    background: var(--primary);
    margin-top: 50px;
    outline: none;
    border: none;
}

.icon-home i {
    font-size: 2rem;
    color: #fff;
}

.txt-center {
    text-align: center;
}

.total-users {
    position: relative;
    width: 100%;
    padding: 0px 5%;
    text-align: center;
    margin: 30px auto;
    box-sizing: border-box;
    visibility: hidden;
}

.total-users p {
    font-size: 1.5rem;
    font-weight: 600;
}

.total-users span {
    color: var(--primary);
}

#code {
    text-transform: uppercase;
}

input[type="date"] {
    text-transform: uppercase;
    height: 44px !important;
    text-align: left;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 10px;
    cursor: pointer;
    z-index: 2;

}

input[type="date"]::-webkit-datetime-edit {
    color: #aea1a1 !important;
}

.input-bx.date i {
    z-index: 1;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1 !important;
}

.qr-card {
    box-sizing: border-box;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.qr-card canvas {
    margin-bottom: 20px;
}

.qr-card p {
    font-size: 0.8rem;
    color: #fff;
}

/* select.default-gray:valid {
    color: #aea1a1 !important;
} */
select {
    padding: 17px 31px !important;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 25px;
    height: 20px;
    border: 2px solid #525F7F;
    /* border color */
    border-radius: 4px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    background-color: transparent;
}

/* Checked state */
input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0px;
    width: 4px;
    height: 11px;
    border: solid #525F7F;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Hover effect */
input[type="checkbox"]:hover {
    border-color: #525F7F;
}


.disclaimer-bx-gradient {
    background: linear-gradient(310deg, #525F7F 20%, #97A3C0 50%, #525F7F 80%);
    border-radius: 30px;
    padding: 2px;
    overflow: hidden;
}

.disclaimer-bx-gradient p {
    margin-bottom: 10px;
}

.disclaimer-bx-gradient h6 {
    font-size: 0.9rem;
}


.disclaimer-bx {
    padding: 15px 20px !important;
    background: #000000;
    border: none;
    border-radius: 30px;
    color: #525F7F !important;
    max-height: 15vh;
    overflow-y: auto;
}

.thankyou-bx {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-top: 15vh;
}

.approve-image {
    width: 40%;
    box-sizing: border-box;
}

.mt-4 {
    margin-top: 40px !important;
}

.approve-image img {
    width: 100%;
}

.thankyou-bx h3 {
    font-size: 1.9rem;
    color: #000000 !important;
    font-weight: 500;
}

select {
    /* Add custom arrow */
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23525F7F' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 25px !important;
    padding: 5px 18px !important;
}

.picture-upload-sec {
    width: 100%;
    height: 100%;
    padding-bottom: 50px;
    box-sizing: border-box;
    position: relative;
    overflow-y: auto;
    /* display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center; */
    color: #525F7F;
    padding-top: 5vh;
}

.picture-upload-sec h3 {
    font-size: 1.4rem;
    font-weight: normal;
}

.back-btn {
    position: absolute;
    width: 20px;
    left: 14px;
    top: 35px;
}

.back-btn img {
    width: 100%;
}

#uploadData {
    width: 90%;
    text-align: center;
    margin: 0 auto;
}

.upload-icon {
    margin: 0 auto;
    width: 12%;
}

.upload-icon img {
    width: 100%;
}

.upload-bx {
    margin: 0 auto;
    width: 35%;
}

.horizontal-bx {
    padding: 10px;
    border: 2px solid #000000;
    border-radius: 25px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    background: #ffffff;
    text-align: center;
    z-index: 99999;
}

.upload-txt,
.upload-bx p,
.upload-bx span {
    text-align: center;
}

.ui-datepicker .ui-datepicker-header {
    background: #525F7F;
    border: 1px solid #525F7F;
}


.upload-bx {
    cursor: pointer;
    position: relative;
}

.upload-bx img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
}

.upload-bx .remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: red;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 999999;
}

/* Remove the focus outline/shadow */
a:focus,
a:active,
button:focus,
button:active {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Disable the mobile “tap highlight” color in WebKit browsers */
a,
button,
input,
label {
    -webkit-tap-highlight-color: transparent;
    text-decoration: none !important;
}

/* (Optional) Remove default inner focus border in Firefox for buttons/links */
button::-moz-focus-inner,
a::-moz-focus-inner {
    border: 0;
}

/* If you also want to stop text selection coloring: */
::selection {
    background: transparent;
}



/* /////////////////// frame bx //////////////// */
.frame-bx {
    position: absolute;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    background-color: white;
}

.frame-bx .img-bx {
    position: absolute;
    width: 65%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.frame-bx img,
.frame-bx .img-bx img {
    width: 100%;
    display: block;
}



/* ////desktop landscape/// */
#orientation {
    background: linear-gradient(150deg, #ffffff 0%, #ffffff 100%);
    color: #d5d5d5;
}

#qrContainer {
    display: none;
    /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(150deg, #ffffff 0%, #ffffff 100%);
    color: #000000;
    z-index: 9999999;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

#qrContainer h3 {
    font-weight: normal;
    padding-top: 20px;
}

#qrContainer img {
    width: 200px;
    height: 200px;
}

.qrContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* /////radio-btn-bx///// */

.radio-input {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding-left: 3px;
}

.radio-input label {
    color: #525F7F;
    padding-left: 10px;
    font-size: .7rem;
}


/* hide default radio */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 15px;
    height: 15px;
    border: 2px solid #6a6f91;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* checked state */
input[type="radio"]:checked {
    border-color: #525F7F;
    background: #525F7F;
}

/* add inner dot when checked */
input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 5px;
    height: 5px;
    background: #ffffff;
    border-radius: 1px;
}

.loader-bx-upload {
    width: 100%;
    height: 89%;
    backdrop-filter: blur(3px);
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader-bx-upload img {
    width: 30%;
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* ///////////////////////////scanner//////////////// */
/* the scanner “window” sits dead-center */

.scanner-section {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 50px;
    padding-top: 5vh;
    box-sizing: border-box;
}

#scanner {
    position: fixed;
    top: 55%;
    left: 50%;
    width: min(90vw, 300px);
    aspect-ratio: 1/1;
    transform: translate(-50%, -50%);
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

#videoSection #scanner {
    transform: translate(-50%, -50%) scaleX(-1);
}

/* video covers & centres itself in the box */
#preview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: scaleX(1) translate(-50%, -50%);
}


/* hidden canvas for jsQR */
/* #canvas {
    display: none;
} */

/* four white corner guides */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #fff;
}

.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}


#toggle-camera {
    position: fixed;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-size: 16px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0;
}

#toggle-camera:hover {
    background-color: #090909;
}

/* instructions below the box */
.message {
    color: #fff;
    text-align: center;
    font-size: 18px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

.upload-txt {
    color: #000000;
}

p {
    color: #000000;
}

@media screen and (orientation:landscape) {
    #toggle-camera {
        bottom: 15%;
    }
}



/* /////////video css/// */



.uploadedImgBx img {
    width: 100%;
}

.popup-message-ctn-bx .common-btn {
    min-width: 100px;
    padding: 0px 32px;
}

.footer-bx {
    position: fixed;
    bottom: 0;
}





/* Fullscreen camera */
#camera-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    overflow: hidden;
}

#camera-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* selfie effect */
    position: absolute;
    top: 0;
    left: 0;
}


/* Capture button over video */
.action-buttons {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: row;
    gap: 19px;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.action-buttons button {
    padding: 12px 24px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.85);
}

/* Preview inside form */
#photo-preview {
    margin-top: 20px;
    text-align: center;
}

.previewImage {
    width: 100%;
    margin: 0 auto;
}

.thanku-mobile-txt {
    font-weight: bold !important;
}

#flip-button {
    width: 25%;
    background: white;
    padding: 5px 10px;
    border-radius: 10px;
    position: relative;
    top: 10%;
}

#flip-button img {
    width: 100%;
}

#photo-preview img {
    max-width: 100%;
    border-radius: 8px;
    border: 2px solid #ccc;
    margin-bottom: 15px;
}

.form-action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* .form-action-buttons button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    background: linear-gradient(45deg, #ff004d, #ff5a9c);
    color: #fff;
} */

/* /////////////send video data////////// */
.send-video-sec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 99999;
    position: relative;
}

.send-video-sec h2 {
    text-align: center;
    font-size: 1.7rem;
    color: #000000 !important;
    font-weight: normal;
}


.uploadedImgBx img {
    width: 100%;
}



.upload-video-sec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-top: 5vh;
}

.continue-btn-bx {
    flex-direction: column;
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#uploadVideoData {
    width: 100%;
}

.download-btn {
    min-width: 28%;
}

@media screen and (orientation:portrait) {
    #videoSection .header-bx {
        top: 20%;
    }

    #videoSection .send-video-btn {
        width: 65%;
    }
}

.continue-btn-bx .download-btn .loader-downld {
    width: 20%;
    position: absolute;
    top: 8px;
    left: 42%;
}

.loader-downld img {
    width: 100%;
}

.download-btn {
    z-index: 9999999;
    cursor: pointer !important;
}

#downlaodText {
    position: relative;
    z-index: -1;
}