@charset "UTF-8";
/* RESET */
:root {
    --theme: #016F2C; /* default */
}

* {
    box-sizing: border-box;
}

html, body, #app {
    height: 100%;
}

body {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: #f3f6f8;
    color: #333F49;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

/* APP LAYOUT */
.app {
    display: flex;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e5ebef; /* lighten(#dfe6ea, 3%) */
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: width 0.28s ease, box-shadow 0.28s;
    box-shadow: none;
    height: 100vh;
    /* max-height: 100vh; */
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 999;
}

    .sidebar.collapsed {
        width: 72px;
    }

        .sidebar.collapsed .brand-text {
            display: none;
        }

        .sidebar.collapsed .nav-label {
            display: none;
        }

        .sidebar.collapsed .sidebar-toggle {
            transform: rotate(180deg);
        }

        .sidebar.collapsed .submenu {
            display: none !important;
        }

    .sidebar:not(.collapsed) {
        box-shadow: 0 6px 14px rgba(45, 55, 66, 0.06);
    }

.nav-item.open .submenu li a span i {
    font-size: 18px;
    vertical-align: middle;
}

.dropdown-menus:hover .dropdown-menus-content {
    display: block;
}

/* Hover popup for collapsed mode only */
.sidebar.collapsed .dropdown-menus:hover .dropdown-menus-content {
    display: block !important;
    z-index: 10000000000000000000;
    position: fixed;
    margin-top: 0px !important;
    padding-top: 0px !important;
    margin: 0px 0px 0px 10px;
}

/* Popup style */
.dropdown-menus-content {
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    padding: 6px 0;
    z-index: 9999;
    display: none;
}

    .dropdown-menus-content a {
        padding: 10px 16px;
        display: block;
        white-space: nowrap;
    }

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .brand .brand-icon {
        width: 35px;
        height: 35px;
        border-radius: 10px;
        background: linear-gradient(180deg, #4fb1ff, #3a94ff);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
    }

    .brand .title {
        font-weight: 600;
        color: #222b33;
        font-size: 14px;
    }

.nav-item,
.logout-btn,
.nav-button {
    position: relative;
}

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e8f2ff;
    padding-bottom: 5px;
}

.sidebar-toggle {
    border: none;
    background: #2196f3;
    width: 28px;
    height: 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    color: #fff !important;
}

    .sidebar-toggle i {
        font-size: 15px;
        color: #fff;
    }

.sidebar.collapsed .sidebar-toggle {
    margin-left: 4px;
    z-index: 9999999999;
    position: fixed;
    left: 52px;
    top: 40px;
}

.sidebar.collapsed .nav-button .chev {
    display: none;
}

/* Tooltip for collapsed mode */
.sidebar.collapsed .nav-button:hover::after,
.sidebar.collapsed .logout-btn:hover::after {
    content: attr(data-label);
    position: absolute;
    left: 78px;
    background: #333F49;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 2000;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

/* Horizontal scrollbar height */
::-webkit-scrollbar {
    height: 4px; /* reduce horizontal height */
    width: 5px; /* vertical scrollbar width */
    margin-right: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #fff;
}

/* Thumb */
::-webkit-scrollbar-thumb {
    background: #e8f2ff;
    border-radius: 10px;
    height: 5px !important; /* short scrollbar thumb */
    min-height: 5px !important; /* force small size */
}

    /* Hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #d8e8ff;
    }

.sidebar-nav {
    margin-top: 0px;
    overflow-x: hidden;
}

    .sidebar-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .sidebar-nav .nav-item {
        width: 100%;
    }

    .sidebar-nav .nav-button {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 5px;
        border: none;
        background: transparent;
        padding: 8px 4px;
        border-radius: 8px;
        cursor: pointer;
        text-align: left;
        color: #2b353e; /* darken(#333F49,4%) */
        /* lighten(#dfe6ea,6%) */
    }

        .sidebar-nav .nav-button:hover {
            background: #E9F5FE;
            color: #2196F3;
            font-weight: 600;
        }

        .sidebar-nav .nav-button i {
            font-size: 18px;
            width: 28px;
            text-align: center;
            color: #333F49;
        }

        .sidebar-nav .nav-button:hover i {
            color: #2196F3;
        }

        .sidebar-nav .nav-button .nav-label {
            font-size: 13px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-family: "Poppins";
        }

        .sidebar-nav .nav-button .chev {
            margin-left: auto;
            font-size: 18px;
            color: #98a6b2;
            transition: transform 0.18s;
        }

    .sidebar-nav .submenu {
        margin-left: 25px;
        margin-top: 0px;
        padding-left: 5px;
        display: none;
    }

        .sidebar-nav .submenu li {
            margin: 0px 0;
        }

            .sidebar-nav .submenu li a {
                display: block;
                color: #3f5566;
                text-decoration: none;
                font-size: 12px;
                padding: 5px 6px;
                border-radius: 6px;
                /* lighten(#dfe6ea,8%) */
            }

                .sidebar-nav .submenu li a:hover {
                    color: #2196F3;
                }

.nav-item .has-submenu .open {
    background: #E9F5FE;
}

.open .nav-button {
    background: #E9F5FE;
    color: var(--theme);
    font-weight: 600;
}

    .open .nav-button i {
        color: var(--theme);
    }

.sidebar-nav .submenu li a:hover {
    font-weight: 600;
}

.nav-spacer {
    flex: 1;
}

.logout-btn {
    background: #e8f2ff;
    border: none;
    padding: 8px 5px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: #2196F3;
    font-size: 12px;
    font-family: "Poppins" !important;
    text-decoration: none;
}

    .logout-btn i {
        font-size: 14px;
        width: 28px;
        text-align: center;
    }

    .logout-btn:hover {
        background: #2196F3;
        color: #fff;
    }

/* MAIN */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 55px;
}

