@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-size: 14px;
}

/* Content area background (soft neutral) */
.content-wrapper,
.content-header,
.content-wrapper > .content {
    background-color: #f6f7f9 !important;
}

/* hidden the state mapping page */
/* #li-statemaster {
    display: none !important;
} */

/* Custom CSS to align "No Data Available" message to the left */
.no-data-left {
    text-align: left !important;
    margin-left: 450px !important;
    /* padding: 0 !important; */
}

.select_lob {
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #23272F;
    background-color: #F8F9FB;
    background-clip: padding-box;
    border: 1px solid #E0E3E8;
    border-radius: 0.25rem;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

tfoot input {
    width: 100%;
    padding: 3px;
    #kpiTabs {
        border-bottom: 0;
        background: transparent;
        padding-left: 0;
        margin-bottom: 0;
        gap: 1.5rem;
    }

    #kpiTabs .nav-link {
        color: #6c757d !important;
        font-weight: 500;
        font-size: 0.98rem;
        padding: 0.4rem 1.1rem;
        background: transparent;
        border: 0;
        border-bottom: 2px solid transparent;
    }

    #kpiTabs .nav-link.active {
        color: #2DA4A9 !important;
        border-bottom: 2px solid #2DA4A9;
        background: transparent;
        font-weight: 600;
    }

    #kpiTabs .nav-link:hover:not(.active) {
        color: #2DA4A9 !important;
        border-bottom: 2px solid #b2e6e8;
    }
    box-sizing: border-box;
}

#search-input-dt {
    width: 100%;
    height: calc(1.8125rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    /* border-radius: 0.2rem; */
    border: 1px solid #ced4da;
}

/* Login Page Custom Styles (moved from inline) */
#login-col-div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #fff;
}
.login-form-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}
.login-form-box {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}
.login-title {
    margin-top: 5rem !important;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
}
.login-box-msg {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: left;
}
.login-input-group {
    margin-bottom: 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}
.login-input-group .input-group-text {
    background: #fff;
    border: none;
    padding: 10px 12px;
}
.login-input-group .form-control {
    border: none;
    padding: 10px 0;
    box-shadow: none;
    font-size: 0.95rem;
}
.login-icon {
    color: #757575;
}
.login-checkbox-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
#terms-checkbox {
    margin-right: 7px;
    width: 16px;
    height: 16px;
    accent-color: #2DA4A9;
}
#terms-checkbox-span {
    font-size: 0.9rem;
    color: #1f3e62;
}
#terms-checkbox-span a {
    color: #2DA4A9;
    font-weight: 500;
    text-decoration: none;
}
#signin-btn {
    width: 100%;
    background: #2DA4A9;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    margin-bottom: 20px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: #fff;
}
#loading-btn {
    font-size: 1.2em;
    vertical-align: middle;
}
.login-footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.login-footer-links a {
    color: #2DA4A9;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

#forgotpasswordlink,
.terms,
#terms-checkbox-span a {
    color: #2DA4A9 !important;
}

