
.question_navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

#dvmsg {
    display: none;
    flex: 1;
    margin: 0 12px;
    text-align: center;
    background-color: #ffe6e6; /* Light red background */
    border: 1px solid #e74c3c; /* Red border */
    color: #b30000; /* Darker red text */
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    #dvmsg i {
        margin-right: 6px;
        color: #e74c3c;
    }


.newQuestionnaire .new-questionnaire-pattern .question-progress {
    display: none
}
/* .question-progress {
        display: none !important;
        width: 100%;
        border: 1px solid #ccc;
        margin-top: 10px;
    }
       */
.success-box {
    position: relative;
    /*  border-radius: 20px;*/
    padding: 80px 40px;
    margin: 16px auto;
    font-family: 'Arial', sans-serif;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    max-width: 500px;
    animation: fadeIn 0.5s ease-in-out;
}

    .success-box .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* dark semi-transparent overlay */
        z-index: 0;
    }

    .success-box h3,
    .success-box p {
        position: relative;
        z-index: 1;
    }

    .success-box h3 {
        margin: 0 0 10px;
        font-size: 28px;
        font-weight: bold;
        color: #ffd700; /* gold color for contrast */
    }

    .success-box p {
        margin: 0;
        font-size: 16px;
        color: #ffffff;
    }

/* optional fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* .success-box {
        background: #f0fff0;
        border: 2px solid #28a745;
        border-radius: 50px;
        padding: 120px;
        margin: 16px 5px;
        font-family: Arial, sans-serif;
        box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
        animation: fadeIn 0.5s ease-in-out;
        text-align: center;
    }

        .success-box h3 {
            margin: 0 0 10px;
            color: #28a745;
        }

        .success-box p {
            margin: 0;
            color: #333;
            font-size: 14px;
        }*/

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.question-error {
    background-color: #ffe6e6;
    padding: 5px;
    background-color: rgba(179, 6, 56, 0.08);
    transition: all 0.3s ease;
}


/*add by swatantra for remove extra space-25/06/2025*/
#p_twoFAmsg {
    margin-top: -7px;
}

#success {
    margin-top: -25px;
}

.authentic-img {
    /*  width: 280px;
        height: 280px;*/
    top: 30px;
    position: absolute;
    z-index: 20;
    left: 50%;
    transform: translate(-50%);
}

.card-container {
    display: flex;
    flex-wrap: wrap; /* Allows cards to wrap to the next line */
    gap: 20px; /* Adds space between cards */
    justify-content: center; /* Center-aligns cards */
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 100%; /* Card width */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white;
}

    .card p {
        display: flex;
        align-items: center;
        padding-bottom: 1rem !important;
    }

        .card p:last-of-type {
            padding: 0;
        }

    .card strong {
        display: flex;
        align-items: center;
        flex: 0 0 38%;
        padding: 5px 10px;
        text-align: left;
        background-color: #f5f5f5;
        height: 100%;
    }

    .card span {
        padding: 0 0 0 10px;
        text-align: left;
    }

.card {
    text-align: center;
    padding: 20px;
}

    .card img {
        max-width: 100px;
        margin-top: 10px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

.progress {
    margin: 20px;
    width: 220px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    font-size: 1.2rem;
    line-height: 3rem;
    text-align: center;
    background-color: #eceeef;
    border-radius: -5.75rem;
    position: absolute;
    z-index: 10;
    top: 62%;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.progress-bar {
    height: 3rem;
    color: #fff;
    background-color: #236d1a;
}



.videoCapture main {
    padding-top: 0px !important;
}

    .videoCapture main > section .content p.img-thanks {
        padding: .5rem 0 0rem !important;
        line-height: 30px;
    }


    .videoCapture main > section .content p.thanks {
        padding: 0 0 1rem 0 !important;
    }

.videoCapture #dvImgNotVerify {
    margin: 0;
}


.videoCapture main > section .content .process.success .thanks strong {
    line-height: 30px !important;
    padding: 0 !important;
    font-size: 27px !important;
}

.videoCapture #btnCapture {
    margin-left: 0;
}