/* TOPBAR */
.topbar {
    position: fixed;
    top: 0;
    /* left: 0; */
    /* right: 0; */
    width: -webkit-fill-available;
    z-index: 99;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 28px;
    gap: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

    .topbar .right {
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .topbar .pill a {
        background: #e8f2ff;
        border: none;
        padding: 8px 12px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 5px;
        font-weight: 600;
        color: #2196F3;
        font-size: 12px;
        font-family: "Poppins" !important;
        text-decoration: none;
    }

        .topbar .pill a:hover {
            background: #2196F3;
            color: #fff;
        }

    .topbar .pill-active a {
        background: var(--theme);
        color: #fff !important;
    }

    .topbar .hamburger {
        display: none;
        background: transparent;
        border: none;
        font-size: 22px;
        padding: 6px;
    }

    .topbar .profile {
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .topbar .profile .greet {
            color: #4b5660;
            font-weight: 500;
            font-size: 13px;
        }

        .topbar .profile .avatar img {
            width: 35px;
            height: 35px;
            border-radius: 50%;
        }

/* CONTENT */
.content {
    padding: 10px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grid {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(20, 30, 40, 0.03);
    border: 1px solid #e9eff3; /* lighten(#dfe6ea,6%) */
}

.large {
    flex: 2;
    height: 320px;
}

.small {
    width: 320px;
    height: 320px;
}

.full {
    width: 100%;
    height: 420px;
}

/* SKELETON */
.skeleton-header {
    width: 36%;
    height: 16px;
    background: #dfe6ea;
    border-radius: 8px;
    margin-bottom: 18px;
}

    .skeleton-header.small {
        width: 45%;
    }

.list.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.item {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

    .item .avatar-circle {
        width: 48px;
        height: 48px;
        background: #dfe6ea;
        border-radius: 50%;
    }

    .item .meta {
        flex: 1;
    }

        .item .meta .line {
            height: 10px;
            background: #e3e9ed; /* lighten(#dfe6ea,2%) */
            border-radius: 6px;
            margin: 6px 0;
        }

            .item .meta .line.short {
                width: 45%;
            }

            .item .meta .line.small {
                width: 60%;
                height: 8px;
            }

/* WIDGET */
.sidebar-widget .w-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

    .sidebar-widget .w-row .square {
        width: 42px;
        height: 42px;
        background: #dfe6ea;
        border-radius: 8px;
    }

.cta-pill {
    width: 70%;
    height: 36px;
    background: #e9eff3;
    border-radius: 20px;
    margin-top: 16px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 1200;
        transform: translateX(-110%);
        transition: transform 0.28s;
    }

        .sidebar.open {
            transform: translateX(0);
        }

        .sidebar.collapsed {
            width: 260px;
        }

    .topbar .hamburger {
        display: inline-flex;
    }

    .main {
        margin-left: 0;
    }

    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.28);
        z-index: 1100;
        display: block;
    }
}

@media (min-width: 1001px) {
    .main {
        margin-left: 72px;
        transition: margin-left 0.28s;
    }

    .sidebar:not(.collapsed) ~ .main {
        margin-left: 260px;
    }
}

.nav-item.open .chev {
    transform: rotate(180deg);
}

.nav-item.open .submenu {
    display: block;
}

/* SCROLLBAR */
body::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}

body::-webkit-scrollbar-thumb {
    background: #dae2e6;
    border-radius: 10px;
}

.dropdown {
    background: #e8f2ff;
    border-radius: 10px !important;
}

    .dropdown .btn {
        background: #e8f2ff;
        border: none;
        padding: 8px 12px;
        border-radius: 10px !important;
        display: flex;
        align-items: center;
        gap: 5px;
        font-weight: 600;
        color: #2196F3;
        font-size: 12px;
        font-family: "Poppins" !important;
        text-decoration: none;
    }

.dropdown-menu {
    background: #e8f2ff;
}

.dropdown-item {
    font-size: 12px;
    color: #2b353e;
}

    .dropdown-item:hover {
        background-color: #2196f3;
        color: #fff;
    }

    .dropdown-item.active, .dropdown-item:active {
        background-color: #2196f3;
        color: #fff;
    }

/* Tooltip container */
.tooltip {
    z-index: 999999 !important;
}

    /* Tooltip box style */
    .tooltip .tooltip-inner {
        background-color: #2196F3 !important; /* blue theme */
        color: #fff !important;
        font-size: 12px;
        padding: 6px 10px;
        border-radius: 6px;
        font-family: "Poppins", sans-serif;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        background-color: #2b353e !important;
    }

/* Tooltip arrow color (all positions) */
.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    border-top-color: #2b353e !important;
}

.bs-tooltip-bottom .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
    border-bottom-color: #2b353e !important;
}

.bs-tooltip-start .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
    border-left-color: #2b353e !important;
}

