:root {
    --xbiz-red-color: #dc3545;
    --xbiz-red-hover-color: #bc161c;
    /* --bar-color: #dc3545; */
    --bar-active-color: #dc3545;
    --color-primary: #dc3545;
    --color-primary-rgb: 32, 162, 47;
    --color-primary-dark: #bc161c;
    --color-primary-light: #f7c1c6;
    --color-white: #ffffff;
    --color-black: 0, 0, 0;
    --color-gray-light: #eeeeee;
    --color-gray-medium: #999999;
    /*--color-primary-rgb: 220, 53, 69;*/
    --color-gradient-start: #5e0372;
    --color-gradient-end: var(--color-primary);
}


body {
    /*font-family: "Roboto Serif", serif;*/
    font-optical-sizing: auto;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.fs-7 {
    font-size: 14px !important;
}

.fs-8 {
    font-size: 13px !important;
}

.fs-10 {
    font-size: 11px !important;
}

.fs-13 {
    font-size: 8px !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.text-italic {
    font-style: italic !important;
}

.fw-600 {
    font-weight: 600 !important;
}

a.btn:focus, .btn:focus {
    outline: 2px solid var(--color-primary) !important;
    background-color: var(--color-primary-dark) !important;
    color: white !important;
}

.badge {
    font-size: 12px !important;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid;
}

.badge.text-bg-red {
    background-color: #ffe5e5 !important;
    color: #dc0f0f !important;
}

.badge.text-bg-green {
    background-color: #e9ffe5 !important;
    color: green;
}

.text-red {
    color: var(--color-primary) !important;
}

.text-white {
    color: var(--color-white) !important;
}

input[type="radio"]:checked {
    accent-color: var(--color-primary);
}

::-webkit-scrollbar {
    width: 0px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888; /* Dark grey thumb */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker thumb on hover */
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    width: 181px;
    background-color: rgba(var(--color-black));
    color: var(--color-white);
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 135%;
    left: 0%;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.accordion-button::after {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cg transform='scale(0.55) translate(2.67, 2.67)'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/g%3e%3c/svg%3e");
}

.dropdown-header:not(.collapsed) {
    background-color: var(--color-primary-dark) !important;
}

#accordionButton:not(.collapsed) {
    color: rgba(var(--color-white));
    background-color: var(--color-primary) !important;
}

/* Popup overlay styling */
.iframe-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.iframe-popup-content {
    background: #fff;
    padding: 0;
    border-radius: 8px;
    width: 100%;
    height: 80vh;
    max-width: 1400px;
    max-height: 700px;
    position: relative;
    box-shadow: 0 4px 32px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

.iframe-close-btn {
    background: #e62e2e;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    position: absolute;
    right: 8px;
    top: 8px;
    cursor: pointer;
    z-index: 10;
}

.popup-iframe {
    flex: 1;
    border: none;
    border-radius: 0 0 8px 8px;
    width: 100%;
    height: 100%;
}

/* Login Page */
.banner {
    background: url("../img/check-image.png") center;
    background-size: cover;
}

    .banner::before {
        position: absolute;
        content: "";
        height: 78%;
        background-color: rgba(var(--color-primary-rgb), 0.59);
        width: 40%;
        z-index: 0;
    }

.banner-content {
    position: relative;
    z-index: 1;
}

.login-form-body {
    box-shadow: 1px 1px 16px -8px;
}

.banner-header img {
    height: 35px;
    max-width: 100%;
}

.logo {
    height: 100px;
}

.img-full {
    max-width: 100%;
    height: 100%;
}

.image-container {
    /*height: 160px;*/
}

div#imageContainer {
    background-color: #f5f5f5;
    padding: 15px 0px;
}

div#imageContainer img {
    box-shadow: 0px 0px 7px 1px grey;
}

.credentials .form-floating input {
    background-color: var(--color-gray-light);
}

.captcha-display {
    border: none;
    text-align: center;
    font-size: 25px;
    font-weight: 300;
    margin: 0;
    height: 50px;
    padding-top: 15px;
    background-color: var(--color-gray-light);
    border-radius: 8px;
    padding: .5rem .75rem;
}

.btn {
    width: 100%;
}

.btn.disabled {
    color: white;
    pointer-events: none;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-custom {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-custom:hover {
  color: #fff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-custom:focus,
.btn-outline-custom:active {
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.btn-outline-custom:disabled,
.btn-outline-custom.disabled {
  color: var(--color-primary);
  background-color: transparent;
  border-color: var(--color-primary);
  opacity: 0.65;
}


.btn-red {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    color: var(--color-white);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-check:checked + .btn {
    background-color: var(--color-primary-dark);
    color: white;
    border-color: var(--color-primary-dark);
}

.btn-check + .btn:hover {
    color: var(--color-white);
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-check:active + .btn-red:focus, .btn-check:checked + .btn-red:focus, .btn-red.active:focus {
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--color-primary) 25%, transparent);
}

    .btn-red:hover,
    .btn-red.active {
        background-color: var(--color-primary-dark);
        color: var(--color-white);
        border: 0;
    }

    .btn-red.active {
        font-weight: 600 !important;
    }

    .btn-red:hover {
        font-weight: 500 !important;
    }

.social-icons .bi {
    font-size: 25px;
    cursor: pointer;
}

    .social-icons .bi:hover {
        /* transform: scaleX(2,2); */
        color: var(--color-primary);
    }

/* Layout Page */

/* Navbar */
.hamburger-icon {
    width: 40px;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    cursor: pointer;
    border: solid 1px var(--color-white);
    padding: 4px 7px;
    border-radius: 7px;
}

    .hamburger-icon div {
        width: 100%;
        height: 3px;
        background-color: var(--color-white);
    }

    .hamburger-icon:hover {
        background-color: var(--color-primary-dark);
    }

nav {
    box-shadow: 0px 0px 10px -4px;
    background-color: var(--color-primary);
}

.fixed {
    position: fixed;
    right: 0%;
    left: 0%;
    top: 0%;
    z-index: 21;
}

.nav-logo {
    height: 33px;
}

.search-bar {
    width: 500px;
    padding-left: 2.2rem !important;
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translate(67%, -45%);
    color: var(--color-gray-medium);
    font-size: 16px;
}

.search-bar:hover {
    box-shadow: 0px 0px 6px 0px inset #b33333;
}

.profile-image {
    width: 150px;
    height: 37px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    color: var(--color-white);
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .profile-image:hover {
        box-shadow: 0px 0px 3px 1px var(--color-white);
    }

    .profile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-color: gainsboro;
    }

#cameraDiv {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(var(--color-black));
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    #cameraDiv img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }

#videoElement {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.main-content {
    margin-top: 64px;
    transition: margin-left 2s ease, width 0.5s ease;
}

.sidenav {
    background-color: var(--color-primary);
    position: fixed;
    height: 93vh;
    top: 56px;
    left: 0%;
    transition: left 0.5s ease;
    z-index: 2;
    overflow: auto;
}

    .sidenav .btn {
        /*border-bottom: solid 2px var(--color-primary-dark);*/
        /*border-radius: 7px !important;*/
        padding: 10px;
        font-weight: normal;
    }

    .sidenav img {
        /*height: 30px;
        width: 39px;*/
        height: 20px;
        width: 26px;
        filter: invert(1);
    }

    .sidenav .side-icons {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        overflow: hidden;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .sidenav .side-icons:hover {
            box-shadow: 0px 0px 0px 2px var(--color-white);
        }

        .sidenav .side-icons img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* background-color: var(--color-white); */
            filter: invert(1);
            padding: 2px;
        }

.profile-card {
    position: absolute;
    right: 0px;
    display: none;
    z-index: 1;
    top: 45px;
}

    .profile-card .card-body span {
        color: #646972;
        font-weight: 500;
    }

    .profile-card .card-body .row {
        cursor: pointer;
    }

        .profile-card .card-body .row:hover {
            background-color: var(--color-gray-light);
        }

    .profile-card .card-body .bi::before {
        font-weight: bolder !important;
    }

div#otp .form-control {
    border: black solid 1px;
}

#otp .input-group input {
    margin: 6px 1px;
    padding: .375rem .5rem;
}

.input-group-append {
    margin: 7px 1px;
}

.form-control:not(#manualNomineesign):not(#panNomineeImg2):not(#nomineeImg2):not(#manualImgdiv):not(#nomineephotoUpload):not(#remark-text):not(#Img11):not(#Img7):not(#Img8):not(#Img1):not([type="file"]):not(#SignImg):not(#formSignContainer):not(#formImgContainer):not(#dlImgDiv):not(#AadharImgDiv):not(#panImgDiv):not(#voterImgDiv):not(#passportImgDiv):not(#manualNomineeImg):not(#claimsDetails):not(#ridersAddons):not(#policyAddress), .input-group-text {
    height: 40px !important;
    font-size: 14px !important;
    min-height: 40px !important;
}

input[type="date"] {
    min-height: 40px !important;
    padding: 0px 13px !important;
}

/* OnBoarding */
.bar {
    --d: 1rem;
    --gap: 0.3rem;
    display: flex;
    margin-right: var(--d);
}

.bar-step {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.6rem var(--d);
    margin-right: calc(var(--d) * -1 + var(--gap));
    background: var(--color-primary-light);
    color: var(--bar-active-color);
    clip-path: polygon(0% 0%, calc(100% - var(--d)) 0%, 100% 50%, calc(100% - var(--d)) 100%, 0% 100%, var(--d) 50%);
}

    .bar-step:first-child {
        clip-path: polygon(0% 0%, calc(100% - var(--d)) 0%, 100% 50%, calc(100% - var(--d)) 100%, 0% 100%);
    }

    .bar-step.active {
        background-color: var(--bar-active-color);
        color: var(--color-white);
    }

.highlight {
    color: var(--color-primary);
    background: linear-gradient(-107deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    transform: skewX(-10deg);
    position: relative;
    display: inline-block;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.5s ease-in-out;
}

.highlight1 {
    color: #f7345e;
    background: linear-gradient(-107deg, var(--color-gradient-start) 0%, #f7345e 100%);
    transform: skewX(-10deg);
    position: relative;
    display: inline-block;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-red {
    background-color: var(--color-primary) !important;
}

.bg-red-light {
    background-color: var(--color-primary-light) !important;
}

.border-red {
    border-color: var(--color-primary) !important;
}

.applicationLogo {
    position: absolute;
    left: 30px;
    height: 36px;
    width: auto;
}

/* Domains */
.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
}

.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height:250px;
}

    .work img {
        width: 100%;
        border-radius: 10px;
        display: block;
        height: 100%;
        transition: transform 0.5s;
    }

    .work p {
        color: var(--color-white);
    }

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(155deg,var(--color-primary) 35%,var(--color-primary-light) 100%);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 4px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

    .layer h2,
    .layer h3 {
        font-weight: 500;
        /* margin-bottom: 20px; */
        color: var(--color-white);
    }

    .layer a {
        color: var(--color-primary);
        margin-top: 0px;
        text-decoration: none;
        font-size: 12px;
        line-height: 37px;
        background: var(--color-white);
        width: 35px;
        height: 35px;
        border-radius: 50%;
        text-align: center;
    }

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
}

.work:focus .layer {
    height: 100%;
}

#dropzone-file,
#dropzone-file .dz-default.dz-message,
.dz-button {
    height: 50%;
    width: 100%;
}

#dropzone-file1,
#dropzone-file1 .dz-default.dz-message,
.dz-button {
    height: 50%;
    width: 100%;
}

.dz-button {
    background: var(--color-gray-light);
    border: dashed 1px;
    border-radius: 7px;
}

.dropzone .dz-preview:hover {
    z-index: 10;
}

.aadhaar-input,
.pan-input,
.passport-input,
.voter-input,
.dl-input,
.mobile-input,
.mobile-input1,
.kyc-input,
.nomineeMobile-input {
    display: flex;
}

    .aadhaar-input input,
    .pan-input input,
    .passport-input input,
    .voter-input input,
    .dl-input input,
    .mobile-input input,
    .mobile-input1 input,
    .kyc-input input,
    .nomineeMobile-input input {
        width: 21px;
        text-align: center;
        height: 23px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 12px;
    }

input[type="checkbox"][readonly] {
    pointer-events: none;
}

.pdfimg {
    height: 115px;
    width: 172px;
    margin-left: 10px;
    margin-top: 5px;
}

.error {
    color: red;
    font-size: 0.9em;
}

.errMsg {
    color:red !important;
}

.swalloder {
    display: none;
    position: fixed;
    z-index: 1001;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-white);
    border: 1px solid #ccc;
    padding: 50px;
    box-shadow: 0 0 10px rgba(var(--color-black), 0.1);
    text-align: center;
}

.loader {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--color-black), 0.5);
    z-index: 1000;
}