.videoCapture main > section .content p {
    padding-bottom: 0.5rem !important;
}

.videoCapture main > section .welcome {
    padding-top: 0;
    padding-bottom: 1.5rem !important
}

.videoCapture main > section .frame-holder {
    margin-bottom: 0rem;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.videoCapture main > section .frame-wrapper {
    width: 100%;
}

.videoCapture main > section .frame {
    margin-bottom: 1rem;
}

.videoCapture main #dvCamera {
    margin: 0;
}


.videoCapture #btnCapture, .videoCapture #btnreCapture {
    padding: 0 1.5rem;
    color: #fff;
}

.videoCapture main > section .content {
    padding: 1.25rem 1.5rem;
}

.tl, .tr, .bl, .br {
    height: 100%;
}

    .tl::after, .tr::after, .bl::after, .br::after {
        position: absolute;
        width: 50px;
        height: 4px;
        display: block;
        background-color: white;
        top: 10px;
        content: '';
        z-index: 1;
        left: 10px;
    }

    .tl::before, .tr::before, .bl::before, .br::before {
        position: absolute;
        width: 4px;
        height: 50px;
        left: 10px;
        display: block;
        background-color: white;
        top: 10px;
        content: '';
        z-index: 2;
    }

    .tr::after {
        right: 10px;
        left: initial;
    }

    .tr::before {
        right: 10px;
        left: initial;
    }

    .br::before {
        right: 10px;
        left: initial;
        bottom: 10px;
        top: initial
    }

    .br::after {
        right: 10px;
        left: initial;
        top: initial;
        bottom: 10px;
    }

    .bl::after {
        bottom: 10px;
        left: 10px;
        top: initial;
    }

    .bl::before {
        right: initial;
        top: initial;
        bottom: 10px;
    }

.frame {
    /*max-width: 300px; height: 200px;*/
    height: 246px;
    width: 100%;
    background-color: white;
    border: 1px solid;
    position: relative;
    margin-top: -21px; /*add by swatantra for remove extra space-25/06/2025*/
}

    .frame div {
        height: 100%;
    }

.mobile .frame {
    height: auto;
    /*  background-color: cyan;*/
    max-width: 100%;
}

.mobile #divCam video {
    margin: 0
}


#captured-image {
    height: 100%;
    /*background-color: pink;*/
}

    #captured-image img {
        width: 100%;
        margin: 0;
        height: 100%;
    }

.mobile canvas {
    height: 500px;
}

body:not(.mobile) #divCam {
    overflow: hidden;
}

    body:not(.mobile) #divCam video {
        margin: 0;
        width: 120%;
        height: 100%;
    }

#divBrowse {
    background-color: transparent;
}

    #divBrowse img {
        max-width: 100%;
        margin: 0;
    }

.step {
    padding: 0 !important;
}

    .step span {
        background-color: #fff;
        padding: 5px 10px;
        border: 1px solid #ccc;
        margin: 0 0 10px;
        display: inline-block;
        font-weight: bold;
    }

.frame-holder {
    display: flex;
    align-items: center;
}

    .frame-holder p {
        flex: 0 0 50px;
        text-align: right;
    }

    .frame-holder section {
        flex: 1;
    }

#dvImgNotVerify {
    margin: 20px 0 0 0;
}


.mobile .frame-holder {
    flex-direction: column;
}

.mobile .frame-wrapper {
    margin: 0 0 10px;
}

.mobile .process.success .img-thanks strong {
    padding: 0;
}

.mobile.videoCapture main > section .content p.thanks {
    padding: 1rem 0 1.5rem !important;
}




.frame-wrapper {
    position: relative;
}