.bs-tooltip-end .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
    border-right-color: #2b353e !important;
}

/*** Customer360 card ***********/
.customer-card {
    background: #fff;
    border-radius: 20px;
    position: relative;
}

/* Titles */
.cust-name {
    font-weight: 600;
    font-size: 14px;
    color: #2196F3;
    margin-bottom: 20px;
}

.label {
    font-size: 12px;
    margin-bottom: 2px;
    color: #667A8A;
}

.value {
    font-size: 12px;
    margin: 0;
    font-weight: 600;
}

/* Small icon left side */
.icon-small {
    width: 38px;
    height: 38px;
    background: #e8f2ff;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #2196f3;
    font-weight: 500;
}

/* Contact Title */
.contact-title {
    font-weight: 600;
    font-size: 15px;
    color: #2196F3;
}

/* Contact Buttons */
.icon-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blue {
    background: #65aef2 !important;
}

.yellow {
    background: #f7b545 !important;
}

.green {
    background: #5cbf77 !important;
}

/* Score Circle */
.score-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 7px solid #3ab359;
    border-right-color: #d7f4df;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.score-value {
    font-size: 22px;
    font-weight: 600;
    color: #2d8a48;
}

.score-label {
    font-size: 13px;
    color: #555;
}

/* Verified Circle */
.verified-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 7px solid #f7a73b;
    border-left-color: #fde5ca;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #f79a2a;
    font-weight: 600;
}

/******** Personal Informations cards *************/
/* Top TAB BAR */
.top-tabs .nav-link {
    font-size: 12px;
    color: #000;
    padding: 5px 7px;
    FONT-WEIGHT: 500;
}

    .top-tabs .nav-link.active {
        background: #2196F3;
        color: #fff;
        border-bottom: 2px solid #2196f3;
        font-weight: 600;
    }

/* Secondary tabs */
.sub-tabs .nav-link {
    color: #555;
    font-size: 12px;
    padding: 8px 15px;
}

    .sub-tabs .nav-link.active {
        color: #2196F3;
        font-weight: 600;
        border-bottom: 2px solid #2196F3;
    }

/* Cards */
.custom-card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e5eaf0;
}

.info-label {
    font-size: 12px;
    margin-bottom: 2px;
    color: #667A8A;
}

.info-value {
    font-size: 12px;
    margin: 0;
    font-weight: 600;
    color: #333F49;
}

.badge-status {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 5px;
}

.badge-active {
    background: #e4f7ec;
    color: #1fa44b;
}

.badge-inactive {
    background: #f6d6d6;
    color: #c53030;
}

/* Header Wrapper */
.header-section {
    background: #4dadf7; /* Exact blue tone from your screenshot */
    padding: 8px 25px;
    border-radius: 6px;
    color: white;
}

.user-icon {
    font-size: 18px;
    background: #FFFFFF;
    padding: 8px;
    border-radius: 12px;
    margin-right: 11px;
    padding: 15px 18px;
    color: #2196F3;
}

.tag-badge {
    background: rgba(255, 255, 255, 0.35);
    color: white;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 6px;
}

.date-box {
    background: white;
    padding: 10px 16px;
    border-radius: 6px;
    text-align: center;
    min-width: 135px;
}

.date-label {
    font-size: 11px;
    color: #667A8A;
    margin-bottom: 3px;
}

.date-value {
    font-weight: 600;
    font-size: 13px;
    color: #333F49;
}

/**************************/
.table-wrapper {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e7eb;
    padding: 14px 18px;
}

/* DataTables overrides */
table.dataTable thead th {
    color: #667A8A;
    font-weight: 500;
    font-size: 12px;
    background: #fafafa;
    border-bottom: 1px solid #e8ecef;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
}

table.dataTable tbody td {
    color: #333F49;
    font-size: 12px;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.icon-btn {
    border: 1px solid #dadddf;
    background: #fff;
    padding: 4px 6px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 5px;
}

.action-btn {
    cursor: pointer;
    font-size: 15px;
    margin: 0 5px;
    color: #4b5563;
}

/* Fix DataTables default search box position */
.dataTables_filter input {
    width: 220px;
    margin-left: 8px;
    height: 32px;
    font-size: 12px;
}

.dataTables_filter label {
    color: #667A8A;
    font-size: 12px;
    margin-bottom: 4px;
}

.dataTables_info {
    font-size: 11.5px;
    color: #667A8A !important;
}

.dataTables_paginate .page-link {
    font-size: 12px;
}

.logout-custom-btn a {
    font-size: 15px;
    background: #e8f2ff;
    padding: 7px 11px;
    border-radius: 10px;
    text-align: center;
    width: 25px;
    display: inline;
    height: 25px;
}

    .logout-custom-btn a:hover {
        background: #e8f2ff;
    }

.info-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    padding: 24px 28px;
    height: 100%;
}

