:root {
    --ems-font-primary: "DM Sans", sans-serif;
    --max-width: 1280px;
    --DMSans: "DM Sans", sans-serif;
    --primary-900: #233876; /* Base color */
    --primary-800: #1E429F;
    --primary-700: #1A56DB;
    --primary-600: #1C64F2;
    --primary-500: #3F83F8;
    --primary-400: #76A9FA;
    --primary-300: #A4CAFE;
    --primary-200: #C3DDFD;
    --primary-100: #E1EFFE;
    --primary-050: #EBF5FF;
    --secondary-900: #771D1D; /* Base color */
    --secondary-800: #8A2C0D;
    --secondary-700: #B43403;
    --secondary-600: #f9c0ab;
    --secondary-500: #FF5A1F;
    --secondary-400: #FF8A4C;
    --secondary-300: #FDBA8C;
    --secondary-200: #FCD9BD;
    --secondary-100: #FEECDC;
    --secondary-050: #FFF8F1;
    --neutral-900: #111928; /* Base color */
    --neutral-800: #1F2A37;
    --neutral-700: #374151;
    --neutral-600: #4B5563;
    --neutral-500: #6B7280;
    --neutral-400: #9CA3AF;
    --neutral-300: #D1D5DB;
    --neutral-200: #E5E7EB;
    --neutral-100: #F3F4F6;
    --neutral-050: #F9FAFB;
    --Indigo-900: #362F78;
    --Indigo-800: #42389D;
    --Indigo-700: #5145CD;
    --Indigo-600: #5850EC;
    --Indigo-500: #6875F5;
    --Indigo-400: #8DA2FB;
    --Indigo-300: #B4C6FC;
    --Indigo-200: #CDDBFE;
    --Indigo-100: #E5EDFF;
    --Indigo-050: #F0F5FF;
    --purple-900: #4A1D96;
    --purple-800: #5521B5;
    --purple-700: #6C2BD9;
    --purple-600: #7E3AF2;
    --purple-500: #9061F9;
    --purple-400: #AC94FA;
    --purple-300: #CABFFD;
    --purple-200: #DCD7FE;
    --purple-100: #EDEBFE;
    --purple-050: #F6F5FF;
    --teal-900: #014451;
    --teal-200: #AFECEF;
    --pink-900: #751A3D;
    --pink200: #FAD1E8;
    --lt-gray: #393B3C;
    --white: #ffffff;
    --yellow: #E3A914;
    --green: #47B17E;
    --bg-blacklg: #393B3C;
    --pri-gradient: linear-gradient(180deg, rgba(225, 239, 254, 0) 0%, var(--primary-100) 100%);
    --sec-gradient: linear-gradient(180deg, rgba(255, 248, 241, 0) 0%, rgba(255, 248, 241, 0.8) 37.14%, var(--secondary-050) 100%);
    --fnt-medium: 500 !important;
    --fnt-semi: 600 !important;
    --fnt-bold: 700 !important;
    --radius20: 20px;
    --radius16: 16px;
    --radius12: 12px;
    --label: #AAAAAA;
    --color-text: navy;
    --color-bg: papayawhip;
    --color-bg-accent: #ecdcc0;
    --size: clamp(10rem, 1rem + 40vmin, 30rem);
    --gap: calc(var(--size) / 20);
    --duration: 35s;
    --scroll-start: 0;
    --scroll-end: calc(-100% - var(--gap));
    --ems-primary-50: hsl(210, 100%, 96%);
    --ems-color-primary: hsl(220, 89%, 53%);
    --ems-color-primary-300: hsl(215, 98%, 82%);
    --ems-color-primary-100: hsl(210, 88%, 94%);
    --ems-success-bold-color: hsl(186, 95%, 26%);
    --ems-input-color: hsl(219, 40%, 11%);
    --ems-input-placeholder-color: hsl(218, 11%, 65%);
    --ems-input-border-color: hsl(216, 12%, 84%);
    --bs-border-color: hsl(216, 12%, 84%);
    --ems-input-border-color-onfocus: hsl(220, 89%, 66%);
    --ems-input-label-color: hsl(213, 28%, 17%);
    --ems-inactive-step-color: hsl(210, 10%, 23%);
    --color-white: hsl(0, 0%, 100%);
    --color-peach-light: hsl(30, 100%, 97%);
    --color-peach: hsl(27, 89%, 86%);
    --color-peach-dark: hsl(21, 90%, 48%);
    --bg-orange-50: hsl(33, 100%, 96%);
    --bg-orange-200: hsl(32, 98%, 83%);
    --bg-orange-500: hsl(25, 95%, 53%);
    --black-50: hsl(220, 27%, 96%);
    --black-100: hsl(220, 14%, 96%);
    --black-200: hsl(220, 13%, 91%);
    --black-600: hsl(215, 14%, 34%);
    --black-800: hsl(213, 28%, 17%);
    --black-900: hsl(219, 40%, 11%);
    --pink-50: hsl(327, 73%, 97%);
    --color-grey-500: hsl(210, 20%, 98%);
    --ems-bg-body-secondary-color: hsl(220, 14%, 96%);
    --ems-bg-body-tertiary-color: hsl(210, 17%, 98%);
    --ems-dropzone-bg-color: hsl(210, 14%, 83%);
    --ems-step-circle-bg-color: hsl(258, 90%, 66%);
    --ems-inactive-step-bg-color: hsl(0, 0%, 95%);
    --bg-toast-danger: hsl(0, 70%, 35%);
    --ems-shadow-sm: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    --ems-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@font-face {
    font-family: 'DM Sans';
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/dm-sans/DMSans-Light.ttf') format('opentype');
}

@font-face {
    font-family: 'DM Sans';
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/dm-sans/DMSans-Regular.ttf') format('opentype');
}

@font-face {
    font-family: 'DM Sans';
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/dm-sans/DMSans-Medium.ttf') format('opentype');
}
 
@font-face {
    font-family: 'DM Sans';
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/dm-sans/DMSans-SemiBold.ttf') format('opentype');
}

@font-face {
    font-family: 'DM Sans';
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/dm-sans/DMSans-Bold.ttf') format('opentype');
}

.font-thin {
    font-family: var(--ems-font-primary) !important;
    font-weight: 300 !important;
}

.font-regular {
    font-family: var(--ems-font-primary) !important;
    font-weight: 400 !important;
}

.font-medium {
    font-family: var(--ems-font-primary) !important;
    font-weight: 500 !important;
}

.font-semibold {
    font-family: var(--ems-font-primary) !important;
    font-weight: 600 !important;
}

.font-bold {
    font-family: var(--ems-font-primary) !important;
    font-weight: 700 !important;
}

body {
    font-family: var(--ems-font-primary);
    font-weight: 400;
    font-size: 0.875rem;
}

/* ------------------ Inputs ------------------ */

.ems-textInput {
    width: 100%;
    border: 1px solid #d1d5db;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.0509803922);
    border-radius: 8px;
    padding: 8px 14px;
    color: #111928;
    background-color: #ffffff;
    font-size: 0.875rem;
}

input.ems-textInput:disabled {
    cursor: not-allowed;
    background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(59, 59, 59, 0.3));
    color: light-dark(rgb(84, 84, 84), rgb(170, 170, 170));
}

.ems-textInput::placeholder {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #9ca3af;
}

.ems-textInput:focus {
    appearance: none;
    outline: none;
}

.ems-formLabel {
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    color: var(--neutral-800);
    margin-bottom: 0;
}