@keyframes example {
    0% {
        background-color: white;
    }

    20% {
        transform: scale(.8)
    }

    20% {
        transform: scale(1.5)
    }

    30% {
        transform: scale(.8)
    }

    40% {
        transform: scale(1.5)
    }

    50% {
        transform: scale(.8)
    }

    60% {
        transform: scale(1.5)
    }

    70% {
        transform: scale(.8)
    }

    80% {
        transform: scale(1.5)
    }

    90% {
        transform: scale(.8)
    }

    100% {
        transform: scale(1)
    }
}



.frame-wrapper #clock {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: none;
    align-items: center;
    text-align: center;
    color: #fff;
    background-color: rgba(255,255,255,0.3);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    z-index: 10;
    text-shadow: 0px 0px 5px rgba(0,0,0,.55);
}

    .frame-wrapper #clock.active {
        display: grid;
        animation: example 3s linear;
    }

#clock {
    width: 75px;
    height: 75px;
    /*border-radius: 50%;*/
    background-color: white;
    border: 1px solid lightgrey;
    margin: auto;
}


    #clock.scaning {
        width: 220px;
        text-align: center;
    }

        #clock.scaning.active {
            bottom: initial;
            top: 26%;
            width: 220px;
            text-align: center;
        }


        #clock.scaning span {
            font-size: 25px;
        }

    #clock span {
        display: block;
        width: 100%;
        margin: auto;
        text-align: center;
        font-size: 45px;
        font-weight: bold;
    }

#waitmsg {
    display: none;
}

    #waitmsg:not(:empty) {
        display: block;
        text-align: center;
        padding: 10px 20px;
        color: #58571b;
        background-color: #eaffd8;
        border: 1px solid #ccc;
    }

:root {
    --height: 240px;
}

@keyframes scanning {
    100% {
        transform: translate(0, var(--height));
    }
}

#divProcessLoading.clearImage img {
    display: none;
}

.scanner-loader {
    position: absolute;
    inset: 0 0 0 0;
    display: none;
    z-index: 2;
}

    .scanner-loader:before {
        position: absolute;
        content: '';
        inset: 0 0 0 0;
        display: block;
        filter: blur(5px);
    }

    .scanner-loader:after {
        position: absolute;
        content: '';
        height: 5px;
        left: 0;
        right: 0;
        display: block;
        background-color: blue;
        filter: blur(2px);
        animation: scanning 1.5s linear infinite;
    }


.glareblock {
    position: absolute;
    inset: 0 0 10px 0;
    border: 2px solid red;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
}

.glareblock > span {
    border: 1px solid;
    padding: 15px 20px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

    .glareblock > span span {
        display: block;
        font-size: 14px;
    }



.container {
    background-color: white;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}


.content {
    /*  margin-top: 20px;*/
    margin-top: -3px; /*add by swatantra for remove extra space-25/06/2025*/
    /*     margin-bottom: -40px;*/
}

    .content h1 {
        font-size: 20px;
        color: #333;
    }

.instruction {
    background-color: #e6f2ff;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .instruction img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .instruction p {
        margin: 0;
        font-size: 16px;
        color: #333;
    }

    .instruction strong {
        font-weight: bold;
    }


.styled-button {
    background-color: #f05a28; /* Orange background color */
    color: white; /* White text color */
    border: none; /* Remove default border */
    padding: 15px 30px; /* Button padding */
    font-size: 18px; /* Font size */
    border-radius: 25px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: background-color 0.3s ease; /* Smooth transition */
}

    .styled-button:hover {
        background-color: #e04820; /* Darker orange on hover */
    }

.circle {
    height: 25px;
    width: 28px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
    background: #9b99e2;
    justify-content: center;
    align-content: baseline;
}

@keyframes blink {
    50% {
        color: transparent
    }
}

.loader__dot {
    animation: 1s blink infinite
}

    .loader__dot:nth-child(2) {
        animation-delay: 250ms
    }

    .loader__dot:nth-child(3) {
        animation-delay: 500ms
    }

.unauthorized {
    background-color: #ffe6e6;
    color: #cc0000;
    padding: 12px 20px;
    border: 1px solid #cc0000;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.1);
    margin: 15px 0;
}