.info-title {
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.icon-box {
    width: 42px;
    height: 42px;
    background: #1f86ff;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.address-box {
    background: #e7f1ff;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 18px;
    color: #0d2c55;
    line-height: 1.35;
    font-size: 12px;
}

    .address-box i {
        margin-right: 6px;
        font-size: 15px;
        color: #1f86ff;
    }

.label-box {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 12px 14px;
    height: 100%;
}

.label-title {
    font-size: 11.5px;
    color: #667A8A;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.label-value {
    font-size: 13px;
    font-weight: 500;
    color: #0b264a;
}

.label-title i {
    font-size: 14px;
    color: #6d83a7;
}

.email-box {
    background: #e7f1ff;
    border-radius: 8px;
    padding: 12px 16px;
    color: #0d2c55;
    font-size: 14px;
}

.email-label {
    font-size: 11px;
    opacity: 0.75;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.phone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #efefef;
    padding: 9px 0;
}

.phone-name {
    font-size: 12px;
    margin-bottom: 2px;
    color: #667A8A;
}

.phone-row:last-child {
    border-bottom: none;
}

.phone-name i {
    margin-right: 7px;
    font-size: 15px;
    color: #5d708f;
}

.badge {
    font-size: 10px;
    border-radius: 5px;
    padding: 4px 7px;
}

.badge-success {
    background: #d8f7d8;
    color: #2f7e36;
}

.badge-ref {
    background: #e9e9ff;
    color: #2d38a9;
}

.badge-personal {
    background: #ffe3f5;
    color: #ba3a8d;
}

.badge-business {
    background: #e4f5ff;
    color: #2c76a4;
}

.ext {
    font-size: 11px;
    opacity: 0.6;
}

.bank-table {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
}

.bank-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    border-bottom: 1px solid #e8e8e8;
}

    .bank-row:last-child {
        border-bottom: none;
    }

    .bank-row i {
        margin-right: 8px;
        font-size: 15px;
        color: #5c6e87;
    }

.bank-label {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #667A8A;
    font-size: 12px;
}

.bank-value {
    font-size: 12px;
    font-weight: 600;
}

.badge-active {
    font-size: 10px;
    background: #d8f7d8;
    color: #2f7e36;
    padding: 4px 8px;
    border-radius: 5px;
}

/* Repayment Card */
.repay-card-box {
    width: 100%;
    margin-top: 5px;
    background: linear-gradient(110deg, #004aad 0%, #0070da 50%, #011d7d 100%);
    border-radius: 14px;
    padding: 26px;
    color: #fff;
    position: relative;
}

.repay-icon-right {
    position: absolute;
    top: 17px;
    right: 22px;
    color: #d6e7ff;
    font-size: 22px;
}

.gold-chip {
    width: 34px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(45deg, #ffc455, #e49b22);
    position: absolute;
    bottom: 18px;
    right: 26px;
}

.label-top {
    font-size: 12px;
    opacity: 0.9;
}

.card-number {
    font-size: 20px;
    letter-spacing: 1px;
    margin: 8px 0 18px 0;
}

.holder-text {
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 1px;
}

.main-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.06);
}

.title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

    .title i {
        font-size: 22px;
        background: #1f86ff;
        color: #fff;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.pref-box {
    border-radius: 12px;
    padding: 18px 22px;
}

.email-box {
    background: #e9f3ff;
    border: 1px solid #cce6ff;
}

.sms-box {
    background: #e6fff6;
    border: 1px solid #c5f0dc;
}

.pref-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 16px;
    color: #333F49;
}

.pref-item {
    background: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e4e4e4;
}

.label-text {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #273048;
}

.badge-active {
    font-size: 10px;
    background: #d8f7d8;
    color: #2e8237;
    padding: 4px 8px;
    border-radius: 5px;
}

.badge-inactive {
    font-size: 10px;
    background: #e5e6f3;
    color: #6e6f87;
    padding: 4px 8px;
    border-radius: 5px;
}

.outer-card {
    border-radius: 14px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.inner-card {
    background: #eaf3ff;
    border-radius: 14px;
    padding: 12px;
    margin-top: 5px;
}

.doc-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
}

.field-box {
    background: #fff;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.field-label {
    color: #667A8A;
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.field-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    font-size: 12px;
}

.main-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.info-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 0;
    overflow: hidden;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid #e5e7eb;
}

    .info-row:last-child {
        border-bottom: none;
    }

.label-text {
    color: #667A8A;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.value-text {
    font-weight: 600;
    color: #111827;
}

.quick-card {
    background: #eaf3ff;
    border-radius: 14px;
    padding: 18px;
    height: 100%;
}