.img-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    /* box-shadow: 0 0 11px -6px #080509; */
    background-color: aliceblue;
}

    .img-circle img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0%;
        left: 0;
        padding: 10px;
    }

.productDiv .card {
    background-color: #f2f7ff;
    cursor: pointer;
}

.productDiv .card-header {
    /*  height: 0px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    opacity: 0;
    transition: height 0.2s;*/
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.productDiv .card:hover .card-header {
    /*background-color: var(--color-primary-dark);
    color: var(--color-white);
    height: 25px;
    opacity: 1;*/
}

.productDiv .card-body img,
#productmodal img {
    height: 135px;
    width: 100%;
    padding: 10px;
}

.modal-product-list .card {
    background-color: #f2f7ff;
    padding: 10px;
}

    .modal-product-list .card img {
        background-color: #f2f7ff;
    }

.modal-product-list .col-md-6 {
    border-bottom: solid 4px var(--color-primary-dark);
}

.modal .card-body {
    background-color: var(--color-white);
}

.modal .card {
    border: 0;
}

#xbiz-logo img {
    height: 70px;
}

.plan-body .container {
    box-shadow: 0 0 16px -9px grey;
    border: solid 3px grey;
    border-radius: 10px;
    cursor: pointer;
    background-color: var(--color-gray-light);
    transition: border-color 0.5s;
}