/* Sidebar - Menu */
aside.main-sidebar.sidebar-dark-primary.elevation-4 {
    background-color: #ffffff !important; /* Sidebar background */

    /* overflow-x: hidden; */
    /* Hide scrollbar for sidebar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

aside.main-sidebar.sidebar-dark-primary.elevation-4::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Align sidebar text and chevron properly */

.nav-sidebar .nav-link p {
    display: flex;
    align-items: center;
    margin: 0;
    width: 100%;
}


/* sidebar */
.nav-sidebar .nav-link {
    color: #3a4856 !important; /* Default text color */
    border-radius: 8px;
    margin-bottom: 4px;
    font-size: 15px;
    /* padding: 10px 20px; */
    display: flex;
    align-items: center;
    background: none;
}

.nav-sidebar .nav-link.active {
    color: #ffffff !important;
    background-color: #2DA4A9 !important;
    border-radius: 8px !important;  
}

.nav-sidebar .nav-link:hover:not(.active) {
    background-color: #e6f7fa !important;  /* ✅ light shade */
    color: #2DA4A9 !important;
}

.nav-sidebar .nav-icon {
    margin-right: 12px;
    font-size: 15px;
    color: #6b7280 !important; /* Icon color */
    transition: color 0.2s;
}

/* Hover icon */
.nav-sidebar .nav-link:hover:not(.active) .nav-icon {
    color: #2DA4A9 !important;
}

/* Active icon */
.nav-sidebar .nav-link.active .nav-icon {
    color: #ffffff !important;   /* white icon on teal bg */
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link {
    padding-left: 36px;
    font-size: 15px;
    color: #3a4856 !important;
    background: none;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link.active {
    color: #2DA4A9 !important;
    background: #FFFFFF !important;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link:hover:not(.active) {
    background: #FFFFFF !important;
    color: #2DA4A9 !important;
}

/* When sidebar is collapsed, remove padding */
body.sidebar-collapse .nav-sidebar .nav-treeview {
    padding-left: 0;
}
 
body.sidebar-collapse .nav-sidebar .nav-treeview > .nav-item > .nav-link {
    padding-left: 15px; /* optional: minimal padding to keep alignment */
}


[class*=sidebar-dark] .btn-sidebar,
[class*=sidebar-dark] .form-control-sidebar {
    background-color: #fff;
    border: 1px solid #fff;
    color: #000;
}

[class*="sidebar-dark"] .brand-link {
    border-bottom: 1px solid #2DA4A9;
}
/* Enable scroll but hide scrollbar */
.main-sidebar .sidebar {
    overflow-y: auto;          /* Allow vertical scroll */
    scrollbar-width: none;     /* Firefox */
    -ms-overflow-style: none;  /* IE & Edge */
}

/* Chrome, Safari, Opera */
.main-sidebar .sidebar::-webkit-scrollbar {
    width: 0px;
    display: none;
}

/* Sidebar sub-menu and sub-sub-menu highlight fix */
/* .nav-sidebar .nav-treeview > .nav-item > .nav-link.active,
.nav-sidebar .nav-treeview > .nav-item > .nav-link:focus,
.nav-sidebar .nav-treeview > .nav-item > .nav-link:hover {
    color: #ffffff !important;
    background: #2DA4A9 !important;
    border-radius: 8px !important;
    font-weight: 600;
}
 */
/* For deeper submenus (sub-sub-menu) */
/* .nav-sidebar .nav-treeview .nav-treeview > .nav-item > .nav-link.active,
.nav-sidebar .nav-treeview .nav-treeview > .nav-item > .nav-link:focus,
.nav-sidebar .nav-treeview .nav-treeview > .nav-item > .nav-link:hover {
    color: #2DA4A9 !important;
    background: #e6f7fa !important;
    border-radius: 8px !important;
    font-weight: 600;
}
 */
/* ---------------- SUBMENU ---------------- */

/* Active → Dark */
.nav-sidebar .nav-treeview > .nav-item > .nav-link.active {
    background: #2DA4A9 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

/* Hover → Light (only if NOT active) */
.nav-sidebar .nav-treeview > .nav-item > .nav-link:hover:not(.active) {
    background: #e6f7fa !important;
    color: #2DA4A9 !important;
    border-radius: 8px !important;
}

/* Active icon white */
.nav-sidebar .nav-treeview > .nav-item > .nav-link.active .nav-icon {
    color: #ffffff !important;
}


/* ---------------- SUB-SUBMENU ---------------- */

/* Active → Dark */
.nav-sidebar .nav-treeview .nav-treeview > .nav-item > .nav-link.active {
    background: #2DA4A9 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

/* Hover → Light */
.nav-sidebar .nav-treeview .nav-treeview > .nav-item > .nav-link:hover:not(.active) {
    background: #e6f7fa !important;
    color: #2DA4A9 !important;
}

/* Active icon white */
.nav-sidebar .nav-treeview .nav-treeview > .nav-item > .nav-link.active .nav-icon {
    color: #ffffff !important;
}

/* CSS */
#updateBtn {
    appearance: none;
    background-color: #2DA4A9;
    border: 1px solid #2DA4A9;
    border-radius: 20px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    padding: 5px 20px;
    text-align: center;
}

#updateBtn:disabled {
    pointer-events: none;
}

#updateBtn:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
}

#updateBtn:active {
    box-shadow: none;
    transform: translateY(0);
}

span.badge-class {
    padding: 6px 14px;
    border-radius: 6px;
    background: #E6F0FF;
    color: #2DA4A9;
    font-weight: 500;
}

/* li.nav-item-dashboard {
    padding: 5px;
} */

div.dataTables_wrapper div.dataTables_filter input {
    margin-left: .5em;
    display: inline-block;
    width: auto;
    border-radius: 10px;
}

li.nav-item-dashboard a {
    text-decoration: none;
    color: #000;
    /* pointer-events: none; */
    cursor: default;
}

li.nav-item-dashboard a:hover {
    color: #000;
}

#dasboard-card {
    height: 370px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

#upload-export-div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#report-links {
    cursor: pointer;
    color: black;
}