.ems-floatLabel {
    display: inline;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    color: #000;
    position: absolute;
    top: -10px;
    left: 12px;
    z-index: 1;
    background-color: #fff;
    padding-inline: 0.25rem;
    border-radius: 50rem;
}

.ems-pwdHide, .ems-pwdShow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    cursor: pointer;
}

.ems-pwdHide.hide, .ems-pwdShow.hide {
    display: none;
}

.ems-pwdHide img, .ems-pwdShow img {
    width: 16px;
    height: 16px;
}

.form-select {
    border: 1px solid #d1d5db;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.0509803922) !important;
    border-radius: 8px !important;
    color: #111928 !important;
    background-color: #ffffff !important;
    height: auto !important;
}

textarea { max-height: 90px; }

.form-check-input {
    border: 1px solid #d1d5db;
}
/* ------------------ Buttons ------------------ */
.btn-custom {
    padding: 0.75rem 1.5rem;
    font-size: 16px;
    line-height: 22px;
    border: none;
    box-shadow: none;
    outline: none;
    font-weight: 500;
    display: inline-block;
    border-radius: 8px;
    background: transparent;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-ems--info {
    background: #1c64f2;
    border: 1px solid #1c64f2;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-block: 8px;
}

.btn-ems--info:hover {
    background: transparent !important;
    border: 1px solid #1c64f2 !important;
    color: #1c64f2 !important;
}

.btn-ems--default {
    background-color: transparent;
    border: 1px solid #1c64f2;
    color: #1c64f2;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-ems--default:hover {
    background-color: #1c64f2 !important;
    color: white !important;
}

/* ---------------  JQuery Datepicker CSS  --------------- */

.ui-datepicker {
    font-family: var(--ems-font-primary) !important;
    width: 20em !important;
    padding: 0 !important;
    border-radius: 0.375rem !important;
    z-index: 1070 !important;
}

.ui-datepicker-header {
    border-radius: 0.375rem 0.375rem 0 0 !important;
    padding: .6em 0 !important;
}

.ui-datepicker-title {
    margin: 0 4.6em 0 0 !important;
}

.ui-datepicker-title select {
    padding: 4px;
    border-radius: 0.375rem;
    border-color: #ced4da;
}

.ui-datepicker-month {
    margin-right: 4px !important;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    top: 12px !important;
    left: unset !important;
    transform: rotate(270deg);
}

.ui-datepicker .ui-datepicker-prev {
    right: 30px !important;
}

.ui-datepicker .ui-datepicker-next {
    right: 2px !important;
}

.ui-datepicker .ui-datepicker-prev-hover {
    right: 30px !important;
}

.ui-datepicker .ui-datepicker-next-hover {
    right: 2px !important;
}

.ui-datepicker td {
    padding: 6px !important;
}

.ui-state-default, .ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button, html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border-radius: 50%;
    text-align: center;
    border: unset !important;
    background-color: transparent !important;
    padding-top: 4px !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border-color: #0587ef !important;
    background: #029dde linear-gradient(to bottom, #00b4ff, #047bab) repeat scroll 0 0 !important;
}

.ui-state-hover, .ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover, .ui-state-focus,
.ui-widget-content .ui-state-focus, .ui-widget-header
.ui-state-focus, .ui-button:hover, .ui-button:focus {
    border: unset !important;
    background-color: #ededed !important;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: 1px solid #0587ef !important;
    background-color: transparent !important;
    color: #000 !important;
}


/* ------------------ Reusable Classes ------------------ */

.fs-7 {
    font-size: 0.875rem !important;
}

.fs-8 {
    font-size: 0.75rem !important;
}

.fs-9 {
    font-size: 0.625rem !important;
}
.fs-13 {
    font-size: 13px;
}
.fs-14 {
    font-size: 0.875rem;
}
.fs-18 {
    font-size: 18px;
}

.fs-16 {
    font-size: 1rem;
}

.p-2px {
    padding: 0.125rem !important;
}

.p-6px {
    padding: 0.375rem !important;
}

.p-12px {
    padding: 0.75rem !important;
}

.ps-12px {
    padding-left: 0.75rem !important;
}

.pt-12px {
    padding-top: 0.75rem !important;
}

.px-6px {
    padding-right: 0.375rem !important;
    padding-left: 0.375rem !important;
}

.px-10px {
    padding-right: 0.625rem !important;
    padding-left: 0.625rem !important;
}

.px-12px {
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
}

.py-6px {
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
}

.py-10px {
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
}

.py-12px {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.pb-12px {
    padding-bottom: 0.75rem !important;
}

.mt-2px {
    margin-top: 0.125rem !important;
}

.mb-2px {
    margin-bottom: 0.125rem !important;
}

.mb-6px {
    margin-bottom: 0.375rem !important;
}

.m-12px {
    margin: 0.75rem !important;
}

.mt-12px {
    margin-top: 0.75rem !important;
}

.mb-12px {
    margin-bottom: 0.75rem !important;
}

.my-12px {
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
}

.mx-12px {
    margin-right: 0.75rem !important;
    margin-left: 0.75rem !important;
}

.mb-100px {
    margin-bottom: 6.25rem !important;
}

.lh-0 {
    line-height: 0 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.display-none {
    display: none;
}

.z-99 {
    z-index: 99 !important;
}

.appearance-none {
    appearance: none;
}

.h-full {
    height: 100vh !important;
}

.rotate-180 {
    transform: rotateY(180deg);
}

.align-super {
    vertical-align: super;
}

.landing-wrapper {
    background: linear-gradient(180deg, #FFF8F1 0%, #fdfbfb 100%);
    min-height: 100vh;
}

.ems-navLink.nav-link.active {
    border: 0;
    border: 2px solid #1c64f2;
    color: #1c64f2;
}

.ems-bg-primary {
    background-color: #FF8A4C !important;
}

.ems-bg-primary-100 {
    background-color: #FFF8F1 !important;
}

.ems-bg-primary-200 {
    background-color: #FCD9BD !important;
}

.ems-box-shadow {
    box-shadow: var(--ems-box-shadow)
}

/* ------------------ Success & Failure Icon Animation ------------------ */

.animation-ctn {
    text-align: center;
    margin-top: -3.2em;
}

@-webkit-keyframes checkmark {
    0% {
        stroke-dashoffset: 100px
    }

    100% {
        stroke-dashoffset: 0px
    }
}

@-ms-keyframes checkmark {
    0% {
        stroke-dashoffset: 100px
    }

    100% {
        stroke-dashoffset: 0px
    }
}

@keyframes checkmark {
    0% {
        stroke-dashoffset: 100px
    }

    100% {
        stroke-dashoffset: 0px
    }
}

@-webkit-keyframes checkmark-circle {
    0% {
        stroke-dashoffset: 480px
    }

    100% {
        stroke-dashoffset: 960px
    }
}

@-ms-keyframes checkmark-circle {
    0% {
        stroke-dashoffset: 240px
    }

    100% {
        stroke-dashoffset: 480px
    }
}

@keyframes checkmark-circle {
    0% {
        stroke-dashoffset: 480px
    }

    100% {
        stroke-dashoffset: 960px
    }
}

@keyframes colored-circle {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

.inlinesvg .svg svg {
    display: inline
}

.icon--order-success svg polyline {
    -webkit-animation: checkmark 0.25s ease-in-out 0.7s backwards;
    animation: checkmark 0.25s ease-in-out 0.7s backwards
}

.icon--order-success svg circle {
    -webkit-animation: checkmark-circle 0.6s ease-in-out backwards;
    animation: checkmark-circle 0.6s ease-in-out backwards;
}

.icon--order-success svg circle#colored {
    -webkit-animation: colored-circle 0.6s ease-in-out 0.7s backwards;
    animation: colored-circle 0.6s ease-in-out 0.7s backwards;
}

/* ------------------ animated tooltip ------------------ */


.animated-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #1e40af;
    padding: 10px 6px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: #fff;
    width: 96px;
    height: 60px;
    z-index: 1050;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    border: 1px solid #1e40af;
    animation: slideIn 0.5s ease-out forwards, gentleFloat 1.8s ease-in-out 0.5s infinite, borderGlow 2.5s ease-in-out infinite;
}

.animated-tooltip.placeholder-validated {
    border: 2px solid rgb(25,135,84);
    animation: none;
    box-shadow: none;
    color: rgb(25,135,84);
}

.animated-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1e40af;    
}

.animated-tooltip.placeholder-validated::after {
    border-top-color: rgb(25,135,84);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: #1e40af;
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    }

    50% {
        border-color: #1e40af;
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3), 0 0 0 3px rgba(30, 64, 175, 0.35);
    }
}