.plan-body .container:focus-visible {
    box-shadow: 0 0 16px -9px green;
    border: solid 3px green;
    background-color: #dfffda;
}

.select-member {
    transition: color 0.5s;
}

.plan-body .container.active {
    border-color: #36b37e;
    box-shadow: 0 0 16px -9px green;
    background-color: #e9ffe3;
}

.plan-body .container-fluid {
    padding: 0 100px;
}

.plan-body img {
    transition: background-color 0.5s;
}

    .plan-body img.active {
        background-color: #33c446;
    }

.select-member.active {
    color: #36b37e;
}

.stretched-link {
    cursor: pointer;
}

.circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: absolute;
    top: 46%;
    cursor: pointer;
}

.arrow {
    width: 12px;
    height: 12px;
    border-left: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.circle:hover {
    transform: scale(1.1);
    background-color: lightgrey;
}

#termplanModal .modal-dialog,
#healthplanModal .modal-dialog,
#productmodal .modal-dialog, #AllPlanModal .modal-dialog, #insurancePolicyFormModal .modal-dialog {
    max-width: 100%;
}

#insurancePolicyFormModal .modal-content {
    max-height: 94vh;
    overflow: hidden;
}

#insurancePolicyFormModal .modal-body {
    overflow: auto;
    outline: none;
}