.quick-title {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-label {
    font-size: 12px;
    color: #667A8A;
}

.quick-value {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

#loanBtn {
    color: #fff;
}

.sidebar-toggle {
    background: var(--theme);
}

.topbar .pill a {
    color: var(--theme);
}

.user-icon {
    color: var(--theme);
}

.topbar .pill .active {
    background: var(--theme);
}

.topbar .pill a:hover {
    background: var(--theme);
}

.brand .brand-icon {
    background: var(--theme);
}

.header-section {
    background: var(--theme);
}

.logout-btn {
    color: var(--theme);
}

    .logout-btn:hover {
        background: var(--theme);
    }

.pill a {
    color: var(--theme);
}

.sidebar-nav .nav-button:hover {
    color: var(--theme);
}

    .sidebar-nav .nav-button:hover i {
        color: var(--theme);
    }

.pill a:hover {
    background: var(--theme);
}

.cust-name {
    color: var(--theme);
}

.icon-small {
    color: var(--theme);
}

.contact-title {
    color: var(--theme);
}

.top-tabs .nav-link.active {
    background: var(--theme);
    border-bottom: 2px solid var(--theme);
}

.sub-tabs .nav-link.active {
    color: var(--theme);
    border-bottom: 2px solid var(--theme);
}

.dropdown-item:hover {
    background: var(--theme);
}

.sidebar-nav .submenu li a:hover {
    color: var(--theme);
}

/********* Responsive ************/
@media screen and (min-device-width: 425px) and (max-device-width: 761px) {
    .topbar {
        display: block;
    }

    .left {
        display: flex;
    }

    .topbar .pill a {
        padding: 8px 10px;
        font-size: 10px;
    }

    .dropdown .btn {
        font-size: 10px;
        padding: 8px 8px;
    }

    .main {
        padding-top: 100px;
    }

    .sidebar.collapsed {
        width: 95px;
    }
}

@media screen and (min-device-width: 762px) and (max-device-width: 768px) {
    .sidebar.collapsed {
        width: 100px;
    }
}

.truncate {
    max-width: 120px; /* adjust width as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/******** Scrollbar Table ****************/
/*.table-responsive {
    overflow-x: auto !important;
    overflow-y: hidden;
    scrollbar-width: thin;*/ /* Firefox */
/*}*/

.table-responsive {
    max-height: 400px; /* adjust height as needed */
    overflow-y: auto;
    overflow-x: auto;
}


    .table-responsive::-webkit-scrollbar {
        height: 8px; /* horizontal scrollbar size */
    }

    .table-responsive::-webkit-scrollbar-track {
        background: #e9ecef; /* track color */
    }

    .table-responsive::-webkit-scrollbar-thumb {
        background: #004c73; /* scrollbar thumb color */
        border-radius: 10px;
    }

        .table-responsive::-webkit-scrollbar-thumb:hover {
            background: #003551;
        }

.table-container {
    width: 100%;
    overflow: hidden;
}

.table-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}

.table-responsive {
    overflow-x: auto;
    overflow-y: auto; /* allows vertical scroll */
}

/****** Inner Cards ***********/
.loan-card h2 {
    font-size: 18px;
}

.loan-card .form-control {
    background-color: #fcf9f9;
    border: none;
    border-radius: 5px;
    padding: 10px;
    color: #333;
    font-size: 13px;
    border: 1px solid #ccc;
}

.loan-card .btn-search {
    background-color: var(--theme);
    border: none;
    color: white;
    padding: 12px 30px;
    font-size: 13px;
}

    .loan-card .btn-search:hover {
        background-color: var(--theme);
    }

.loan-card .ri-search-line {
    font-size: 18px;
}

.loan-card .quick-tips {
    font-size: 12px;
    color: #d1d1d1;
}

    .loan-card .quick-tips ul {
        padding-left: 20px;
    }

        .loan-card .quick-tips ul li {
            list-style-type: disc;
        }

.quick-tips {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 12px 15px;
}

@media (max-width: 576px) {
    .loan-card {
        padding: 15px;
    }

        .loan-card h2 {
            font-size: 16px;
        }
}
/*********** Form Select *****************/
.custom-select .form-select {
    transition: none;
    font-size: 12px !important;
    font-weight: 500;
    color: #333F49;
}

    .custom-select .form-select:focus {
        box-shadow: none !important;
    }

    .custom-select .form-select option {
        background-color: #fff;
        border: none !important;
        outline: 2px solid red !important;
    }

.form-check-label {
    font-size: 12px;
    font-weight: 500;
}

.form-check .form-check-input {
    width: 15px;
    height: 15px;
}

.pill a {
    background: #e8f2ff;
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: #2196F3;
    font-size: 12px;
    font-family: "Poppins" !important;
    text-decoration: none;
}

    .pill a:hover {
        color: #fff;
    }

.pill-active a {
    background: var(--theme);
    color: #fff !important;
}

.border-radious-5 {
    border-radius: 5px !important;
}

.dropdown .btn {
    border-radius: 5px !important;
}

/*********** Padding **********/
.p-10 {
    padding: 10px;
}

.p-11 {
    padding: 11px;
}

.p-12 {
    padding: 12px;
}

.p-13 {
    padding: 13px;
}

.p-14 {
    padding: 14px;
}

.p-15 {
    padding: 15px;
}

.p-16 {
    padding: 16px;
}

.p-17 {
    padding: 17px;
}

.p-18 {
    padding: 18px;
}

.p-19 {
    padding: 19px;
}

.p-20 {
    padding: 20px;
}

.p-21 {
    padding: 21px;
}

.p-22 {
    padding: 22px;
}

.p-23 {
    padding: 23px;
}

.p-24 {
    padding: 24px;
}

.p-25 {
    padding: 25px;
}

.p-26 {
    padding: 26px;
}

.p-27 {
    padding: 27px;
}

.p-28 {
    padding: 28px;
}

.p-29 {
    padding: 29px;
}

.p-30 {
    padding: 30px;
}

.p-31 {
    padding: 31px;
}

.p-32 {
    padding: 32px;
}

.p-33 {
    padding: 33px;
}

.p-34 {
    padding: 34px;
}

.p-35 {
    padding: 35px;
}

.p-36 {
    padding: 36px;
}

.p-37 {
    padding: 37px;
}

.p-38 {
    padding: 38px;
}

.p-39 {
    padding: 39px;
}

.p-40 {
    padding: 40px;
}

.p-41 {
    padding: 41px;
}

.p-42 {
    padding: 42px;
}

.p-43 {
    padding: 43px;
}

.p-44 {
    padding: 44px;
}

.p-45 {
    padding: 45px;
}

.p-46 {
    padding: 46px;
}

.p-47 {
    padding: 47px;
}

.p-48 {
    padding: 48px;
}

.p-49 {
    padding: 49px;
}

.p-50 {
    padding: 50px;
}

/*********** Margin **********/
.m-10 {
    margin: 10px;
}

.m-11 {
    margin: 11px;
}

.m-12 {
    margin: 12px;
}

.m-13 {
    margin: 13px;
}

.m-14 {
    margin: 14px;
}

.m-15 {
    margin: 15px;
}

.m-16 {
    margin: 16px;
}

.m-17 {
    margin: 17px;
}

.m-18 {
    margin: 18px;
}

.m-19 {
    margin: 19px;
}

.m-20 {
    margin: 20px;
}

.m-21 {
    margin: 21px;
}

.m-22 {
    margin: 22px;
}

.m-23 {
    margin: 23px;
}

.m-24 {
    margin: 24px;
}

.m-25 {
    margin: 25px;
}

.m-26 {
    margin: 26px;
}

.m-27 {
    margin: 27px;
}

.m-28 {
    margin: 28px;
}

.m-29 {
    margin: 29px;
}

.m-30 {
    margin: 30px;
}

.m-31 {
    margin: 31px;
}

.m-32 {
    margin: 32px;
}

.m-33 {
    margin: 33px;
}

.m-34 {
    margin: 34px;
}

.m-35 {
    margin: 35px;
}

.m-36 {
    margin: 36px;
}

.m-37 {
    margin: 37px;
}

.m-38 {
    margin: 38px;
}

.m-39 {
    margin: 39px;
}

.m-40 {
    margin: 40px;
}

.m-41 {
    margin: 41px;
}

.m-42 {
    margin: 42px;
}

.m-43 {
    margin: 43px;
}

.m-44 {
    margin: 44px;
}

.m-45 {
    margin: 45px;
}

.m-46 {
    margin: 46px;
}

.m-47 {
    margin: 47px;
}

.m-48 {
    margin: 48px;
}

.m-49 {
    margin: 49px;
}

.m-50 {
    margin: 50px;
}

/*********** Font-size **********/
.tx-10 {
    font-size: 10px !important;
}

.tx-11 {
    font-size: 11px !important;
}

.tx-12 {
    font-size: 12px !important;
}

.tx-13 {
    font-size: 13px !important;
}

.tx-14 {
    font-size: 14px !important;
}

.tx-15 {
    font-size: 15px !important;
}

.tx-16 {
    font-size: 16px !important;
}

.tx-17 {
    font-size: 17px !important;
}

.tx-18 {
    font-size: 18px !important;
}

.tx-19 {
    font-size: 19px !important;
}

.tx-20 {
    font-size: 20px !important;
}

.tx-21 {
    font-size: 21px !important;
}

.tx-22 {
    font-size: 22px !important;
}

.tx-23 {
    font-size: 23px !important;
}

.tx-24 {
    font-size: 24px !important;
}

.tx-25 {
    font-size: 25px !important;
}

.tx-26 {
    font-size: 26px !important;
}

.tx-27 {
    font-size: 27px !important;
}

.tx-28 {
    font-size: 28px !important;
}

.tx-29 {
    font-size: 29px !important;
}

.tx-30 {
    font-size: 30px !important;
}

.tx-31 {
    font-size: 31px !important;
}

.tx-32 {
    font-size: 32px !important;
}

.tx-33 {
    font-size: 33px !important;
}

.tx-34 {
    font-size: 34px !important;
}

.tx-35 {
    font-size: 35px !important;
}

.tx-36 {
    font-size: 36px !important;
}

.tx-37 {
    font-size: 37px !important;
}

.tx-38 {
    font-size: 38px !important;
}

.tx-39 {
    font-size: 39px !important;
}

.tx-40 {
    font-size: 40px !important;
}

.tx-41 {
    font-size: 41px !important;
}

.tx-42 {
    font-size: 42px !important;
}

.tx-43 {
    font-size: 43px !important;
}

.tx-44 {
    font-size: 44px !important;
}

.tx-45 {
    font-size: 45px !important;
}

.tx-46 {
    font-size: 46px !important;
}

.tx-47 {
    font-size: 47px !important;
}

.tx-48 {
    font-size: 48px !important;
}

.tx-49 {
    font-size: 49px !important;
}

.tx-50 {
    font-size: 50px !important;
}

/***********************************/
.btn-primary {
    background-color: var(--theme);
    border-color: var(--theme);
}

    .btn-primary:hover {
        background-color: var(--theme);
        border-color: var(--theme);
    }

.page-title {
    font-size: 16px;
    font-weight: 600;
}

.page-subtitle {
    color: #6b7280;
}

.search-input {
    height: 38px;
}

.category-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #e6e9f0;
}