.main-content {
    margin-bottom: 80px;
}

.landing-steps {
    font-size: 10px;
    background: #FCD9BD;
    color: #000;
    border-radius: 50%;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 6px 6px;
    line-height: 16px;
    font-weight: 600;
}

.pay-and-sign-progress-bar .step-bar::after {
    content: "";
    position: absolute;
    top: 30%;
    left: 30%;
    transform: translateX(50%);
    height: 2px;
    width: 70%;
    background: #dbdbdb;
    border-radius: 15px;
}
.pay-and-sign-progress-bar .step-bar.completed::after {
    background: green;
}

.banner-left-content {
    min-height: 100%;
}

.min-width-120p {
    min-width: 120px;
}

.pay-sign-error {
    position: absolute;
    left: 0px;
    bottom: auto;
}

.doc-upload-area .dropzone {
    display: flex;
    border: 2px dashed #007BFF;
    padding: 20px 30px;
    border-radius: 8px;
    background-color: #ffffff;
    cursor: pointer;
    color: #007BFF;
    font-size: 1rem;
    transition: background-color 0.3s;
    min-height: 200px;
    max-height: 200px;
    overflow-x: auto;
}

.doc-upload-area .dropzone:hover {
    background-color: #e3f2fd;
}

.doc-upload-area .info-text {
    color: #777;
    margin-top: 10px;
}

.progress-footer {
    position: absolute;
    bottom: 0.50rem;
    left: 0;
}

.doc-upload-area .dropzone .dz-preview.dz-file-preview .dz-image {
    border-radius: 20px;
    background: #999;
    background: linear-gradient(to bottom, #fff8f1, #fff8f1);
}

/* Disable the tooltip on file hover */
.dropzone .dz-preview.dz-error .dz-error-message, .dropzone .dz-preview .dz-error-mark, .dropzone .dz-preview .dz-success-mark {
    display: none !important;
}

.z-100 {
    z-index: 100 !important;
}

.ems-field {
    width: 100%;
    border: 1px solid #d1d5db;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.0509803922);
    border-radius: 8px;
    padding: 8px 14px;
    color: #111928;
    background-color: #ffffff;
}

.ems-field-label {
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--neutral-800);
    margin-bottom: 6px;
}

.dz-button {
    position: absolute;
    top: 36%;
    width: 100%;
    left: 0;
}

.footer-bg {
    background-color: #fdfbfb;
    z-index: 1060 !important;
}

.success-content {
    min-height: calc(100vh - 56px);
}

.ems-removeSignatoryBtn {
    position: absolute;
    top: 13px;
    right: 55px;
    font-size: 20px;
    background-color: transparent;
    border: 0;
    z-index: 99;
    color: rgb(220, 53, 69);
}

.uploadedDocuments-wrap {
    height: 150px;
}

.uploadedDocuments {
    height: 75px;
    width: 75px;
}

.uploadedDocuments canvas {
    height: 75px;
    width: 75px;
}

.doc-upload-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px dashed #007BFF !important;
    padding: 20px 30px;
    border-radius: 8px;
    background-color: #ffffff;
    cursor: pointer;
    color: #007BFF;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.overflow-x-auto {
    overflow-x: auto !important;
}

.accordion-button:not(.collapsed) {
    font-weight: 600 !important;
}

.ei-radio-input:checked + label {
    background-color: #FF8A4C;
    color: #ffffff;
}

.ems-calculateLoader {
    top: 45px !important;
    right: 24px !important;
}

.addSignatoryWrap {
    min-height: calc(100vh - 68px);
}

.ems-PaymentImage {
    max-height: 280px;
}

/* ----- Switch Btn ----- */

.switches-container {
    display: flex;
    padding: 0;
    position: relative;
    background: #ffffff;
    line-height: 3rem;
    border-radius: 3rem;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #dee2e6;
}

.switches-container input {
    visibility: hidden;
    position: absolute;
    top: 0;
}

.switches-container label {
    width: 50%;
    padding: 0;
    margin: 0;
    text-align: center;
    cursor: pointer;
    color: #000000;
}

.switch-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    padding: 0.15rem;
    z-index: 3;
    transition: transform .5s cubic-bezier(.77, 0, .175, 1);
}

.switch {
    border-radius: 3rem;
    background: #FF8A4C;
    height: 100%;
}

.switch div {
    width: 100%;
    text-align: center;
    opacity: 0;
    display: block;
    color: #ffffff;
    transition: opacity .2s cubic-bezier(.77, 0, .175, 1) .125s;
    will-change: opacity;
    position: absolute;
    top: 0;
    left: 0;
}

.switches-container input:nth-of-type(1):checked ~ .switch-wrapper {
    transform: translateX(0%);
}

.switches-container input:nth-of-type(2):checked ~ .switch-wrapper {
    transform: translateX(100%);
}

.switches-container input:nth-of-type(1):checked ~ .switch-wrapper .switch div:nth-of-type(1) {
    opacity: 1;
}

.switches-container input:nth-of-type(2):checked ~ .switch-wrapper .switch div:nth-of-type(2) {
    opacity: 1;
}

.recipient_0 {
    background: rgba(252, 209, 175, 1) !important;
}

.recipient_1 {
    background: rgba(225, 239, 255, 1) !important;
}

.recipient_2 {
    background: rgba(255, 225, 247, 1) !important;
}

.recipient_3 {
    background: rgba(221, 255, 222, 1) !important;
}

.recipient_4 {
    background: rgba(210, 211, 255, 1) !important;
}

.recipient_5 {
    background: rgba(255, 210, 225, 1) !important;
}

.recipient_6 {
    background: rgba(193, 209, 219, 1) !important;
}

.recipient_7 {
    background: rgba(203, 242, 251, 1) !important;
}

.recipient_8 {
    background: rgba(202, 223, 203, 1) !important;
}

.recipient_9 {
    background: rgba(255, 222, 173, 1) !important;
}

.recipient_10 {
    background: rgba(206, 176, 183, 1) !important;
}

.recipient_11 {
    background: rgba(201, 168, 218, 1) !important;
}

.recipient_12 {
    background: rgba(181, 196, 214, 1) !important;
}

.recipient_13 {
    background: rgba(245, 242, 180, 1) !important;
}

.recipient_14 {
    background: rgba(173, 255, 201, 1) !important;
}

.recipient_15 {
    background: rgba(236, 151, 219, 1) !important;
}

.recipient_16 {
    background: rgba(255, 230, 162, 1) !important;
}