#insurancePolicyFormModal .modal-header {
    box-shadow: 0px 1px 13px -7px;
}

#insurancePolicyFormModal .modal-footer button {
    height: -webkit-fill-available;
    width: -webkit-fill-available;
}

#insuranceForm .form-control:not(#otherSpecify):not(#policyLapseDate):not(#ridersAddons):not(#waitingPeriod):not(#exclusionSpecify):not(#claimsDetails):not(#fullName):not(#dateOfBirth):not(#policyAddress):not(#phoneNumber):not(#emailAddress), #insuranceForm .form-select {
    background: #f0fff5;
    border: solid green 1px;
}

.carousel-indicators {
    bottom: -38px;
}

    .carousel-indicators [data-bs-target] {
        background-color: rgba(var(--color-black));
    }

.carousel-control-prev,
.carousel-control-next {
    top: auto;
    height: 40px;
    position: relative;
    width: auto;
    opacity: 1;
}

.form-check-input:checked {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.form-check-input:focus {
    border-color: var(--color-primary-dark);
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.swal2-confirm,
.swal2-cancel,
.swal2-html-container,
.swal2-title {
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.all-plans {
    overflow: auto;
}

.view-plan {
    cursor: pointer;
}

.plan-card .card {
    border: 1px solid;
}

.plan-card-content ul {
    list-style: none;
}

p.card-text.text-center {
    font-size: 13px;
}

.message {
    font-size: .875em;
}

/*Verification View*/
.blink {
    font-weight: 400;
    animation: blinker 5s infinite;
    color: var(--color-primary);
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

#verifyTable_wrapper tbody {
    font-weight: 500;
    text-align: center;
}

#verifyTable_wrapper a {
    text-decoration: none;
}

/*-----------------------------*/
#signAddBtn1,
#signAddBtn2,
#photoAddBtn2,
#signAddBtn2,
#signAddBtn,
#photoAddBtn,
#signAddBtn3,
#photoAddBtn3,
#nomineephotoAddBtn,
#nomineeSignAddBtn {
    border: none;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .25rem .5rem;
    cursor: pointer;
    padding-right: 1rem;
    font-weight: 600;
    color: var(--color-white);
    white-space: nowrap;
    border-radius: 6px;
}

#panSlide,
#aadhaarSlide,
#dlSlide,
#voterSlide,
#passportSlide {
    cursor: pointer;
}