.category-title {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 12px;
    color: #333F49;
}

.category-tabs .nav-link {
    text-align: left;
    color: #111;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
}

    .category-tabs .nav-link span {
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 10px;
    }

    .category-tabs .nav-link.active {
        background: var(--theme);
        color: #fff;
    }

.template-card {
    background: #fff;
    border: 1px solid #e6e9f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .template-card h6 {
        font-weight: 600;
    }

    .template-card p {
        color: #6b7280;
        font-size: 12px;
    }

    .template-card .fields {
        background: #e3fff1;
        padding: 6px 10px;
        border-radius: 6px;
        display: flex;
        justify-content: space-between;
        font-size: 11px;
    }

    .template-card button {
        margin-top: auto;
        height: 36px;
        font-size: 12px;
    }

.badge {
    font-size: 10px;
    width: -moz-fit-content;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 12px;
}

.badge-blue {
    background: #e0edff;
    color: var(--theme);
    font-weight: 500;
}

.badge-purple {
    background: #ede9fe;
    color: #7c3aed;
}

/* Responsive */
@media (max-width: 768px) {
    .category-card {
        margin-bottom: 16px;
    }
}

.search-wrapper {
    position: relative;
}

    .search-wrapper i {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 14px;
    }

    .search-wrapper input {
        padding-left: 34px;
    }