.recipient_17 {
    background: rgba(165, 156, 255, 1) !important;
}

.recipient_18 {
    background: rgba(180, 251, 244, 1) !important;
}

.recipient_19 {
    background: rgba(198, 255, 173, 1) !important;
}

.recipient_20 {
    background: rgba(255, 210, 210, 1) !important;
}

.recipient_21 {
    background: rgba(245, 190, 239, 1) !important;
}

.recipient_22 {
    background: rgba(173, 228, 255, 1) !important;
}

.recipient_23 {
    background: rgba(201, 201, 245, 1) !important;
}

.recipient_24 {
    background: rgba(173, 255, 190, 1) !important;
}

.recipient_25 {
    background: rgba(223, 236, 200, 1) !important;
}

.recipient_26 {
    background: rgba(255, 231, 194, 1) !important;
}

.recipient_27 {
    background: rgba(194, 222, 255, 1) !important;
}

.recipient_28 {
    background: rgba(175, 255, 239, 1) !important;
}

.recipient_29 {
    background: rgba(255, 225, 247, 1) !important;
}

.recipient_30 {
    background: rgba(221, 255, 222, 1) !important;
}

.recipient_31 {
    background: rgba(210, 211, 255, 1) !important;
}

.recipient_32 {
    background: rgba(255, 210, 225, 1) !important;
}

.recipient_33 {
    background: rgba(193, 209, 219, 1) !important;
}

.recipient_34 {
    background: rgba(203, 242, 251, 1) !important;
}

.recipient_35 {
    background: rgba(202, 223, 203, 1) !important;
}

.recipient_36 {
    background: rgba(181, 208, 255, 1) !important;
}

.recipient_37 {
    background: rgba(255, 188, 188, 1) !important;
}

.recipient_38 {
    background: rgba(255, 173, 250, 1) !important;
}

.recipient_39 {
    background: rgba(215, 186, 255, 1) !important;
}

.recipient_40 {
    background: rgba(173, 218, 255, 1) !important;
}

.recipient_41 {
    background: rgba(202, 223, 203, 1) !important;
}

.recipient_42 {
    background: rgba(255, 222, 173, 1) !important;
}

.recipient_43 {
    background: rgba(206, 176, 183, 1) !important;
}

.recipient_44 {
    background: rgba(201, 168, 218, 1) !important;
}

.recipient_45 {
    background: rgba(181, 196, 214, 1) !important;
}

.recipient_46 {
    background: rgba(245, 242, 180, 1) !important;
}

.recipient_47 {
    background: rgba(173, 255, 201, 1) !important;
}

.recipient_48 {
    background: rgba(236, 151, 219, 1) !important;
}

.recipient_49 {
    background: rgba(255, 230, 162, 1) !important;
}

.recipient_50 {
    background: rgba(165, 156, 255, 1) !important;
}

.recipient_51 {
    background: rgba(206, 176, 183, 1) !important;
}

.recipient_52 {
    background: rgba(201, 168, 218, 1) !important;
}

.recipient_53 {
    background: rgba(181, 196, 214, 1) !important;
}

.recipient_54 {
    background: rgba(245, 242, 180, 1) !important;
}

.recipient_55 {
    background: rgba(173, 255, 201, 1) !important;
}

.ems-signatory-dragIcon {
    right: 12px;
    top: 10px;
    cursor: grab;
}

.ems-signatoryList {
    position: relative;
    padding: 8px;
    border-radius: 0.375rem;
    margin-bottom: 0.25rem;
    padding-right: 32px;
}

.ems-signatoryList .default { word-break: break-word; }

.dropped-signature-details {
    align-items: flex-start;
    padding-top: 8px;
    padding-inline: 4px;
}

.divSettings {
    position: absolute;
    top: -24px;
    border-bottom: 0;
    right: 0px;
    padding: 6px 4px;
    border-radius: 0.25rem 0.25rem 0 0;
}

.divSettings a {
    padding: 5px 8px;
}

.signatory-name {
    margin-bottom: 0;
    line-height: 1;
    display: block;
}

.dragDivOut {
    display: inline-block;
    width: 180px;
    height: 90px;
    line-height: 12px;
    font-size: 10px !important;
    cursor: move;
    padding: 3px !important;
}

.dragDivOutMobile {
    display: inline-block;
    min-width: 140px !important;
    width: 140px !important;
    height: 40px !important;
    line-height: 12px;
    font-size: 8px !important;
    cursor: move;
    padding: 3px !important;
}

.documentContainment {
    position: relative;
}

.bg-secondary-subtle {
    background-color: #ced4da !important;
}

.actionButton {
    background: #fff;
    border: 1px solid #e2e2e2;
    display: inline-block;
    vertical-align: middle;
    border-radius: 0.375rem;
    text-decoration: none;
    padding: 2px 6px;
    text-align: center;
    font-size: 8px;
}

.pageSelValue {
    margin-right: 3px;
    padding: 0 1.8rem 0 0.5rem !important;
    font-size: 12px;
}

.ems-pdfInfoDesc {
    border-left: 3px solid #1c64f2 !important;
}

.document-preview-body canvas {
    width: 100%;
}

.toast-bg-danger {
    background-color: #f76f7b;
}

.ems-roundedIcon {
    background-color: #2196F3;
    padding: 20px;
    border-radius: 50%;
    display: inline-block;
}

.ems-uploadedFileName {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ems-toast {
    position: absolute;
    bottom: 20px;
    right: 12px;
    z-index: 1080;
}

.ems-toastCloseBtn {
    position: absolute;
    right: 0px;
    top: -25px;
    background: #000;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    text-align: center;
    line-height: 22px;
    font-size: 10px;
    cursor: pointer;
}

.ls-n1 {
    letter-spacing: -1px !important;
}

.ems-border-success {
    border: 1px solid rgb(179 231 207) !important;
}

.bg-success-subtle {
    background-color: rgba(229, 240, 235, 0.7) !important;
}

.list-style-auto {
    list-style-type: auto !important;
}

.videoCaptureWrapper .vrConsent {
    color: #333;
    padding: 10px;
    margin: 5px 0px 0px;
    background-color: #fff9ea;
    border: solid 1px #dfd8c2;
    border-radius: 4px;
    font-size: 12px;
    line-height: 16px;
}

.liveCaptureSection {
    display: block;
    width: 100%;
}

.liveCaptureSection .CaptureVideo, .ImgDisplaySection .displayVideoSection {
    position: relative;
    margin: 0px;
    padding: 5px 5px 0px;
    width: 100%;
    display: block;
    min-height: 260px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dee246;
}

.liveCaptureSection video {
    width: 100%;
    margin: 0px;
    border-radius: 12px;
}

.liveCaptureSection .timerBox {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 16px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 14px;
    z-index: 1;
}

.LivlelinessErrMsg {
    text-align: center;
    padding-top: 5px;
    width: 100%;
}

.DeviceUse {
    position: absolute;
    top: 0px;
    text-align: center;
    padding: 30px;
    height: 100%;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

.livelinessCheck {
    color: #fff;
    background: rgba(0,0,0,0.9);
    margin: 10px;
    padding: 10px;
    border-radius: 30px;
    font-size: 14px;
}

.liveCaptureSection .btnPlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    box-shadow: none;
    border: none;
    z-index: 1;
}

.videoHead {
    margin-left: 10px;
    font-size: 14px;
    display: inline-block;
}

.ems-docListNum {
    min-width: 24px;
    max-width: 35px;
    aspect-ratio: 1 / 1;
    background-color: #FDBA8C;
}

.ems-docListTitle {
    display: inline-block;
    text-overflow: ellipsis;
    max-width: 190px;
    overflow: hidden;
    text-wrap: nowrap;
}

.dragDiv {
    background: rgba(255,255,255,0.8);
    cursor: move;
    width: 120px;
    height: 60px;
    position: absolute;
    padding: 10px 6px !important;
    box-shadow: 0px 0px 7px rgba(0,0,0,.1);
    word-break: break-all;
    z-index: 14;
    display: inline-block;
    border-radius: 0.75rem !important;
    
}
#dsigndiv, #esigndiv, #esignaturediv, #esignv2div {
    display: flex;
}