#manualImgdiv {
    height: 150px;
    width: 150px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-left: -26px;
}

/*Data Tables*/

#medicalTable tbody tr,
#financeTable tbody tr {
    font-weight: 500;
    text-align: center;
}

#medicalTable a,
#financeTable a {
    text-decoration: none;
}

#userTable_wrapper tbody tr,
#roleTable_wrapper tbody tr {
    /*font-weight: 600;*/
    text-align: center;
}

#userTable_wrapper table.dataTable td.dt-type-numeric,
#roleTable_wrapper table.dataTable td.dt-type-numeric {
    /*font-weight: 600;*/
    text-align: center;
}

.dt-length select,
.dt-length label {
    font-size: 12px;
}

.dt-length label,
.dt-search input {
    margin-left: 8px !important;
}

.dt-search label,
.dt-search input {
    font-size: 12px;
}

.dt-paging {
    font-size: 11px;
}

.dt-info {
    font-size: 11px;
}

.dt-paging nav {
    background-color: var(--color-white);
    box-shadow: 0px 0px 0px 0px;
    font-size: 14px;
}

.context-menu-wrapper {
    justify-content: space-between;
    width: 100%;
}

.newEntry {
    display: table-row !important;
}

.tooltipDiv {
    position: relative;
    display: inline-block;
    transform: scale(0.8);
}

    .tooltipDiv .tooltiptext {
        visibility: hidden;
        width: 140px;
        background-color: #555;
        color: var(--color-white);
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        z-index: 1;
        bottom: 150%;
        left: 50%;
        margin-left: -75px;
        opacity: 0;
        transition: opacity 0.3s;
    }

        .tooltipDiv .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltipDiv:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

.modal-content:not(#claimProcessModalContent) {
    overflow: auto;
    max-height: 80vh;
}

#modalPreviewContent {
    padding: 10px;
    background-color: var(--color-gray-light);
}

.modal-footer button {
    height: 45px;
    width: 200px;
}

#exampleModal .modal-footer button {
    width: 100px !important;
}

.toggler {
    margin-bottom: 0.5rem;
}

.field-label {
    font-weight: bold;
    font-size: 13px;
    font-weight: bold;
    color: rgb(120, 121, 121);
}

.field-value {
    font-size: 15px;
    color: var(--color-primary);
    font-weight: 600;
    overflow-wrap: break-word;
}

.accordion .accordion-item1, .accordion .accordion-item {
    border: 2px solid var(--color-primary);
    margin-bottom: 10px;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.accordion-button:not(.collapsed) {
    color: rgba(var(--color-black));
    background-color: var(--color-primary-light);
}

.card-active {
    box-shadow: 0 4px 16px var(--color-primary);
    border: 2px solid var(--color-primary) !important;
}

@media only screen and (min-width: 768px) and (max-width: 900px) {
    .applicationLogo {
        height: 120px;
    }

    #healthplanModal .modal-dialog,
    #productmodal .modal-dialog, #termplanModal .modal-dialog {
        max-width: 80%;
    }

    #insurancePolicyFormModal .modal-dialog {
        max-width: 65%;
        margin-top: 1em;
    }

    #AllPlanModal .modal-dialog {
        max-width: 40%;
    }

    .img-circle {
        width: 65px;
        height: 65px;
    }

    .btn-medium {
        padding: 0.375rem 0.75rem !important;
        font-size: 1rem !important;
        border-radius: 0.375rem !important;
    }

    .dt-paging {
        font-size: 11px !important;
    }

    .dt-info {
        font-size: 11px !important;
    }

    .dt-length select,
    .dt-length label {
        font-size: 12px !important;
    }

    .dt-search label,
    .dt-search input {
        font-size: 12px !important;
    }

    .popup-content {
        min-width: auto !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1440px) {
    .applicationLogo {
        height: 36px;
    }

    #healthplanModal .modal-dialog,
    #productmodal .modal-dialog, #termplanModal .modal-dialog {
        max-width: 80%;
    }

    #insurancePolicyFormModal .modal-dialog {
        max-width: 65%;
        margin-top: 1em;
    }

    .fs-md-8 {
        font-size: 13px !important;
    }

    #manualImgdiv {
        margin-left: 0px !important;
    }

    .popup-content {
        min-width: 500px !important;
    }
}