.category-tabs .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .category-tabs .nav-link span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .category-tabs .nav-link .count {
        background: #eef2ff;
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 10px;
    }

    .category-tabs .nav-link i {
        font-size: 14px;
    }

    .category-tabs .nav-link.active.count {
        color: #000 !important;
    }

.template-card h6 {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333F49;
}

    .template-card h6 i {
        color: var(--theme);
        font-size: 14px;
    }

.template-card .fields span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: green;
}

.template-card button i {
    margin-right: 4px;
}

.form-wrapper {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    max-width: 100%;
}

.form-label {
    font-weight: 500;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #667A8A;
}

.auto {
    font-size: 10px;
    color: #2563eb;
    background: #eef2ff;
    padding: 2px 6px;
    border-radius: 6px;
}

.form-control,
.form-select {
    font-size: 12px;
}

.input-group-text {
    background: #f9fafb;
    font-size: 12px;
}

.toggle-field {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-switch .form-check-input {
    width: 38px;
    height: 20px;
    cursor: pointer;
}

    .form-switch .form-check-input:checked {
        background-color: #2563eb;
        border-color: #2563eb;
    }

/* Responsive */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 16px;
    }
}

.modal-title {
    font-weight: 600 !important;
}

.modal-full-height {
    height: 90vh; /* 90% of viewport height */
}

.modal-body {
    overflow-y: visible !important;
}

.dropdown .btn {
    background: var(--theme);
    color: #fff;
}

.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
    color: #fff !important;
}

.dropdown-item.active, .dropdown-item:active {
    background: var(--theme) !important;
}

.bootstrap-select .dropdown-toggle:focus, .bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
    outline: none !important;
}

.selectpicker {
    z-index: 1050; /* Ensures the dropdown is above the modal */
}

.dropdown-menu {
    z-index: 1050 !important;
}

.modal-body {
    max-height: 100vh; /* Adjust this value depending on your layout */
    overflow-y: auto; /* Makes modal body scrollable */
}

.modal-dialog {
    overflow: visible !important; /* Ensures the dropdown isn’t cut off */
}

.selectpicker, .dropdown-menu {
    z-index: 1050 !important;
}

.bootstrap-select .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

.modal-content {
    z-index: 1050 !important;
    max-height: 80vh;
    overflow-y: auto;
    /* Keeps modal content visible */
}

.selectpicker, .dropdown-menu {
    position: absolute;
}

.modal-header {
    background: #eaf3ff;
    color: #333F49;
}

/*****************/
.fraud-badge {
    background: #FFE2E2 !important;
    color: #DA5D62 !important;
}

.card-statics {
    background: var(--theme);
    width: -webkit-fill-available;
    padding: 10px 15px;
    margin: 0px 15px;
}

.info-card-prime {
    border-radius: 7px 7px 0px 0px;
    background: color-mix(in srgb, var(--theme) 35%, white);
}

.info-card-prime-custom {
    border-radius: 0px 0px 7px 7px;
    background: #e8f2ff;
    height: 210px;
}

.bg-light-prime {
    background: #e8f2ff;
    padding: 12px 12px;
    border-radius: 7px;
    margin-bottom: 14px;
}

.value {
    color: #333F49 !important;
}

.custom-badge {
    background: #fff;
    padding: 0px 8px;
    position: absolute;
    right: -15px;
    border-radius: 10px 0px 0px 10px;
    top: 0;
    font-weight: bold;
    font-size: 13px;
    color: var(--theme);
}

.accordion-button {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #333F49 !important;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.accordion-item {
    border: none !important;
}

.accordion-body ul li {
    display: inline-block;
    padding: 0px 25px 0px 0px;
}

.accordion-body {
    padding: 10px 20px !important;
}

