.form-sec.pan--rght.dsc--form--rght.secbg--g02 {
    background: rgb(150 137 251 / 2%);
    border-color: #b2a8fd;
}
.otp_mask {
    font-size: 34px;
    -webkit-text-security: disc;
}

.otp__digit {
    -moz-appearance: textfield;
}

.otp-input-fields {
    background-color: white;
    width: auto;
    display: block;
    justify-content: center;
    gap: 2px;
    display: flex;
}

.otp-input-fields input {
    height: 40px;
    width: 26px;
    background-color: transparent;
    border-radius: 4px;
    border: 1px solid #ced4da;
    text-align: center;
    outline: none;
    font-size: 13px;
    flex: 1 1 auto;
    box-shadow: inset 0px 1px 6px rgb(0 0 0 / 24%);
    /* Firefox */
}

.otp-input-fields input::-webkit-outer-spin-button,
.otp-input-fields input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.otp-input-fields input[type=text] {
    -moz-appearance: textfield;
}

.otp-input-fields input:focus {
    border-width: 2px;
    border-color: #287a1a;
    font-size: 13px;
}



.esign-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.badge {
    background:#e6f5ea;
    color:#2d7a4b;
    padding:5px 10px;
    border-radius:5px;
    font-size:12px;
}

.esign-tabs {
    display: flex;
    gap: 6px;
    margin-top: 15px;
    width: 100%;
}

.esign-tabs button {
    padding: 6px 16px;
    border: 1px solid #e3e3e3;
    background: #f5f5f5;
    cursor: pointer;
    border-radius: 4px;
    flex: 1;
    position: relative;
}

.esign-tabs .active {
    background:#0044eb;
    color:#fff;
}

.tab-content {
    margin-top:15px;
}

#typedName {
    width:100%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:6px;
}

.font-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:15px;
}

.font-card {
    border: 1px dashed #c7c7c7;
    border-radius:8px;
    padding:15px;
    text-align:center;
    cursor:pointer;
    background:#f9f9f9;
    font-size:26px;
}

.font-card.active {
       border: 2px dashed #004ce6;
    background:#eef5ff;
}

.agreement {
    font-size:12px;
    color:#666;
    margin-top:10px;
}

.esign-footer {
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:15px;
}

.cancel-btn {
    background:#eee;
    border:none;
    padding:8px 15px;
    border-radius:5px;
}

.save-btn {
   background: #004ce6;
    color:#fff;
    border:none;
    padding:8px 15px;
    border-radius:5px;
}

#signaturePad {
    border: 2px dashed #999;
    border-radius:6px;
    width: 100%;
}

/* Scanner CSS */
.scan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to right, #057ac9 4px, transparent 4px) 0 0, linear-gradient(to right, #057ac9 4px, transparent 4px) 0 100%, linear-gradient(to left, #057ac9 4px, transparent 4px) 100% 0, linear-gradient(to left, #057ac9 4px, transparent 4px) 100% 100%, linear-gradient(to bottom, #057ac9 4px, transparent 4px) 0 0, linear-gradient(to bottom, #057ac9 4px, transparent 4px) 100% 0, linear-gradient(to top, #057ac9 4px, transparent 4px) 0 100%, linear-gradient(to top, #057ac9 4px, transparent 4px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    width: 180px;
    margin: auto;
}

#divOutput h3 {
    visibility: hidden;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 2px;
    margin-top: 15px;
    color: #057ac9;
    /* filter: drop-shadow(0 0 20px #057ac9) drop-shadow(0 0 60px #057ac9); */
    animation: animate_text 1s steps(1) infinite;
    text-align: center;
}

#divOutput .scan.scancompleted~.scanner~h3,
#divOutput .scanner.scancompleted~h3 {
    color: #08aa53;
    animation: none !important
}

.scan .fingerprint {
    position: relative;
    width: 120px;
    height: 140px;
    background: url('../images/fingure-print.png');
    background-size: 120px;

}