@media only screen and (min-width: 769px) {
    .fs-lg-2 {
        font-size: calc(1.325rem + .9vw) !important;
    }

    .fs-lg-3 {
        font-size: 1.75rem !important;
    }

    .fs-lg-4 {
        font-size: calc(1.275rem + .3vw) !important;
    }

    .fs-lg-5 {
        font-size: 1.25rem !important;
    }

    .fs-lg-6 {
        font-size: 1rem !important;
    }

    .fs-lg-7 {
        font-size: 14px !important;
    }

    .fs-lg-8 {
        font-size: 13px !important;
    }

    .btn-medium {
        padding: 0.375rem 0.75rem !important;
        font-size: 1rem !important;
        border-radius: 0.375rem !important;
    }

    .banner-header img {
        height: 50px !important;
    }

    .tooltipDiv {
        transform: scale(1) !important;
        width: 15%;
        z-index: 12;
    }

    #otp .input-group input {
        margin: 0.5rem !important;
    }

    .input-group-append {
        margin: 0.5rem !important;
    }

    .layer a {
        font-size: 18px !important;
        line-height: 60px !important;
        width: 60px !important;
        height: 60px !important;
        margin-top: 20px !important;
    }

    #healthplanModal .modal-dialog, #productmodal .modal-dialog {
        max-width: 80%;
    }

    #insurancePolicyFormModal .modal-dialog {
        max-width: 65%;
        margin-top: 1em;
    }

    #AllPlanModal .modal-dialog {
        max-width: 40%;
    }

    #termplanModal .modal-dialog {
        max-width: 50%;
    }

    #tamperModal .modal-dialog {
        max-width: fit-content;
    }

    .applicationLogo {
        height: 120px;
    }

    #verificationSection {
        margin-left: 176px;
    }

    .dt-paging {
        font-size: 16px !important;
    }

    .dt-info {
        font-size: 13px !important;
    }

    .dt-length select, .dt-length label {
        font-size: 14px !important;
    }

    .dt-search label, .dt-search input {
        font-size: 12px !important;
    }

    .popup-content {
        min-width: 500px !important;
    }

    @media only screen and (max-width:500px) {
        .bar {
            flex-wrap: nowrap; /* Keep items on the same row */
            justify-content: space-around; /* Distribute items horizontally */
        }

        .bar-step {
            flex: none; 
            width: 3.5rem; 
            height: 3.5rem; 
            margin: 0; 
            clip-path: none; 
            border-radius: 50%; 
            background: var(--color-primary-light); /* Default background */
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0; /* Remove padding */
            text-align: center;
            color: var(--bar-active-color); /* Text color */
            font-size: 0.8rem; /* Adjust text size */
        }

            .bar-step.active {
                background-color: var(--bar-active-color);
                color: var(--color-white); /* Active text color */
            }

            .bar-step:first-child {
                clip-path: none;
            }

        .form-control:not(#panNomineeImg2):not(#nomineeImg2):not(#manualImgdiv):not(#nomineephotoUpload):not(#remark-text):not(#Img11):not(#Img7):not(#Img8):not(#Img1):not([type="file"]):not(#SignImg):not(#formSignContainer):not(#formImgContainer):not(#dlImgDiv):not(#AadharImgDiv):not(#panImgDiv):not(#voterImgDiv):not(#passportImgDiv):not(#manualNomineeImg):not(#claimsDetails):not(#ridersAddons):not(#policyAddress):not(#documentTypeDropdown), .input-group-text {
            height: 40px !important;
            font-size: 12px !important;
        }

        .aadhaar-input input, .pan-input input, .passport-input input, .voter-input input, .dl-input input, .mobile-input input, .mobile-input1 input, .kyc-input input, .nomineeMobile-input input {
            width: 16px;
            height: 16px;
        }


    }
}