#report-links:hover {
    color: #007bff;
}

#filter-label {
    font-size: 15px;
}

#caterory-col {
    display: flex;
}

/* Confirm Checkbox */

.checkbox-wrapper-39 *,
.checkbox-wrapper-39 *::before,
.checkbox-wrapper-39 *::after {
    box-sizing: border-box;
}

.checkbox-wrapper-39 label {
    display: block;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.checkbox-wrapper-39 input {
    visibility: hidden;
    display: none;
}

.checkbox-wrapper-39 input:checked~.checkbox {
    transform: rotate(45deg);
    width: 14px;
    margin-left: 12px;
    border-color: #24c78e;
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 0;
}

.checkbox-wrapper-39 .checkbox {
    display: block;
    width: inherit;
    height: inherit;
    border: 2px solid #434343;
    border-radius: 6px;
    transition: all 0.375s;
}

/* Scroll */
*::-webkit-scrollbar {
    width: 12px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 100px;
}

*::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 100px;
}

/* Loader */

.clock {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 0.2s;
}

.clock:before,
.clock:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 3px solid;
}

.clock:before {
    --deg: 360deg;
    height: 110px;
    width: 110px;
    border-color: #f5f5f5 transparent transparent;
    animation: spin 2s infinite linear;
}

.clock:after {
    --deg: -360deg;
    height: 90px;
    width: 90px;
    border-color: transparent transparent #fafafa;
    animation: spin 1500ms infinite linear;
}

.clock #loadermsg1 {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%);
    color: white;
}

.clock #loadermsg2 {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%);
    color: white;
}

.pointers {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border: 5px solid #fafafa;
    border-radius: 50%;
}

.pointers:before,
.pointers:after {
    content: "";
    position: absolute;
    border: 2px solid;
    z-index: -1;
    transform-origin: 2px 0;
}

.pointers:before {
    height: 40px;
    border-color: #554ce4;
    animation: spin 1s infinite linear;
}

.pointers:after {
    height: 25px;
    border-color: #665df5;
    animation: spin 6s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(var(--deg, 360deg));
    }
}

#overlay {
    position: fixed;
    /* Sit on top of the page content */
    display: none;
    /* Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    z-index: 2;
    /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer;
    /* Add a pointer on hover */
}

/*-------------vertical-tree-view------------*/
/* .vertical-tree {
    padding-top: 40px;
    padding-bottom: 40px;
} */

/* .vertical-tree ul {
    padding-left: 30px;
} */

.vertical-tree li {
    margin: 0px 0;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0px 5px;
}

.vertical-tree li::before {
    content: '';
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    right: auto;
    left: -20px;
    border-left: 2px solid #ccc;
    bottom: 50px;
}

.vertical-tree li::after {
    content: '';
    position: absolute;
    top: 34px;
    width: 25px;
    height: 20px;
    right: auto;
    left: -20px;
    border-top: 2px solid #ccc;
}

.vertical-tree li a {
    display: inline-block;
    padding: 8px 30px;
    text-decoration: none;
    /* background-color: #e1eafc;
    color: #5a8dee;
    border: 1px solid #e1eafc; */
    background-color: #e1e4fc;
    color: #5859b0;
    border: 1px solid #e1e4fc;
    font-size: 13px;
    border-radius: 4px;
}

.vertical-tree>ul>li::before,
.vertical-tree>ul>li::after {
    border: 0;
}

.vertical-tree li:last-child::before {
    height: 34px;
}

.vertical-tree li a:hover,
.vertical-tree li a:hover+ul li a {
    background-color: #5859b0;
    color: #fff;
    border: 1px solid #5859b0;
}

.vertical-tree li a:hover+ul li::after,
.vertical-tree li a:hover+ul li::before,
.vertical-tree li a:hover+ul::before,
.vertical-tree li a:hover+ul ul::before {
    border-color: #fbba00;
}

/* Media Queries */
/* @media screen and (max-width: 360px) { */
@media (min-width: 360px) and (max-width: 640px) {
    .clock #loadermsg1 {
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%);
        color: white;
    }

    .clock #loadermsg2 {
        position: absolute;
        top: 58%;
        left: 50%;
        transform: translate(-50%);
        color: white;
    }

    #login-image {
        display: none;
    }
}

/* Switch Left Right report page
==========================*/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2DA4A9;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2DA4A9;
}