.scan.scancompleted .fingerprint {
    position: relative;
    width: 120px;
    height: 140px;
    background: url('../images/fingure-print-scan.png') !important;
    background-size: 120px !important;
}

.scan.scancompleted::before {
    content: "\eb7b";
    font-family: remixicon !important;
    width: 40px;
    height: 40px;
    color: #fff;
    position: absolute;
    font-size: 28px;
    background: #08aa53;
    border-radius: 100%;
    z-index: 9;
    line-height: 40px;
    text-align: center;
    bottom: 0;
    right: 40px;
}

.scanner.scancompleted::before {
    content: "\eb7b";
    font-family: remixicon !important;
    width: 40px;
    height: 40px;
    color: #fff;
    position: absolute;
    font-size: 28px;
    background: #08aa53;
    border-radius: 100%;
    z-index: 9;
    line-height: 40px;
    text-align: center;
    top: 15px;
    right: 25px;
}

.scan .fingerprint::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/fingure-print-scan.png');
    background-size: 120px;
}

.scan.scanning .fingerprint::before {
    content: "";
    animation: animate 4s ease-in-out infinite;
}

.scan.scanning .fingerprint::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #057ac9;
    border-radius: 8px;
    filter: drop-shadow(0 0 20px #057ac9) drop-shadow(0 0 60px #057ac9);
}

.scan.scanning .fingerprint::after {
    content: "";
    animation: animate_line 4s ease-in-out infinite;
}

@keyframes animate {

    0%,
    100% {
        height: 0%;
    }

    50% {
        height: 100%;
    }
}

@keyframes animate_line {

    0%,
    100% {
        top: 0%;
    }

    50% {
        top: 100%;
    }
}

@keyframes animate_text {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.scanner {
    /* width: 120px; */
    height: 140px;
    /* border: 5px solid #057ac9;
    box-shadow: 0 0 10px #057ac9;
    border-radius: 50%; */
    position: relative;
    overflow: hidden;
    margin: 15px auto;
    display: none;
    background: linear-gradient(to right, #057ac9 4px, transparent 4px) 0 0, linear-gradient(to right, #057ac9 4px, transparent 4px) 0 100%, linear-gradient(to left, #057ac9 4px, transparent 4px) 100% 0, linear-gradient(to left, #057ac9 4px, transparent 4px) 100% 100%, linear-gradient(to bottom, #057ac9 4px, transparent 4px) 0 0, linear-gradient(to bottom, #057ac9 4px, transparent 4px) 100% 0, linear-gradient(to top, #057ac9 4px, transparent 4px) 0 100%, linear-gradient(to top, #057ac9 4px, transparent 4px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    width: 180px;
    margin: auto;
}

.scanner svg {

    width: 50%;
    height: 100%;
    margin: auto;
    display: block;
    color: #057ac9
}

.scanner.scanning {
    /* border: 5px solid #057ac9;
      box-shadow: 0 0 10px #057ac9; */
}

.scanner img {
    width: 120px;
    position: absolute;
    top: 50%;
    left: 18%;
    right: 0;
    transform: translateY(-50%);
}

.scanner.scanning::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: linear-gradient(#057ac9, transparent);
    animation: scan 4s infinite;
}

@keyframes scan {
    0% {
        top: 0;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 0;
    }
}

.pupil {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #057ac9, #004040);
    box-shadow: 0 0 15px #057ac9;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.scanning .pupil {
    background: radial-gradient(circle, #057ac9, #004040);
    box-shadow: 0 0 15px #057ac9;
}
#pdfContainer {
    position: relative;
    display: inline-block;
    overflow: hidden; /* 🔥 important */
    border: solid 2px #ccc;
}

#boxOverlay {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden; /* 🔥 important */
}

.uploadarea01 i {
    font-size: 1.5rem;
    line-height: normal;
    color: #0053e1;
    background: #dbe8fd;
    width: 32px;
    height: 32px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.view{    position: absolute;
    right: 10px;
    top: 7px;z-index: 9;}

.abtn{
padding: 2px 5px !important;
}    