.chat-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Ensures a perfect circle */
    background-color: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    /* Ensure it does not stretch or get squeezed */
    aspect-ratio: 1 / 1;
    padding: 0;
    /* Adjust positioning */
    /* position: fixed;
    bottom: 20px;
    right: 20px;*/
    margin-left: 955px;
    font-size: 25px;
}


.chat-window {
    position: fixed;
    right: 37px;
    bottom: 79px;
    width: 400px;
    height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    transition: all 0.4s ease-in-out;
}

.chat-header {
    padding: 15px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-buttons {
    display: flex;
    width: 50%;
    justify-content: space-around;
    align-items: center;
}

.header-buttons #aiSwitchCheckChecked {
    height: 15px;
}

.close-button, .resize-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 20px;
}

.chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

/*.user-message {
    margin-left: auto;
    background: #becff6;
    color: black;
    padding: 10px;
    border-radius: 10px 10px 0 10px;
}*/

.bot-message {
    margin-right: auto;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 10px 10px 10px 0;
}

.chat-input {
    padding: 15px 15px 35px 15px;
    border-top: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.message-input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 14px;
}

#mic-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(155deg,var(--color-primary) 35%,var(--color-primary-light) 100%);
    font-size: 38px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 32px rgba(13,110,253,0.13);
    transition: transform 0.2s;
    cursor: pointer;
}

    #mic-btn:active {
        transform: scale(0.96);
    }

.pulse {
    box-shadow: 0 0 0 0 rgba(13,110,253,0.26);
    animation: pulseRing 1.2s infinite cubic-bezier(.45, .31, .83, .75);
}

@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(13,110,253,0.36);
    }

    60% {
        box-shadow: 0 0 0 24px rgba(13,110,253,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(13,110,253,0);
    }
}

.send-button {
    background: linear-gradient(155deg,var(--color-primary) 35%,var(--color-primary-light) 100%);
    color: white;
    border: none;
    width: 38px;
    margin-right: 5px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
}

    .send-button:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

.error-message {
    color: red;
    background: #ffe6e6;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}

/*.typing-indicator {
    padding: 10px;
    background: #f1f1f1;
    display: none;
    margin-top: 15px;
    display: none;
    color: grey;
    font-style: italic;
}*/

.typing-indicator {
    display: flex;
    padding: 10px;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--color-primary); /* red-500 */
    border-radius: 50%;
    animation: bounce 0.6s infinite ease-in-out;
}

    .dot:nth-child(2) {
        animation-delay: -0.2s;
    }

    .dot:nth-child(3) {
        animation-delay: -0.4s;
    }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(-6px);
        opacity: 0.5;
    }
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup Box */
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
    max-width: 1400px;
    min-width: auto;
    margin: 30px auto;
    width: fit-content;
}

/* Title */
.popup-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Description */
.popup-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* Prompt List */
.prompt-list {
    text-align: left;
    margin-bottom: 15px;
    max-height: 400px; /* Adjust height as needed */
    overflow-y: auto; /* Enables vertical scrolling */
    border: 1px solid #ddd; /* Optional: Adds a border for a structured look */
}

.prompt-item {
    display: flex;
    font-size: 13px;
    color: #333;
    background: #f9f9f9;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

    .prompt-item:hover {
        background: #e6f7ff;
    }

/* Buttons */
.popup-buttons {
    display: flex;
    justify-content: space-between;
}

.btn {
/*    padding: 10px 15px;
    border: none;
    border-radius: 5px;*/
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit {
    background: #28a745;
    color: white;
}

    .btn-submit:hover {
        background: #218838;
    }

.btn-cancel {
    background: #dc3545;
    color: white;
}

    .btn-cancel:hover {
        background: #c82333;
    }

/* Fade In Animation */
@keyframes fadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}



#chatContainer, scoreAnalysis {
    width: 100%;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    background: #f9f9f9;
}