input:checked+.slider:before {
    -webkit-transform: translateX(35px);
    -ms-transform: translateX(35px);
    transform: translateX(35px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

#monthyearspannote {
    font-family: "Font Awesome 5 Free";
    /* content: "\f274"; */
    background-color: #f0f7fb;
    border-left: solid 4px #3498db;
    line-height: 18px;
    overflow: hidden;
    padding: 7px 16px;
}

.processing-box {
    background-color: #f0f7fb;
    border-left: solid 4px #191717;   
    line-height: 18px;
    overflow: hidden;
    padding: 7px 10px;
    display: inline-block;
    border-radius: 4px;
}


#terms-checkbox-span,
#forgotpasswordlink {
    font-size: 14px;
}

/* User Management */

#approve,
#unapprove,
#user-edit {
    font-size: 20px;
    cursor: pointer;
}

/* YES NO Toggle Switch */
/* #checkcross {
    height: 40px;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 40px;
}

.toggle-wrapper {
    flex: 1 1 calc(100% / 3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;

    @media (max-width: 960px) {
        flex: 1 1 calc(100% / 2);
    }

    @media (max-width: 700px) {
        flex: 1 1 100%;
    }
}

.toggle {
    position: relative;
    display: inline-block;
}

label.toggle-item {
    width: 7em;
    background: #2e394d;
    height: 3em;
    display: inline-block;
    border-radius: 50px;
    margin: 40px;
    position: relative;
    transition: all .3s ease;
    transform-origin: 20% center;
    cursor: pointer;

    &:before {
        display: block;
        transition: all .2s ease;
        width: 2.3em;
        height: 2.3em;
        top: .25em;
        left: .25em;
        border-radius: 2em;
        border: 2px solid #88cf8f;
        transition: .3s ease;
    }
}

.checkcross {
    label:before {
        content: none;
    }

    .check {
        border-radius: 50%;
        width: 2.5em;
        height: 2.5em;
        position: absolute;
        background: #8BC34A;
        transition: .4s ease;
        top: 4.5px;
        left: 4.5px;

        &:before,
        &:after {
            height: 4px;
            border-radius: 10px;
            background: #fff;
            transition: .4s ease;
        }

        &:before {
            width: 25px;
            transform: rotate(-45deg) translate(-6px, 20px);
        }

        &:after {
            width: 10px;
            transform: rotate(45deg) translate(20px, 11px);
        }
    }
}

#checkcross:checked+label {
    .check {
        left: 68px;
        transform: rotate(360deg);
        background: #c34a4a;

        &:before {
            width: 27px;
            transform: rotate(-45deg) translate(-8px, 18px);

        }

        &:after {
            width: 27px;
            transform: rotate(45deg) translate(18px, 8px);
        }
    }
} */

/* YES NO Toggle Switch */
#checkcross {
    height: 40px;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 40px;
}

.toggle-wrapper {
    flex: 1 1 calc(100% / 3);
    /* min-height: 50vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

@media (max-width: 960px) {
    .toggle-wrapper {
        flex: 1 1 calc(100% / 2);
    }
}

@media (max-width: 700px) {
    .toggle-wrapper {
        flex: 1 1 100%;
    }
}

.toggle {
    position: relative;
    display: inline-block;
}

label.toggle-item {
    width: 3em;
    background: #2e394d;
    height: 1.5em;
    display: inline-block;
    border-radius: 50px;
    /* margin: 40px; */
    position: relative;
    transition: all 0.3s ease;
    transform-origin: 20% center;
    cursor: pointer;
}

label.toggle-item:before {
    display: block;
    transition: all 0.2s ease;
    width: 2.3em;
    height: 2.3em;
    top: 0.25em;
    left: 0.25em;
    border-radius: 2em;
    border: 2px solid #88cf8f;
    content: "";
}

.checkcross label:before {
    content: none;
}

.checkcross .check {
    border-radius: 50%;
    width: 1em;
    height: 1em;
    position: absolute;
    background: #8BC34A;
    transition: 0.4s ease;
    top: 4.5px;
    left: 4.5px;
}

.checkcross .check:before,
.checkcross .check:after {
    height: 4px;
    border-radius: 10px;
    background: #fff;
    transition: 0.4s ease;
    content: "";
}

.checkcross .check:before {
    width: 10px;
    /* Adjusted width to match the new size */
    transform: rotate(-45deg) translate(-2px, 8px);
    /* Adjusted transform */
}

.checkcross .check:after {
    width: 4px;
    /* Adjusted width to match the new size */
    transform: rotate(45deg) translate(8px, 4px);
    /* Adjusted transform */
}