.accordion-button::after {
    /* color: #fff; */
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    padding: 10px 10px 10px 10px;
    text-align: center;
    display: flex;
    font-size: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.warning-badge {
    background: #FFE4CB !important;
    color: #EF8B2D !important;
    padding: 1px 12px;
    border-radius: 5px;
}

.modal-title {
    color: var(--theme);
}

.table tr {
    border-radius: 18px;
}

    .table tr th {
        background: #e8f2ff;
    }

    .table tr td {
        font-weight: 500 !important;
    }

    .table tr th, .table tr td {
        font-size: 12px !important;
        padding: 8.8px 7px;
        white-space: nowrap !important;
    }

.table-wrapper {
    border-radius: 0px 0px 10px 10px !important;
}

.success-badge {
    background: #fff !important;
    color: var(--theme) !important;
    padding: 4px 12px;
    border-radius: 5px;
}

.custom-accord {
    width: 25px;
    background: #fff;
    height: 25px;
    align-items: center;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    color: var(--theme);
}

.list-line ul li {
    padding: 4px 0px;
}

.custom-accord-item {
    background: #e8f2ff;
    padding: 10px 10px;
    border-radius: 5px;
}

.pill a {
    padding: 5px 12px !important;
    border-radius: 5px !important;
}

.prime-color {
    color: var(--theme) !important;
}

.text-warning {
    color: #EF8B2D !important;
}

.custom-accord-top {
    width: 25px;
    background: #e8f2ff;
    height: 25px;
    align-items: center;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    position: absolute;
    float: right;
    right: 0px;
    top: 0;
}

    .custom-accord-top a {
        color: var(--theme);
    }

.table tr td {
    color: #667A8A;
}

td a {
    color: var(--theme) !important;
}

#recentLoans {
    display: none;
}

.form-check-input:checked {
    background-color: var(--theme);
    border-color: var(--theme);
}

table th:first-child {
    border-radius: 12px 0px 0px 12px;
}

table th:last-child {
    border-radius: 0px 12px 12px 0px;
}
/*# sourceMappingURL=styles.css.map */

.modal-xl {
    --bs-modal-width: 1295px;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom: none !important;
}
.modal-header .btn-close {
    font-size: 12px !important;
    font-weight: bold !important;
}
.table > thead {
    position: sticky;
    top: 0;
}

.custom-tabs .nav-item {
    margin: 10px 5px;
}

.custom-tabs .nav-tabs {
    border-bottom: none;
}

    .custom-tabs .nav-tabs .nav-link.active {
        border: none;
        background-color: var(--theme);
        color: #fff !important;
        border: 1px solid var(--theme) !important;
    }

.custom-tabs .nav-link {
    /* border-top-left-radius: initial !important; */
    /* border-top-right-radius: initial !important; */
    color: var(--bs-secondary-color) !important;
    font-size: 12px;
    border: 1px solid #ccc !important;
    border-radius: 5px;
    padding: 4px 14px;
}

.custom-tabs .nav-tabs .nav-link:hover {
    border: none;
    background-color: var(--theme);
    color: #fff !important;
    border: 1px solid var(--theme) !important;
}

.custom-tabs .gridlistview {
    margin: 5px 0px;
}

    .custom-tabs .gridlistview a {
        font-size: 14px;
        padding: 5px 10px;
        margin: 10px 2px;
        color: var(--bs-secondary-color) !important;
    }

        .custom-tabs .gridlistview a:hover {
            background-color: #fff;
            color: var(--theme) !important;
        }

    .custom-tabs .gridlistview .active {
        background-color: #fff;
        color: var(--theme) !important;
        border-radius: 5px;
    }

.sort-btn {
    background: #fff;
    border: 1px solid #ccc !important;
    color: #808287 !important;
    font-size: 13px;
}

.btn-check:checked + .btn, .btn.active, .btn:hover, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    background: var(--theme);
    border-color: var(--theme);
    color: #fff !important;
}

.text-muted {
    color: #667A8A !important;
}

.form-switch .form-check-input:checked {
    background-color: var(--theme) !important;
    border-color: var(--theme) !important;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    /* font-family: Inter, sans-serif; */
    font-size: 12px;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Previous / Next */
.page-link {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .page-link.disabled {
        color: #bdbdbd;
        pointer-events: none;
    }

/* Page Numbers */
.page-number {
    color: #2e7d32;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}

    /* Active Page */
    .page-number.active {
        background-color: #2e7d32;
        color: #ffffff;
    }

    /* Hover effect */
    .page-number:hover:not(.active) {
        background-color: #e8f5e9;
    }

/* Dots */
.dots {
    color: #9e9e9e;
    font-weight: 500;
}

/* Tooltip box */
.tooltip-inner {
    background-color: #2e7d32 !important;
    color: #fff;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
}

/* Tooltip arrow */
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #2e7d32 !important;
}

.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #2e7d32 !important;
}

.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #2e7d32 !important;
}

.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #2e7d32 !important;
}

.btn-group > .btn-group:not(:first-child) > .btn, .btn-group > .btn:nth-child(n+3), .btn-group > :not(.btn-check) + .btn {
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}

.h-webkit {
    height: -webkit-fill-available !important;
}

@media screen and (min-device-width: 425px) and (max-device-width: 768px) {
    .left {
        display: flex;
        align-items: center;
    }

    .custom-card {
        margin-top: 10px;
    }
}
/* Media Query */
@media (min-width: 320px) and (max-width: 768px) {
    .sidebar-toggle {
        display: none !important;
    }

    .sidebar {
        height: auto !important;
    }

    .sidebar-nav .nav-button i {
        font-size: 14px !important;
    }

    .sidebar-nav .nav-button .nav-label {
        font-size: 11px !important;
    }

    .modal .dropdown-menu {
        position: absolute !important;
        z-index: 1056; 
    }

    .form-control:disabled,
    .form-control[readonly] {
        background-color: #f5f5f5; /* subtle gray background */
        color: #6c757d; /* muted text */
        cursor: not-allowed; /* clear visual cue */
        border: 1px solid #ddd; /* softer border */
    }
}