.dradivvalidation {
    border: 2px solid #1e40af;
    animation: borderGlow 2.5s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

select.dragDiv { padding: 4px !important; }

.dragDiv .psignImg {
    background: url('../images/emsigner-watermark.svg') no-repeat center center;
    height: 100%;
    width: 100%;
    display: block;
    vertical-align: top;
    opacity: 1;
    background-size: contain;
}
    .dragDiv .pInImg {
        background: url('../images/select-initials.svg') no-repeat center center;
        height: 100%;
        width: 100%;
        display: block;
        vertical-align: top;
        opacity: 1;
        margin-left: 3px;
        margin-right: -3px;
        background-size: contain;
    }
.dragDiv .pstampImg {
    background: url('../images/select-stamp.svg') no-repeat center center;
    height: 100%;
    width: 100%;
    display: block;
    vertical-align: top;
    opacity: 1;
    margin-left: 3px;
    margin-right: -3px;
    background-size: contain;
}

.dragDiv .psignloadImg {
    position: absolute;
    left: 45%;
    top: 35%;
    display: block;
    vertical-align: top;
    opacity: 1;
}

/* Signing Order Diagram Styles Starts*/

.diagram-container table {
    width: 100%;
}

.diagram-container {
    background-color: #f1f1f1;
    display: block;
}

.thumbnail-wrapper {
    position: relative;
    display: block;
    margin: 0;
    padding: 5px 0;
    text-align: center;
}

.thumbnail-wrapper.signer {
    position: relative;
    height: 55px;
}

.thumbnail-wrapper .thumbnail-line:after {
    content: "";
    left: 50%;
    height: 55px;
    border-right: 2px dashed #717171;
    display: block;
    position: absolute;
    top: 0px;
}

.thumbnail-wrapper .thumbnail-noline:after {
    content: "";
    left: 50%;
    height: 60px;
    background: #717171;
    width: 2px;
    display: block;
    position: absolute;
    top: 10px;
}

.wfstatusBox {
    margin: 5px 0 0;
    text-align: right;
}

.wfstatusBox .wflabel span {
    width: 15px;
    height: 15px;
    display: inline-block;
    margin: -3px 3px 0px 0px;
    vertical-align: middle;
}

.wfstatusBox .wflabel {
    margin-right: 15px;
    font-size: 13px;
    margin-bottom: 5px;
    display: inline-block;
}

.wfstatusBox .pending {
    background: #f36f21;
}

.wfstatusBox .notyetstarted {
    background: #969696;
}

.wfstatusBox .recalled {
    background: #0066cc;
}

.wfstatusBox .completed {
    background: #669900;
}

.wfstatusBox .declined {
    background: #cc3333;
}

.wfstatusBox .delete {
    background: #ff0000;
}

.wfstatusBox .carboncopy {
    background: #f1f1f1;
    border: 2px solid #de07f4;
}

.wfstatusBox .delegation, .wfstatusBox .reviewer, .wfstatusBox .carboncopy, .wfstatusBox .signer {
    background: #000 !important;
    border: none !important;
    color: #fff;
    border-radius: 100%;
    position: relative;
    height: 18px !important;
    width: 18px !important;
}

.wfstatusBox .delegation:before, .wfstatusBox .reviewer:before, .wfstatusBox .carboncopy:before, .wfstatusBox .signer:before {
    display: flex;
    font-size: 10px;
    height: 18px;
    justify-content: center;
    align-items: center;
}

.wfstatusBox .delegation:before {
    content: 'D';
}

.wfstatusBox .reviewer:before {
    content: 'R';
}

.wfstatusBox .carboncopy:before {
    content: 'CC';
}

.wfstatusBox .signer:before {
    content: 'S';
}

.signer-order-status {
    text-align: left;
    padding: 10px 20px;
    margin: 0 0 5px;
    background: #f9f9f9;
    border-bottom: 1px solid #e2e2e2;
}

.diagram-row {
    border-bottom: 1px solid #e5e5e5;
}

.sod-completed {
    background-color: #690 !important;
    color: #ffffff;
}

.cc-completed {
    background-color: #690;
    color: #ffffff;
    border: 2px solid #de07f4;
}

.cc-pending {
    background-color: #f36f21;
    color: #ffffff;
    border: 2px solid #de07f4;
}

.sod-pending {
    background-color: #f36f21;
    color: #ffffff;
}

.sod-notstarted {
    background-color: #969696;
    color: #ffffff;
}

.sod-declined {
    background-color: #c33;
    color: #ffffff;
}

.sod-recalled {
    background-color: #06c;
    color: #ffffff;
}

.sod-deleted {
    background-color: #f00000;
    color: #ffffff;
}

.sod-delegation {
    border-color: #673695;
    color: #fff;
}

.del-completed {
    background-color: #690;
    color: #ffffff;
    border-color: #673695;
}

.del-declined {
    background-color: #c33;
    color: #ffffff;
    border-color: #673695;
}

.diagram-row-contents .series-sender:after {
    width: 100% !important;
    right: -50% !important;
    position: absolute !important;
}

.diagram-row-contents .no-display:after {
    display: none;
}

.diagram-row-contents {
    padding: 10px 0px;
}

.diagram-row-contents .sender:after, .diagram-row-contents .complete:before {
    content: "";
    background: url("../images/sod-line-arrow.png") no-repeat center center;
    height: 55px;
    width: 35%;
    right: 0%;
    position: absolute;
    top: -2px;
}

.diagram-row-contents .complete:before {
    left: 0px;
}

.diagram-row-contents .series-sign:before {
    display: none;
}

.diagram-row-contents .series-sign:after {
    display: none;
}

.thumbnail-wrapper .thumbnail-line {
    border-top: 2px dashed #717171;
    position: absolute;
    display: block;
    width: 100%;
    top: 25px;
}

.diagram-signer .signer:last-child:before, .diagram-signer .no-leftline:before, .diagram-signer .signer:last-child:after, .diagram-signer .signer:last-child .thumbnail-line:after {
    display: none;
}

.thumbnail-contents.recipient-not-recieved *, .thumbnail-contents.recipient-not-recieved .completion-icon::before {
    color: #b8bfcc;
}

.complete .thumbnail-contents i {
    right: auto;
    left: -50%;
}

.thumbnail-contents.recipient-completed {
    background-color: #690;
}

.thumbnail-contents.recipient-completed *, .thumbnail-contents.recipient-completed .completion-icon::before {
    color: #fff;
}

.thumbnail-contents.recipient-not-recieved {
    background-color: #d9e1f1;
    border-color: #b8bfcc;
}

.thumbnail-contents {
    border: 2px solid rgba(0,0,0,.1);
    border-radius: 6px;
    display: inline-block;
    height: 39px;
    line-height: 36px;
    margin: 3px;
    width: 50px;
    position: relative;
    z-index: 999;
}

.thumbnail-contents u {
    text-decoration: none;
}

.thumbnail-contents .fa-check {
    font-size: 18px;
}

.thumbnail-contents .user-status {
    position: absolute;
    right: -10px;
    top: -8px;
    background: #000;
    padding: 0px;
    display: flex;
    line-height: 10px;
    font-weight: normal;
    border-radius: 100px;
    font-size: 12px;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
}

.diagram-row-caption {
    font-size: 15px;
    color: #555;
    line-height: 35px;
    margin: 0px;
    padding: 0px 15px;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 160px;
    white-space: nowrap;
}

.diagram-row-contents .series-completed:before {
    content: "";
    width: 100%;
    left: -50%;
    position: absolute;
}
/* Signing Order Diagram Styles Ends*/

.innertab-panel, .innertab-panelIn {
    background: #f1f1f1;
    border: 1px solid #e2e2e2;
    overflow-y: auto;
    overflow-x: hidden;
    clear: both;
    margin-bottom: 15px;
    float: none;
    min-height: 230px;
    padding: 20px;
    box-sizing: border-box;
}

.signing-tab {
    height: auto;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    margin: 5px 0px 0px;
    padding: 0px;
    list-style: none;
}

.signing-tab li {
    float: left;
    padding: 0px;
    margin: 0px 2px 2px 0px;
    vertical-align: top;
    display: inline-block;
}

.signing-tab a.active {
    border-bottom: 3px solid #0034ac;
    font-weight: bold;
    color: #0034ac;
}

.signing-tab a {
    display: block;
    font-size: 14px;
    text-align: center;
    color: #333;
    min-width: 100px;
    padding: 2px 7px;
    background: #fff;
    border: 1px solid #e2e2e2;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 160px;
    text-decoration: none;
}

.title-info {
    display: inline-block !important;
    cursor: pointer !important;
    height: 16px !important;
    width: 16px !important;
    line-height: 16px !important;
    margin: 0px !important;
    vertical-align: baseline !important;
    background: #d5e9f6 !important;
    border: 1px solid #47ADE0 !important;
    color: #000 !important;
    border-radius: 100% !important;
    font-size: 12px !important;
    text-align: center !important;
    padding: 0 !important;
}

.sign-font-option, .sign-font-seal-option, .sign-font-optionIn {
    margin: 12px 0px 0px;
    list-style: none;
    padding: 0px;
}

    .sign-font-option li.selected, .sign-font-option li.selected:hover, .sign-font-seal-option li.selected, .sign-font-seal-option li.selected:hover, .sign-font-optionIn li.selected, .sign-font-optionIn li.selected:hover {
        border: 1px solid #000;
        border-radius: 4px;
    }

    

        .sign-font-option li.selected:before, .initialSign-font-option li.selected:before, .sign-font-seal-option li.selected:before, .sign-font-optionIn li.selected:before {
            content: '\2713';
            background: #000;
            border: 1px solid #000;
        }

        .sign-font-option li:before, .initialSign-font-option li:before, .sign-font-seal-option li:before, .sign-font-optionIn li:before {
            content: '';
            background: #fff;
            width: 18px;
            height: 18px;
            border: 1px solid #ddd;
            border-radius: 100px;
            position: absolute;
            top: 21px;
            left: 10px;
            z-index: 12;
            font-size: 12px;
            line-height: 18px;
            color: #fff;
            text-align: center;
        }

    .sign-font-option li, sign-font-seal-option li, .sign-font-optionIn li {
        cursor: pointer;
        margin: 5px 1.5% 10px 0;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 10px 15px 5px 25px;
        background: #fff;
        height: 80px;
        float: left;
        width: 48.5%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

        .sign-font-option li.selected .lbl-signature, .sign-font-seal-option li.selected .lbl-signature, .sign-font-optionIn li.selected .lbl-signature {
            background: #000;
        }

        .sign-font-option li .lbl-signature, .sign-font-seal-option li .lbl-signature, .sign-font-optionIn li .lbl-signature {
            font-size: 9px;
            line-height: 16px;
            position: absolute;
            top: 2px;
            margin-top: -10px;
            left: 10px;
            border-radius: 4px;
            background: #999999;
            padding: 0px 10px;
            display: inline-block;
            color: #fff;
        }

        .sign-font-option li .rdo-signer, .sign-font-seal-option li .rdo-signer, .sign-font-optionIn li .rdo-signer {
            position: absolute;
            left: 11px;
            top: 23px;
        }

        .sign-font-option li .span-label, .sign-font-seal-option li .span-label, .sign-font-optionIn li .span-label {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .sign-font-option li .font-sign, .sign-font-seal-option li .font-Sealsign, .sign-font-optionIn li .font-sign {
            height: 100%;
        }

.base64img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    transform: scale(1) !important;
}

.draw-sign {
    width: 100%;
    clear: both;
    float: none;
    position: relative;
}

.drawsign-color {
    padding: 0px;
}

.drawsign-color label {
    margin-right: 10px;
}

.drawsign-color a.lblBlack {
    background: #000000;
}

.drawsign-color a.lblBlue {
    background: #00008b;
}

.drawsign-color a.lblRed {
    background: #ff0000;
}

.drawsign-color a.lblGreen {
    background: #23ab23;
}

.drawsign-color a {
    vertical-align: top;
    padding: 3px 0px;
    width: 24px;
    height: 24px;
    margin-right: 5px;
    display: inline-block;
    border-radius: 100%;
    text-align: center;
    line-height: 20px;
    text-decoration: none;
}

.drawsign-color a i {
    font-size: 14px;
    margin: 0;
    color: #fff;
}

.signature-box, .signaturePanel {
    position: relative;
    margin: 0;
    min-height: 0px;
}

.signature-box #signature, .signature-box #signatureInitail, .signature-box #signatureIn {
    position: relative;
    background: #fff;
    margin-top: 5px;
    height: 250px;
    width: 100%;
    border: 1px dashed #000;
}

.signaturePanel:before {
    content: ' ';
    border-bottom: 1px solid #ccc;
    width: 80%;
    margin: 0px 10%;
    position: absolute;
    color: #ccc;
    padding-bottom: 10px;
    bottom: 20%;
    text-align: left;
    font-size: 30px;
    line-height: 30px;
}

.innertab-panel .browse-control, .innertab-panelIn .browse-control {
    width: 280px;
    display: inline-block;
}

.form-input:disabled, .form-input[readonly], .form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef !important;
    opacity: 1;
}