#checkcross:checked+label.toggle-item .check {
    left: 27px;
    /* left: 68px; */
    transform: rotate(360deg);
    background: #c34a4a;
}

#checkcross:checked+label.toggle-item .check:before {
    width: 13px;
    /* Adjusted width to match the new size */
    transform: rotate(-45deg) translate(-4px, 9px);
    /* Adjusted transform */
}

#checkcross:checked+label.toggle-item .check:after {
    width: 13px;
    /* Adjusted width to match the new size */
    transform: rotate(45deg) translate(9px, 4px);
    /* Adjusted transform */
}

/* OTP input styles */
.otp-container {
    display: flex;
    justify-content: center;
    /* margin-top: 20px; */
}

.otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.otp-input:focus {
    border-color: #007bff;
}

.mail-img {
    width: 390px;
    height: auto;   /* instead of fixed 568px */
    max-height: 500px;
    margin-left: 50px;
    margin-top: 30px;
}

#card-row {
    height: 410px;
}

.col-card .card-login {
    height: 510px;
    width: 500px;
    border-radius: 15px;
}


.input-group .span-ctrl {
    margin-bottom: 10px;
}

.input-group .mail-input-ctrl {
    height: 50px;
    margin-bottom: 10px;
}

#kpidetails {
    height: 105%;
}

#kpidetails .inner.text-white {
    height: 77%;
}

#kpidetails .overlay {
    opacity: 0;
}

#kpidetails .overlay:hover {
    opacity: 0.8;
    background-color: rgba(255, 255, 255, .7);
    transition: .5s ease-in-out;
}

#kpidetails .overlay:hover .btn {
    opacity: 1;
    font-weight: bold;
}

#kpidetails .overlay .btn {
    opacity: 0;
}

.loader-invalid {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    position: absolute;
    top: 20%;
    left: 45%;
    transform: translate(-50%, -50%);
    animation: rotate 1s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-invalid-p {
    position: absolute;
    top: 63%;
    left: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: gray;
}

.loader-invalid::before,
.loader-invalid::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #eea792;
    animation: prixClipFix 2s linear infinite;
}

.loader-invalid::after {
    transform: rotate3d(90, 90, 0, 180deg);
    border-color: #FF3D00;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes prixClipFix {
    0% {
        clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)
    }

    50% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)
    }

    75%,
    100% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)
    }
}

/* .export-div {
    display: flex;
    justify-content: flex-end;
} */


#login-col-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tooltip-inner {
    max-width: 300px !important;
    white-space: pre-line !important;
}

@media screen and (max-width: 480px) {

    html,
    body {
        height: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #img-col-div {
        display: none;
    }

    #login-col-div {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        /* Add any additional styling you need here */
    }
}

/* style for refresh button */
.refresh-button {
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;  
    color: #4A4A4A;               
    border: 1px solid #4A4A4A; 
    transition: none;
}

.refresh-button:hover {
    background-color: #f2f2f2;    
    color: #4A4A4A;
    border: 1px solid #4A4A4A;
}

/* Outline Add Button scheduler */
.outline-btn {
    border-radius: 20px;
    background-color: transparent;
    color: #2DA4A9;
    border: 1px solid #2DA4A9;
    transition: 0.2s ease-in-out;
}

.outline-btn:hover {
    background-color: #e6f7fa;  
    color: #2DA4A9;
    border: 1px solid #2DA4A9;
}

/* style for reload button */
.reload-button {
    border-radius: 20px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    background-color: transparent;  
    color: #4A4A4A;               
    border: 1px solid #4A4A4A; 
    transition: none;
}

.reload-button:hover {
    background-color: #f2f2f2;    
    color: #4A4A4A;
    border: 1px solid #4A4A4A;
}

/* style for refresh button scheduler */
.refresh-btn {
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;  
    color: #4A4A4A;               
    border: 1px solid #4A4A4A; 
    transition: none;
}

.refresh-btn:hover {
    background-color: #f2f2f2;    
    color: #4A4A4A;
    border: 1px solid #4A4A4A;
}

/* style for pagination */
.page-link {
    color: #2DA4A9;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #2DA4A9;
    border-color: #2DA4A9;
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(77, 101, 144, 0.25);
}

/* for lob upload, channel upload, product upload, state upload, report upload, exceptionreport upload, usermngt save, iib upload */
.save-btn {
    background-color: #2DA4A9;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}
.save-btn:hover {
    background-color: #2DA4A9;
    color: #fff;
}

/* for footer predoole link */
#link {
    color: #2DA4A9;
    text-decoration: none;
    background-color: transparent;
}