.powered-by {
    position: absolute;
    bottom: 6px;
    right: 93px;
    font-size: 10px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.powered-by img {
    height: 12px;
}

.score-card {
    background-color: #fff8e4;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chat-message {
    padding: 10px;
    border-radius: 8px;
    margin: 5px 0;    
    word-wrap: break-word;
}

.user-message {
    background: #dfe9ff;
    color: black;
    align-self: flex-end;
    text-align: right;
    margin-left: auto;
    width:fit-content;
    max-width: 80%;
    padding: 10px;
    border-radius: 10px 10px 0 10px;
}

.ai-message {
/*    background: #f1f4f1;*/
    color: black;
    align-self: flex-start;
    text-align: left;
}

/* FAQ Section (Initially Hidden) */
.faq-section {
    position: absolute;
    right: -100%; /* Hidden initially */
    top: 0;
    width: 60%;
    height: 100%;
    background: white;
    box-shadow: -2px 0px 5px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    /*padding: 15px;*/
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

#menuButton {
    color: var(--color-white);
    background: transparent;
    border: 0;
    font-size: 20px;
    font-weight: 600;
}

#chatButton {
    position: fixed;
    z-index: 1;
    right: 32px;
    bottom: 13px;
}

#menuButton:hover {
    color: var(--color-black) !important;
}

/* FAQ Header with Close Button */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 12px;
    color: var(--color-white);
    background: var(--color-primary);
}

#faqList {
    padding:15px;
    font-size: 14px;
}

.faq-header h3 {
    margin: 0;
    font-size: 18px;
}

/* Cross Button for Closing FAQ */
.faq-close {
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: var(--color-white);
}

.faq-close:hover {
    color: #ff0000;
}

/* FAQ List */
.faq-section ul {
    list-style-type: none;
    padding: 0;
    flex-grow: 1;
}

.faq-section ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    background-color: #fff;
}

.faq-section ul li:hover {
    background: #f1f1f1;
}

/* Show FAQ Section */
.show-faq .faq-section {
    right: 0;
}

.message-chat {
    background-color: white;
    color: #333;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-size: 15px;
    margin-bottom: 70px;
    position: relative;
    max-width: 280px;
    line-height: 1.5;
    transform-origin: bottom right;
    animation: popIn 0.3s ease-out;
    
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff3e3e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

    .close-btn:hover {
        background: #e62e2e;
        transform: scale(1.1);
    }

.wave-emoji {
    display: inline-block;
    animation: wave 1.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Context Menu */

.custom-context-menu {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 8px 0;
}

.custom-context-menu li {
    padding: 6px 12px;
    transition: background-color 0.2s;
}

.custom-context-menu li:hover {
    background-color: #f5f5f5;
}

.custom-context-menu a {
    display: block;
    padding: 4px 8px;
}

.bi-three-dots-vertical {
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.bi-three-dots-vertical:hover {
    background-color: rgba(0,0,0,0.05);
    cursor: pointer;
}

.chat-messages::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 100px;
    background: url(/assets/img/chat-background.jpg) repeat;
    filter: opacity(0.1);
    z-index: -1;
    opacity: 1;
    background-size: contain;
}

/* Report UI */

.nav-tabs {
    font-size: 13px;
    background: #ededed;
    width: fit-content;
    padding: 3px;
}

.document-tabs-header, #tabContainer0 {
    border-bottom: solid #cecdcd 1px;
    padding: 18px 10px 14px 10px;
}

.document-tabs-header li.nav-item, .document-nested-tabs li.nav-item, #docTypeDiv li.nav-item, #documentTabs li.nav-item, #document-content-0 .tab-links {
    background: #ededed;
    border-radius: 5px;
}

    .document-tabs-header .nav-link, .document-nested-tabs .nav-link, #docTypeDiv .nav-link, #documentTabs .nav-link, #documentTabContent .nav-link, #tabContainer .tablinks1, #docTabNav .nav-link {
        color: #71717a;
        font-weight: 500;
        padding: 5px 16px;
    }

        .document-tabs-header .nav-link.active, .document-nested-tabs .nav-link.active, #docTypeDiv .nav-link.active, #documentTabs .nav-link.active, #documentTabContent .nav-link.active, #tabContainer .tablinks1.active, #docTabNav .nav-link.active {
            background-color: black;
            color: white;
            border-radius: 5px;
        }

        .document-tabs-header .nav-link.active:focus, .document-nested-tabs .nav-link.active:focus, #docTypeDiv .nav-link.active:focus, #documentTabs .nav-link.active:focus, #documentTabContent .nav-link.active:focus, #tabContainer .tablinks1.active:focus {
            background-color: black;
            color: white;
            box-shadow: 0px 0px 0px 0px;
        }