.ems-signup-methods__text {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    display: block;
    position: relative;
}

.ems-signup-methods__text::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    z-index: 9;
    background: linear-gradient(90deg, rgba(243, 111, 33, 0) 8.95%, #f36f21 51.74%, rgba(243, 111, 33, 0) 91.92%);
}

.ems-signup-methods__text span {
    height: 100%;
    background-color: #ffffff;
    z-index: 10;
    position: relative;
    padding: 0 10px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
}
/* UAE Pass Btn */

.uaepass-btn:active, .uaepass-btn:focus, .uaepass-btn:active:focus {
    color: #000 !important;
    background: #ecebeb;
}

.uaepass-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 3px !important;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid #bbbbbb;
}

.uaepass-btn:hover {
    color: #000;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}

/* ------- Location Icon Animation ------ */

.location-pin {
    width: 60px;
    height: 80px;
}

.tick path {
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    animation: draw 0.6s ease forwards 0.3s;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

.tooltip-inner {
    text-align: start !important;
}

.text-orange {
    color: #f69a55 !important;
}

.ems-table > :not(caption) > * > * {
    padding: 0.75rem 0.5rem !important;
}

.ems-badge {
    padding: 6px 12px;
    width: 96px;
}

.ems-badge--warning {
    background-color: #fff3cd;
}

.ems-badge--grey {
    background-color: #e2e3e5;
    color: #6c757d;
}

.ems-badge--success {
    background-color: #d1e7dd;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    margin: 20px auto;
    position: relative;
    padding-block: 10px;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.navigation {
    text-align: right;
    margin-top: 10px;
}

.nav-btn {
    padding: 10px 15px;
    font-size: 16px;
    margin: 0 5px;
    cursor: pointer;
}

.nav-btn:disabled {
    background: #ddd;
    cursor: not-allowed;
}

.ems-sliderImage {
    max-height: 200px;
    object-fit: contain;
}

.shepherd-header {
    display: none;
}

.bg-purple-200 {
    background-color: #F6F5FF;
}

.ems-invoiceSpinner {
    width: 18px;
    height: 18px;
}

.ems-loginWrap {
    padding-top: 50px;
}

.ems-navlink {
    color: #374151;
    font-weight: 500;
    font-size: 12px !important;
    line-height: 20px !important;
    text-decoration: none;
    text-wrap: nowrap;
}

.ems-ddlTokenLoader {
    top: 10px;
    right: 12px;
}

.ems-documentList.active {
    border-left: 2px solid #1c64f2;
    background: #e9e9e9;
}

.offcanvas-close {
    border: none;
    background: rgb(1 113 201);
    color: #fff !important; 
    font-size: 12px;
    border-radius: 6px;
}

#signingModal .esign-asp header { display: none; }

.document-preview-loader, .offcanvas-preview-loader {
    position: absolute;
    left: 0px;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9995;
    display: flex;
    align-items: center;
    justify-content: center;
}

#divLoading.show {
    display: block;
    position: fixed;
    z-index: 100;
    background-image: url("data:image/gif;base64,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");
    background-color: #666;
    opacity: 0.4;
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
}

.grecaptcha-badge { z-index: 9999; }


#embridgeModal #popupContentContainer {
    padding: 32px;
    text-align: center;
}

    #embridgeModal #popupContentContainer h2 {
        margin: 8px 0;
        font-size: 24px;
    }

    #embridgeModal #popupContentContainer p {
        font-size: 16px;
    }