/* Custom Style for Horizontal Tabs iib and both action points */
.nav-tabs .nav-link {
    color: #b0b0b0 !important;
    font-weight: 600;
    font-size: 1rem;
    background: #ffffff;
    border: none;
    /* border-bottom: 3px solid transparent; */
}

.nav-tabs .nav-link.active {
    color: #2DA4A9 !important;
    border-bottom: 3px solid #2DA4A9;
    background: #ffffff;

}

.nav-tabs .nav-link:hover:not(.active) {
    color: #b0b0b0 !important;
    background: #ffffff;
    /* border-bottom: 3px solid #b2e6e8; */
}

.nav-tabs {
    display: flex;
    justify-content: flex-start;
    background: #ffffff;
}

/* multiple dropdown selection color in user mngt reports selections */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #2DA4A9;
    border-color: #2DA4A9;
    color: #fff;
}

/* adjusting kpi height */
.card-kpi {
    height: 90%;
}

@media (min-width: 360px) and (max-width: 640px) {

    html,
    body {
        height: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #img-col-div {
        display: none;
    }

    #login-col-div {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        /* Add any additional styling you need here */
    }
}

@media (min-width: 481px) and (max-width: 767px) {

    html,
    body {
        height: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* #img-col-div {
        display: none;
    } */

    #login-col-div {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        /* Add any additional styling you need here */
    }
}
.dt-length {
    display: none !important;
}

.dt-search input {
    border-radius: 10px !important;
}

button.close span {
    font-size: 1.5rem !important; /* or try 20px if you prefer px */
}

.main-footer {
    color: #2DA4A9 !important;
} 

.main-footer a {
    color: #2DA4A9 !important;
}

/* Kadac custom horizontal rule */
.kadac-hr {
    border: none;
    border-top: 2.5px solid #2DA4A9;
    width: 100%;
    margin: 16px auto 16px auto;
    border-radius: 2px;
    opacity: 1;
    background: none;
    height: 0;
}


/* Select2 container border radius */
.select2-container--default .select2-selection--single {
    border-radius: 8px !important;
    
}
/* table look code */
.kadac-table {
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d0d5dd; 
}
/* Remove DataTables default header border */
table.dataTable thead th {
    border-bottom: 1px solid #f1f3f6 !important;
}

.kadac-table tbody td {
    border-right: 1px solid #f1f3f6;
    border-bottom: 1px solid #f1f3f6; 
}
.kadac-table thead th {
    background: #e8e8e8;
    border-bottom: 1px solid #f1f3f6;
    border-right: 1px solid #f1f3f6;   /*ADD THIS */
}
/* Remove extra right border on last column */
.kadac-table thead th:last-child {
    border-right: none;
}

.kadac-table thead tr th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 0 !important;
}

.kadac-table thead tr th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 0 !important;
}

.kadac-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
    border-top-left-radius: 0 !important;
}

.kadac-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
    border-top-right-radius: 0 !important;
}

/* Fix DataTables FixedColumns z-index and background for proper overlay */
.kadac-table .dtfc-fixed-start,
.kadac-table .dtfc-fixed-end {
    z-index: 4 !important;
    background: #fff !important;
}

/* upload n download btn for template, master, master download*/
.btn-upload-template {
    border: 1.5px solid #1FC16B;
    background-color: #e8f9f0;
    color: #1FC16B;
    border-radius: 8px;
    font-weight: 600;
}

.btn-upload-template:hover {
    background-color: #d2f3e2;
    color: #1FC16B;
}

.btn-download-template {
    border: 1.5px solid #1F3E62;
    background-color: #e8ecf4;
    color: #1F3E62;
    border-radius: 8px;
    font-weight: 600;
}

.btn-download-template:hover:not(:disabled) {
    background-color: #d7dfeb;
    color: #1F3E62;
}

.btn-download-template:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* close btn */
.close-btn {
    background-color: #6c757d;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}
.close-btn:hover {
    background-color: #6c757d;
    color: #fff;
}

/* test mail button */
.outline-test-btn {
    background-color: transparent;
    color: #2DA4A9;
    border: 1px solid #2DA4A9;
    transition: 0.2s ease-in-out;
}

.outline-test-btn:hover {
    background-color: #e6f7fa;  
    color: #2DA4A9;
    border: 1px solid #2DA4A9;
}