.blink-animate .dot {
    font-size: 24px;
    animation: blink 1s infinite;
    opacity: 0;
}

.blink-animate .dot:nth-child(1) {
  animation-delay: 0s;
}
.blink-animate .dot:nth-child(2) {
  animation-delay: 0.25s;
}
.blink-animate .dot:nth-child(3) {
  animation-delay: 0.5s;
}
.blink-animate .dot:nth-child(4) {
  animation-delay: 0.75s;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.w-md-50 { width: 50% !important; }

[data-ems-custom-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-ems-custom-tooltip]:before,
[data-ems-custom-tooltip]:after {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: all 0.15s ease-in-out;
    transform: translate(-50%, 0);
    z-index: 1035;
}

[data-ems-custom-tooltip]:before {
    content: attr(data-ems-custom-tooltip);
    background: #000;
    color: #fff;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    min-width: 155px;
    max-width: 250px;
    text-align: center;
    bottom: 25px;
    left: -50px;
    margin-bottom: 0.4rem;
}

[data-ems-custom-tooltip]:after {
    content: '';
    border: 0.4rem solid transparent;
    border-top-color: #000;
    bottom: 20px;
    left: 50%;
    width: 0;
    height: 0;
}

[data-ems-custom-tooltip]:hover:before,
[data-ems-custom-tooltip]:hover:after {
    opacity: 0.9;
    transform: translate(-50%, -5px);
}

.homepage-mandatory-txt {
    position: absolute;
    left: 25px;
    bottom: 20px;
}
.tag-icon {
    position: absolute;
    top: -2px;
    right: -15px;
}
.rotate-90 {
    transform: rotate(90deg);
}
.floating-required-fields {
    position: absolute;
    left: 12px;
    bottom: -28px;
}
.coming-soon-txt {
    position: absolute;
    font-size: 11px;
    left: 0;
    bottom: -15px;
}
.text-em-orange { color: #fd7e14; }
.kyc-progress {
  counter-reset: step;
}

.kyc-progress .step {
  position: relative;
  z-index: 1;
  width: 100%;
}
.kyc-progress .circle {
    width: 35px;
    height: 35px;
    margin: 0 auto 2px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid gray;
    color: gray;
    line-height: 34px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kyc-progress .step.completed .circle {
    background-color: transparent;
    border-color: green;
    color: green;
}
.kyc-progress .step.completed .circle i {
  font-size: 16px;
}
.kyc-progress .step.active .circle {
  background-color: #fff;
    border: 2px solid #f36f21;
    color: #f36f21;
}
.kyc-progress .step small {
  display: block;
  font-size: 12px;
  color: #555;
}
.kyc-progress .step.completed small {
    color: green;
}
.kyc-progress .step.active small {
  color: #f36f21;
  font-weight: 600;
}
.step-count-lbl {
    display: none;
    background: #f36f21;
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 12px;
    position: absolute;
    left: 0;
    top: -28px;
}
.mt-6 { margin-top: 4rem; }
.bg-body-tertiary {
    background-color: #f8f9fa;
}
.bg-comment-user {
    background-color: #E3F2FD;
}
.d-item-flex { display: flex; }
.toast-container-top-center {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}
.toast-container-top-center .toast { min-width: 475px; }
.toast-container-top-center .btn-close { position: absolute; top: 10px; right: 10px; font-size: 10px; }
.FlexiformModal-offcanvas {
    min-height: calc(100vh - 5.8rem);
    max-height: calc(100vh - 5.8rem);
    overflow-y: auto;
}
.CommentsModal-offcanvas {
    min-height: calc(100vh - 10.50rem);
    max-height: calc(100vh - 10.50rem);
    overflow-y: auto;
}
.AttachDocModal-offcanvas {
    min-height: calc(100vh - 12.50rem);
    max-height: calc(100vh - 12.50rem);
    overflow-y: auto;
}
.resize-none { resize: none; }
.offcanvas-footer-shadow {
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
.showListOfDocs {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    width: auto;
}

.ems-newKycOption-wrap:has(.ems-newKycOption-input:checked) {
    border-width: 1px !important;
    border-color: hsl(220, 89%, 53%) !important;
    background-color: hsl(210, 100%, 96%);
}

.noPreviewHeight {
    min-height: calc(100vh - 148px);
}

.details-table > :not(caption) > * > * {
    padding: 0.8rem !important;
}

.select2-dropdown {
    padding: 4px;
    border-color: #dee2e6;
    border-radius: 8px;
    font-size: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #000;
}

.select2-container .select2-selection--single {
    height: 32px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px;
    font-size: 12px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 32px;
}

.select2-container .select2-selection--single .select2-selection__clear {
    font-size: 1.5em;
    line-height: 20px;
}

.select2-results__option {
    padding: 8px;
    border-radius: 8px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 8px;
    outline:none;
}

.signing-type-images {
    width: 30px;
    max-height: 16px;
    object-fit: contain;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #e9ecef;
    color: #000;
}

/*  ------------------ Media Queries ------------------ */
@media (min-width: 768px) {
    .banner-content {
        min-height: calc(100vh - 166px);
    }

    .ems-stepsTitle {
        font-size: 0.875rem;
    }

    .ems-bannerWrap {
        height: calc(100vh - 120px);
    }

    .ems-enableLocationWrap {
        height: calc(100vh - 76px);
    }

    .w-md-auto {
        width: auto !important;
    }

    .offcanvas-large {
        width: 500px !important;
    }

    .esg-statusCard {
        width: 400px;
    }
}

@media(min-width: 1200px) {
    .ems-minh-documentList {
        height: calc(100vh - 145px);
        overflow-y: auto;
    }

    .ems-minh-psDocumentList {
        height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .signatories-section {
        min-height: calc(100vh - 136px);
        max-height: calc(100vh - 136px);
        overflow-y: auto;
    }

    .ems-documentListSection {
        max-height: 200px;
        overflow-y: auto;
    }

    .fs-xl-7 {
        font-size: 0.875rem;
    }

    .fs-xl-8 {
        font-size: 0.75rem;
    }

    .fs-xl-9 {
        font-size: 0.625rem;
    }

    .p-lg-5 {
        padding: 3rem !important;
    }
}

@media (max-width: 1200px) {
    .documents-signatories-controls-section {
        margin-bottom: 24px;
    }

    .signatories-section {
        display: flex;
        flex-wrap: nowrap;
        overflow-y: scroll;
        padding-bottom: 20px;
    }

    .payment-content {
        margin-bottom: 80px;
    }
    .offcanvas iframe { height: 100%; }
    .addSignatoryWrap {
        min-height: calc(100vh);
    }
}

@media (max-width: 767px) {
    .ems-signatoryList {
        margin-right: 10px;
        min-width: 200px;
    }
    .w-mb-100 {
        width: 100% !important;
    }
    .ems-loginWrap { padding-top: 0px; }
    .homepage-mandatory-txt {
        position: static;
        display: inline-block;
        margin: 2rem 0 0 !important;
    }
    .footer-bg {
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    }
    .pay-and-sign-progress-bar .step-bar::after {
        content: "";
        position: absolute;
        top: 24%;
        left: 65%;
        transform: translateX(50%);
        height: 2px;
        width: 35%;
        background: #dbdbdb;
        border-radius: 15px;
    }
    .kyc-progress .step small {
        font-size: 11px;
        line-height: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .ems-signatoryList {
        margin-right: 10px;
        min-width: 300px;
    }
}

.languagechange {
    text-decoration: none;
    color: #212529;
    cursor: pointer;
    font-size: 14px;
}
.lang-dropdown .dropdown-menu li {
    padding: 5px 10px;
    width: 19%;
    display: inline-block;
    line-height: normal;
}
.lang-dropdown .dropdown-menu .header_menu {
    font-weight: 600;
    margin-bottom: 0px;
    width: 100%;
}
.language-change-dropdown {
    max-width: 55rem;
    box-shadow: 0 0 20px 0 rgba(33, 33, 33, .2);
    z-index: 9999;
}
.profile-pic img {
    border-radius: 50%;
    border: 1px solid #bcbcbc;
    padding: 2px;
}
.username-wrapper .mob-user {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}
.loading {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-block;
    border-top: 3px solid #f36f21;
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
.loading:after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left: 3px solid #0034ac;
    border-bottom: 3px solid transparent;
    animation: rotation 0.5s linear infinite reverse;
}
.loader-body {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .lang-dropdown .dropdown-menu li {
        width: 49%;
    }
}

.aadhaarSigningOptions-lbl {
    position: absolute;
    display: inline-block;
    font-size: 12px;
    background: #fff;
    top: -10px;
    left: 10px;
    padding: 0 5px;
}

.esg-header {
    background-color: #fff;
}

.ems-border-primary {
    border: 1px solid #d1d5db;
}

.ems-or-separator {
    background: linear-gradient(90deg, rgba(243, 111, 33, 0) 8.95%, #f36f21 51.74%, rgba(243, 111, 33, 0) 91.92%);
    height: 1px;
}

.ems-or-separator .ems-or-text {
    position: absolute;
    top: -9px;
    left: 50%;
    padding: 0 8px;
    background: #fffbf8;
    transform: translateX(-50%);
}

.ems-texthight {
    color: var(--secondary-500);
    font-weight: var(--fnt-bold);
}

.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #FF5A1F;
    width: 36px;
    height: 36px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.prelogin-loader .imgLoader {
    background: #fff;
    padding: 10px;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0px auto;
    z-index: 10100;
    height: 56px;
    width: 56px;
    display: block;
}

.prelogin-loader .loading {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-block;
    border-top: 3px solid #f36f21;
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.prelogin-loader .loading:after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left: 3px solid #0034ac;
    border-bottom: 3px solid transparent;
    animation: rotation 0.5s linear infinite reverse;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.debug-info {
    margin-top: 20px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    text-align: left;
}

#imgEmudhraV2 {
    width: 70%;
}

#docpath {
    width: 165px;
}

.hidden {
    display: none !important;
}

#txtCustomUIButtonColour, #txtCustomUIHeaderColour {
    width: 75px;
    background: #e9ecef;
    cursor: not-allowed;
}

#dynamicContent-columns {
    width: 50px !important;
}

#chkIsGSTN, #chkIsGSTN3B {
    display: none;
}

#txtEmudhraV2Image {
    width: 155px;
}

#div-emudhraV2-signatureAppearance {
    display: none;
}

#lbl-emudhraV2ImageUpload-error {
    color: red;
}

.p-18-180 {
    padding: 18px 180px;
}

.w-50px {
    width: 50px !important;
}

.ems-mh-customizeModal {
    min-height: calc(100vh - 122px);
    max-height: calc(100vh - 122px);
    overflow-y: auto;
}

/*
    ==================== SCROLLBAR ====================
*/

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    cursor: pointer;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.w-scrollbar-lg::-webkit-scrollbar {
    width: 8px;
}

.w-scrollbar-lg::-webkit-scrollbar-track {
    background: var(--Indigo-050);
}

.w-scrollbar-lg::-webkit-scrollbar-thumb {
    background: grey;
}

.mh-uploaded-document-preview {
    min-height: 430px;
    max-height: calc(100vh - 210px);
    overflow-x: auto;
    overflow-y: auto;
}

@media (max-width: 767.98px) {
    .mh-uploaded-document-preview {
        min-height: 300px;
        max-height: calc(100vh - 190px);
    }
}

/* Signature placeholder content base styles */
.signingplaceholder {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-align: left;
}

.signingplaceholder .base64img {
    display: block;
}

/* Placeholder wrapper minimum tap-target size — applies at all viewport widths.
   At desktop scale these values are well below the natural rendered size so they
   have no visual effect there; on mobile at reduced scale they prevent the
   placeholders from becoming too small to see or tap. */
.dragDiv.signaturePlaceholder {
    min-width: 70px !important;
    min-height: 36px !important;
}

.dragDiv.Initials {
    min-width: 40px !important;
    min-height: 36px !important;
}

/* Signature placeholder content — mobile overrides */
@media (max-width: 767.98px) {
    .signingplaceholder {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    .signingplaceholder .base64img {
        flex: 1 1 auto;
        min-height: 0;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .signingplaceholder .signedby-tag,
    .signingplaceholder .bottom-text {
        position: static !important;
        flex-shrink: 0;
        font-size: 0.35rem !important;
        line-height: 1 !important;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

/* Initials placeholder content base styles */
.initialplaceholder {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.initialplaceholder .base64img {
    display: block;
}

/* Initials placeholder content — mobile overrides */
@media (max-width: 767.98px) {
    .initialplaceholder {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    .initialplaceholder .base64img {
        flex: 1 1 auto;
        min-height: 0;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

.h-loginDetails {
    min-height: calc(100vh - 157px);
    max-height: calc(100vh - 157px);
}