:root {
    --primary: #0b5ed7; /* main blue for buttons / accents */
    --deep: #214570; /* deep nav / header */
    --accent: #6f42c1; /* purple accent for highlights */
    --success: #16a34a; /* success green */
    --surface: #f6f9fc; /* page background */
    --card: #ffffff;
    --muted: #6c757d;
    --shadow: rgba(33, 69, 112, 0.08);
}

/* 2) Base adjustments */
body {
    background: var(--surface) !important;
    color: #23354a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Make primary utilities use new vars */
.bg-success, .btn-success {
    /*background: var(--primary) !important;*/
    border-color: var(--primary) !important;
    color: #fff !important;
    background: #0A3327 !important;
}

/* Theme buttons consistent */
.themeBtn {
    background: linear-gradient(90deg,var(--primary),var(--accent)) !important;
    border: 0 !important;
    box-shadow: 0 6px 18px var(--shadow);
    color: #fff !important;
    font-weight: 600;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .themeBtn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(33,69,112,0.12);
    }

/* Login left image overlay — softer, modern */
.loginBg::before {
    background: linear-gradient(180deg, rgba(4, 26, 18, 0.88), rgba(10, 60, 43, 0.88)) !important;
}

/* Carousel quote style */
.Qoutes p span {
    color: rgba(255,255,255,0.95);
    font-size: 20px;
    font-style: italic;
}

.Qoutes p i {
    color: rgba(255,255,255,0.85);
}

/* Owl dots */
.QuarterlyOverview .owl-dots span {
    width: 12px;
    height: 12px;
    margin: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: 1px solid rgba(255,255,255,0.18);
}

.QuarterlyOverview .owl-dot.active span {
    background: var(--primary);
    border-color: #fff;
}

/* Sidebar (clean collapsed look) */
.sideBar {
    /*background: linear-gradient(180deg, var(--deep), #0f2a4b);*/
    background-color: #06402B !important;
    color: #fff;
    box-shadow: 0 8px 24px rgba(10,20,40,0.06);
}

    .sideBar .dropdown-toggle > span {
        /*color: #fff !important;*/
    }

    .sideBar .navbar .navbar-nav > .dropdown > .dropdown-toggle > span i {
        color: rgba(255,255,255,0.95);
        font-size: 20px;
    }

    /* Sidebar hover */
    .sideBar .navbar .navbar-nav > .dropdown > .dropdown-toggle:hover,
    .sideBar .navbar .navbar-nav > .dropdown > .dropdown-toggle.show {
        background: rgba(255,255,255,0.06);
        border-radius: 10px;
    }

/* MainContent cards */
.projectListcard, .statics-items, .threeBox-items {
    background: var(--card);
    border-radius: 12px;
    box-shadow: 0 8px 20px var(--shadow);
    border: 0;
}

/* Table header */
.thColor thead tr th, .tablehead {
    background: linear-gradient(90deg,var(--deep),var(--primary)) !important;
    color: #fff !important;
    font-weight: 700;
}

/* DataTables current page */
.dataTables_paginate .paginate_button.current {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

/* Inputs / selects — modern subtle style */
.loginPage .form-control, .select2-container--default .select2-selection--single {
    background: #fff;
    border: 1px solid #e6eef8;
    box-shadow: none;
    height: 44px;
    border-radius: 8px;
}

.searchform .form-control::placeholder {
    color: rgba(0,0,0,0.45);
}

/* Profile dropdown image border */
.profileDropdown img {
    border: 2px solid rgba(255,255,255,0.12);
}

/* Notification panel */
.NoficationBox .dropdown-menu, .NotificationAlerts {
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(10,25,50,0.08);
}

/* Tabs and Pills */
.TabDesign li button {
    background: transparent !important;
    border-radius: 10px;
    padding: 8px 12px;
}

    .TabDesign li button.active {
        background: linear-gradient(90deg,var(--primary),var(--accent)) !important;
        color: #fff !important;
    }

/* Small UI polish */
a {
    color: var(--primary);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* password-eye icon alignment improvements */
.password-section .fa-eye, .password-section .fa-eye-slash {
    right: 12px;
    color: #8b98a8;
}

/* responsive tweaks for small screens */
@media (max-width:840px) {
    .sideBar {
        background: rgba(255,255,255,0.98);
        /*color: #222;*/
    }

        .sideBar .dropdown-toggle > span > span.nav-title {
            /*color: #222 !important;*/
        }
}

/* small utility */
.text-muted {
    color: var(--muted) !important;
}

/* ================= GLOBAL LOADER (SINGLE CENTERED) ================= */
.global-app-loader, .blockUI {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(6, 30, 20, 0.45) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 9999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
}

.global-app-loader.show,
.global-app-loader[style*="display: block"],
.global-app-loader[style*="display: flex"],
.blockUI[style*="display: block"],
.blockUI[style*="display: flex"] {
    display: flex !important;
}

.loader-box {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: #ffffff !important;
    padding: 24px 38px !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    text-align: center !important;
    min-width: 220px !important;
    max-width: 320px !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    z-index: 10000000 !important;
    animation: loaderPopIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes loaderPopIn {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.loader-spinner-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
}

.loader-spinner {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(6, 64, 43, 0.15);
    border-top: 4px solid #06402B;
    border-right: 4px solid #d4af37;
    border-radius: 50%;
    animation: loaderSpin 0.9s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

.loader-spinner-inner {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 44px;
    height: 44px;
    border: 3px solid transparent;
    border-top: 3px solid #0A3327;
    border-left: 3px solid #d4af37;
    border-radius: 50%;
    animation: loaderSpinReverse 0.7s linear infinite;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loaderSpinReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

.loader-text {
    color: #1a2e26;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.loader-subtext {
    color: #718096;
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 0;
    font-weight: 400;
}

/* ================= GLOBAL COMMON POPUP MODAL ================= */
#globalAppModal .modal-dialog {
    max-width: 440px;
    margin: 1.75rem auto;
}

#globalAppModal .modal-content.custom-popup-modal-content {
    border-radius: 24px;
    border: 2.5px solid #06402B !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(212, 175, 55, 0.35), 0 0 25px rgba(6, 64, 43, 0.2) !important;
    overflow: hidden;
    background: #ffffff;
    position: relative;
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-popup-top-bar {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #06402B 0%, #d4af37 50%, #06402B 100%);
}

.custom-popup-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.custom-popup-close-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.custom-popup-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 28px auto 14px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-popup-icon-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px dashed rgba(6, 64, 43, 0.35);
    animation: popupRingSpin 10s linear infinite;
}

.custom-popup-icon-ring.popup-ring-success {
    border-color: rgba(6, 64, 43, 0.4);
}

.custom-popup-icon-ring.popup-ring-error {
    border-color: rgba(220, 38, 38, 0.45);
}

.custom-popup-icon-ring.popup-ring-warning {
    border-color: rgba(217, 119, 6, 0.45);
}

.custom-popup-icon-ring.popup-ring-info {
    border-color: rgba(37, 99, 235, 0.45);
}

.custom-popup-icon-ring.popup-ring-question {
    border-color: rgba(212, 175, 55, 0.65);
}

.custom-popup-icon-ring-inner {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.4);
    animation: popupRingPulse 2.2s ease-in-out infinite;
}

@keyframes popupRingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes popupRingPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.08); opacity: 1; }
}

.custom-popup-icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
    z-index: 2;
    animation: iconScaleBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Success style */
.popup-icon-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #06402B;
    border: 3px solid #06402B;
}

/* Error style */
.popup-icon-error {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #dc2626;
    border: 3px solid #dc2626;
}

/* Warning style */
.popup-icon-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    border: 3px solid #d97706;
}

/* Info style */
.popup-icon-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    border: 3px solid #2563eb;
}

/* Question/Confirm style */
.popup-icon-question {
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
    color: #854d0e;
    border: 3px solid #d4af37;
}

.custom-popup-title {
    font-size: 21px;
    font-weight: 700;
    color: #0f2a1d;
    text-align: center;
    margin-bottom: 8px;
    padding: 0 24px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.2px;
}

.custom-popup-message {
    font-size: 14.5px;
    color: #4b5563;
    text-align: center;
    padding: 0 28px 10px 28px;
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
    font-family: 'Poppins', sans-serif;
}

.custom-popup-footer {
    padding: 18px 24px 26px 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    border: none;
    background: transparent;
}

.btn-popup-ok {
    background: linear-gradient(135deg, #06402B 0%, #0A5036 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    padding: 11px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    min-width: 130px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(6, 64, 43, 0.35);
}

.btn-popup-ok:hover {
    background: linear-gradient(135deg, #0A5036 0%, #06402B 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 64, 43, 0.45);
    border-color: #d4af37 !important;
}

.btn-popup-confirm {
    background: linear-gradient(135deg, #06402B 0%, #0A5036 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    padding: 11px 26px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 12px;
    min-width: 120px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(6, 64, 43, 0.35);
}

.btn-popup-confirm.btn-popup-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    border-color: rgba(220, 38, 38, 0.4) !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.btn-popup-confirm.btn-popup-danger:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.45);
}

.btn-popup-cancel {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 11px 26px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 12px;
    min-width: 110px;
    transition: all 0.25s ease;
}

.btn-popup-cancel:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
    border-color: #94a3b8 !important;
    transform: translateY(-2px);
}

/* =========================================================================
   COMPREHENSIVE MOBILE & MULTI-DEVICE RESPONSIVE STYLES
   ========================================================================= */

/* Mobile Sidebar Backdrop */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-backdrop.show {
    opacity: 1;
    visibility: visible;
}

body.sidebar-open {
    overflow: hidden !important;
}

/* Close button inside mobile sidebar */
.btn-close-sidebar {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-sidebar:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    transform: rotate(90deg);
}

/* Top Navbar Responsive Polish */
.top-navbar-header {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(6, 64, 43, 0.2);
    z-index: 1020;
}

.btn-hamburger-toggle {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    font-size: 18px;
    transition: all 0.2s ease;
}

.btn-hamburger-toggle:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.brand-mobile-title {
    font-size: 17px;
    letter-spacing: 0.3px;
    color: #ffffff;
    font-weight: 600;
}

/* Profile Dropdown Responsive */
.custom-profile-dropdown {
    min-width: 210px;
    max-width: 90vw;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
}

.custom-profile-dropdown .dropdown-header {
    font-size: 13px;
    font-weight: 600;
    color: #06402B;
    padding: 8px 16px;
}

.custom-profile-dropdown .dropdown-item {
    font-size: 13.5px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Base Form and Layout Responsive Tweaks */
.form-control, .form-select {
    min-height: 38px;
}

.select2-container {
    width: 100% !important;
    max-width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 38px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 6px !important;
}

/* Table Responsive Scrolling */
.table-responsive {
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background: #ffffff;
    width: 100%;
    margin-bottom: 0 !important;
}

.table-responsive table {
    margin-bottom: 0;
}

.table-responsive th {
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 10px !important;
}

.table-responsive td {
    font-size: 12.5px;
    vertical-align: middle;
    padding: 6px 10px !important;
}

/* =========================================================================
   PREMIUM CUSTOM PAGINATION COMPONENT (3-Column Creative Layout)
   ========================================================================= */

.custom-pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 16px !important;
    margin-top: 0 !important;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    width: 100%;
}

/* 1. Left Section: Creative Records Summary Info */
.custom-pagination-left {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 220px;
}

.custom-pagination-info {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    margin: 0;
    padding: 0;
    float: none !important;
    width: auto !important;
}

.custom-pagination-info .info-icon-badge {
    width: 28px;
    height: 28px;
    background: #edf7f2;
    color: #06402B;
    border: 1px solid #cbe6d7;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 1px 2px rgba(6, 64, 43, 0.06);
}

.custom-pagination-info .info-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

.custom-pagination-info .highlight-num {
    color: #063323;
    font-weight: 700;
    padding: 0 1px;
}

.custom-pagination-info .highlight-total {
    display: inline-block;
    background: #edf7f2;
    color: #063323;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 12.5px;
    border: 1px solid #cbe6d7;
}

.custom-pagination-info .page-count-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    background: #f8fafc;
    color: #063323;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 2px;
}

/* 2. Middle Section: Unique Unified Segmented Capsule Card */
.custom-pagination-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

.custom-pagination-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: auto !important;
    margin: 0 auto;
}

/* THE UNIFIED CAPSULE CARD */
.pagination-capsule-card {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #f1f5f9;
    padding: 3px 6px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.capsule-nav-group,
.capsule-numbers-group {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.capsule-divider {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: #cbd5e1;
    margin: 0 4px;
}

.capsule-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    text-decoration: none;
}

.capsule-btn.nav-btn {
    gap: 4px;
    font-size: 11.5px;
    color: #334155;
}

.capsule-btn.nav-btn:hover:not(.disabled):not(:disabled) {
    background: #ffffff;
    color: #063323;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5px);
}

.capsule-btn.nav-btn.disabled,
.capsule-btn.nav-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.capsule-btn.num-btn {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 20px;
    font-size: 12px;
}

.capsule-btn.num-btn:hover:not(.active) {
    background: #ffffff;
    color: #063323;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.capsule-btn.num-btn.active {
    background: linear-gradient(135deg, #063323 0%, #084832 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(6, 51, 35, 0.38) !important;
    cursor: default;
    border-bottom: 2px solid #d4af37 !important;
}

.capsule-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    font-size: 12px;
    font-weight: bold;
    color: #94a3b8;
    user-select: none;
}

/* 3. Right Section: Creative Quick Export Group */
.custom-pagination-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 auto;
    min-width: 150px;
}

.quick-export-group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    padding: 3px 5px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.btn-quick-export {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 27px;
    padding: 0 9px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    background: #ffffff;
    text-decoration: none;
    user-select: none;
    outline: none;
}

.btn-quick-export.btn-export-excel {
    color: #0e623b;
    border-color: #c7e8d6;
    background: #f0f9f4;
}

.btn-quick-export.btn-export-excel:hover {
    background: linear-gradient(135deg, #107c41 0%, #0c5c31 100%);
    color: #ffffff !important;
    border-color: #107c41;
    transform: translateY(-1.5px);
    box-shadow: 0 3px 8px rgba(16, 124, 65, 0.25);
}

.btn-quick-export.btn-export-pdf {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fef2f2;
}

.btn-quick-export.btn-export-pdf:hover {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #ffffff !important;
    border-color: #dc2626;
    transform: translateY(-1.5px);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.25);
}

/* Fallback / Legacy DataTables support */
.dataTables_paginate .pagination_1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dataTables_paginate .pagination_1 li {
    display: inline-block;
    margin: 0;
}

.dataTables_paginate .pagination_1 li span {
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.dataTables_paginate .pagination_1 li.paginate_active span,
.dataTables_paginate .pagination_1 li.active span {
    background: linear-gradient(135deg, #063323 0%, #084832 100%) !important;
    color: #ffffff !important;
    border-color: #063323 !important;
    border-bottom: 2px solid #d4af37 !important;
}

@media (max-width: 991.98px) {
    .custom-pagination-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 10px !important;
    }
    .custom-pagination-left,
    .custom-pagination-center,
    .custom-pagination-right {
        justify-content: center;
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================================
   MEDIA QUERIES FOR DEVICES
   ========================================================================= */

/* TABLETS AND MOBILE (< 992px) */
@media (max-width: 991.98px) {
    .container-fluid.py-2 {
        padding-left: 6px !important;
        padding-right: 6px !important;
        padding-top: 6px !important;
    }

    .MainPanel {
        display: block !important;
        height: auto !important;
        min-height: 100vh;
        overflow: visible !important;
    }

    /* Mobile Sidebar Offcanvas Drawer */
    .sideBar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 270px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        z-index: 1055 !important;
        background-color: #06402B !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 0 16px 16px 0 !important;
        box-shadow: none !important;
        padding: 15px 10px !important;
        display: block !important;
    }

    .sideBar.mobile-show {
        transform: translateX(0) !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.45) !important;
    }

    /* Hide desktop collapse state on mobile */
    .sideBar.sideBarCollapse {
        display: block !important;
        padding: 15px 10px !important;
    }

    .sideBar.sideBarCollapse > * {
        display: block !important;
    }

    /* Show nav titles in mobile sidebar */
    .sideBar .dropdown-toggle > span > span.nav-title {
        display: inline-block !important;
        margin-left: 10px;
        font-size: 14px;
        color: #ffffff;
    }

    .sideBar .navbar .navbar-nav > .dropdown > .dropdown-toggle {
        justify-content: flex-start !important;
        padding: 10px 14px !important;
        width: 100%;
        border-radius: 8px;
    }

    /* Submenus expand inline on mobile */
    .sideBar .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        background: rgba(0, 0, 0, 0.25) !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        margin: 4px 0 !important;
        padding: 4px 0 !important;
        transform: none !important;
    }

    .sideBar .dropdown-item {
        color: #e2e8f0 !important;
        padding: 8px 16px !important;
        font-size: 13.5px;
    }

    .sideBar .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
    }

    /* Main Content spans full width */
    .mainContent {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    .mainContent.ps-3 {
        padding-left: 0 !important;
    }
}

/* SMALL TABLETS & MOBILE PHONES (< 768px) */
@media (max-width: 767.98px) {
    .mainContent > .container-fluid.py-4 {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .mainContent > .container-fluid.py-4 .row {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 6px;
    }

    .mainContent > .container-fluid.py-4 .row h4 {
        font-size: 18px;
    }

    .breadcrumb-container {
        justify-content: flex-start !important;
        width: 100%;
    }

    .breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }

    /* Card Header & Search Controls Responsive Wrap */
    .card-header {
        padding: 10px 12px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .card-header b, .card-header #dynamicTitle {
        width: 100%;
        font-size: 15px;
        margin-bottom: 2px;
    }

    .card-header .d-flex.align-items-center {
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: flex-start !important;
    }

    .card-header select#ddlSortLength {
        flex: 0 0 75px !important;
        width: 75px !important;
        height: 36px;
        font-size: 13px;
        margin-left: 0 !important;
    }

    .card-header input#txtSearchText {
        flex: 1 1 120px !important;
        min-width: 110px !important;
        width: auto !important;
        max-width: 100% !important;
        height: 36px;
        font-size: 13px;
        margin-left: 0 !important;
    }

    .card-header button.btn, .card-header a.btn {
        flex: 0 0 auto !important;
        height: 36px;
        font-size: 13px;
        padding: 6px 12px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 0 !important;
    }

    /* Card Body */
    .card-body {
        padding: 10px !important;
    }

    /* Modals on Mobile */
    .modal-dialog {
        margin: 8px auto !important;
        width: calc(100% - 16px) !important;
        max-width: 100% !important;
    }

    .modal-content {
        border-radius: 14px !important;
    }

    .modal-header {
        padding: 12px 14px !important;
    }

    .modal-title {
        font-size: 16px !important;
    }

    .modal-body {
        max-height: calc(100vh - 130px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        padding: 12px !important;
    }

    .modal-footer {
        padding: 10px 14px !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .modal-footer .btn {
        font-size: 13.5px;
        padding: 8px 16px;
    }

    /* Daterangepicker centering on mobile screens */
    .daterangepicker {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 92vw !important;
        max-width: 320px !important;
    }

    .daterangepicker .drp-calendar {
        max-width: 100% !important;
        padding: 6px !important;
    }

    .daterangepicker .drp-calendar.left, .daterangepicker .drp-calendar.right {
        float: none !important;
        clear: both !important;
    }

    /* Pagination on Mobile */
    .custom-pagination-container {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        padding: 10px 12px !important;
        gap: 10px !important;
    }

    .custom-pagination-info {
        justify-content: center !important;
        width: 100% !important;
        font-size: 12.5px !important;
    }

    .custom-pagination-nav-wrapper {
        width: 100% !important;
        justify-content: center !important;
    }

    .custom-pagination-list {
        justify-content: center !important;
        gap: 4px !important;
    }

    .custom-pagination-list .page-btn {
        min-width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
        padding: 0 8px !important;
        border-radius: 7px !important;
    }

    .custom-pagination-list .page-btn.nav-btn {
        padding: 0 8px !important;
    }

    .dataTables_info {
        text-align: center;
        width: 100%;
        margin-bottom: 6px;
        font-size: 12px;
    }

    .dataTables_paginate {
        justify-content: center !important;
        width: 100% !important;
        float: none !important;
    }

    .pagination_1 {
        justify-content: center !important;
        float: none !important;
    }
}

/* EXTRA SMALL PHONES (< 480px) */
@media (max-width: 479.98px) {
    .brand-mobile-title {
        font-size: 15px;
    }

    .top-navbar-header {
        padding: 8px 10px !important;
    }

    .card-header .d-flex.align-items-center {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }

    .card-header select#ddlSortLength {
        flex: 0 0 65px !important;
        width: 65px !important;
    }

    .card-header input#txtSearchText {
        flex: 1 1 100px !important;
    }

    .card-header button.btn, .card-header a.btn {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 4px;
    }

    /* Popup modal adjustments */
    #globalAppModal .modal-dialog {
        max-width: calc(100% - 20px) !important;
        margin: 10px auto !important;
    }

    .custom-popup-title {
        font-size: 18px;
    }

    .custom-popup-message {
        font-size: 13.5px;
        padding: 0 16px 8px 16px;
    }

    .btn-popup-ok, .btn-popup-confirm, .btn-popup-cancel {
        padding: 9px 20px;
        font-size: 13.5px;
        min-width: 100px;
    }
}

/* Global Portal Layout & Scroll Improvements */
.main-body-content {
    flex-grow: 1;
    overflow-y: auto !important;
    overflow-x: hidden;
    min-height: 0;
    padding-right: 4px;
    padding-bottom: 0 !important;
}

.overFlowScroll {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.site-global-footer {
    z-index: 10;
}

/* Compact Page Header & Elimination of White Bottom Gap */
.mainContent > .container-fluid.py-4,
.main-body-content > .container-fluid.py-4 {
    padding-top: 8px !important;
    padding-bottom: 4px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.main-body-content > .container-fluid.py-4 h4 {
    font-size: 16px !important;
    font-weight: 600;
}

.main-body-content > .container-fluid.overFlowScroll,
.main-body-content > .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* =========================================================================
   SINGLE UNIFIED CARD & CLEAN DATA TABLE DESIGN (NO DOUBLE CARDS)
   ========================================================================= */

/* 1. Flatten nested double cards into a single unified card container */
.main-body-content .card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 4px !important;
    overflow: hidden;
}

.main-body-content .card .card {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* 2. Unified Card Header */
.main-body-content .card-header {
    background: #fafbfc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 8px 14px !important;
    border-radius: 10px 10px 0 0 !important;
}

/* 3. Card Body & Grid Wrapper */
.main-body-content .card-body {
    padding: 0 !important;
    background: #ffffff;
}

.main-body-content .card-body > .table-responsive {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

/* =========================================================================
   ATTRACTIVE & MODERN DATA GRID TABLE STYLING
   ========================================================================= */

/* Table Base & Outer Borders */
.table-responsive table,
table.table,
.main-body-content table {
    width: 100% !important;
    margin-bottom: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff;
}

/* Elegant Brand Header: Emerald Forest Gradient + Gold Accent Border */
table.table thead,
.table-responsive table thead,
.main-body-content table thead {
    background: linear-gradient(135deg, #063323 0%, #084832 100%) !important;
}

table.table thead th,
.table-responsive table thead th,
.main-body-content table thead th,
.tablehead,
.thColor thead tr th {
    background: linear-gradient(135deg, #063323 0%, #084832 100%) !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    padding: 9px 12px !important;
    vertical-align: middle !important;
    border-top: none !important;
    border-bottom: 2.5px solid rgba(212, 175, 55, 0.5) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

table.table thead th b,
.table-responsive table thead th b {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Table Body Cells */
table.table tbody td,
.table-responsive table tbody td,
.main-body-content table tbody td {
    padding: 7.5px 12px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    vertical-align: middle !important;
    border: 1px solid #edf2f7 !important;
}

/* Clean Alternating Zebra Striping */
table.table-striped tbody tr:nth-of-type(even),
.table-responsive table tbody tr:nth-of-type(even) {
    background-color: #f9fbf9 !important;
}

table.table-striped tbody tr:nth-of-type(odd),
.table-responsive table tbody tr:nth-of-type(odd) {
    background-color: #ffffff !important;
}

/* Premium Hover Tint */
table.table tbody tr:hover,
table.table-striped tbody tr:hover,
.table-responsive table tbody tr:hover {
    background-color: #ebf6f0 !important;
    transition: background-color 0.15s ease-in-out;
}

table.table tbody tr:hover td,
table.table-striped tbody tr:hover td {
    color: #063323 !important;
}

/* First Column (SNo.) Highlight */
table.table tbody tr td:first-child,
.table-responsive table tbody tr td:first-child {
    font-weight: 600;
    color: #06402B;
}

/* 4. Integrated Seamless Pagination (Directly attached to card bottom) */
.custom-pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 7px 14px !important;
    margin: 0 !important;
    background: #fafbfc !important;
    border: none !important;
    border-top: 1px solid #edf2f7 !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: none !important;
    width: 100%;
}

/* 5. Attractive & Sleek Action Buttons */
.ActionBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.ActionBtn a {
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    border-radius: 6px !important;
    margin: 0 !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Edit Icon (Blue Badge) */
.ActionBtn a[title*="Edit"],
.ActionBtn a:has(.fa-pencil),
.ActionBtn a:has(.fa-edit) {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
}

.ActionBtn a[title*="Edit"]:hover,
.ActionBtn a:has(.fa-pencil):hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3) !important;
}

/* Delete Icon (Red Badge) */
.ActionBtn a[title*="Delete"],
.ActionBtn a:has(.fa-trash),
.ActionBtn a:has(.fa-trash-o) {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

.ActionBtn a[title*="Delete"]:hover,
.ActionBtn a:has(.fa-trash):hover,
.ActionBtn a:has(.fa-trash-o):hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.3) !important;
}

/* View Icon (Emerald Badge) */
.ActionBtn a[title*="View"],
.ActionBtn a:has(.fa-eye) {
    background: #f0fdf4 !important;
    color: #16a34a !important;
    border: 1px solid #bbf7d0 !important;
}

.ActionBtn a[title*="View"]:hover,
.ActionBtn a:has(.fa-eye):hover {
    background: #06402B !important;
    color: #ffffff !important;
    border-color: #06402B !important;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(6, 64, 43, 0.3) !important;
}

/* =========================================================================
   GLOBAL EXPORT TOOLBAR BUTTONS (EXCEL & PDF)
   ========================================================================= */
.export-btn-group {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.btn-export-excel {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #86efac !important;
    font-weight: 600;
    font-size: 12px !important;
    padding: 5px 10px !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.btn-export-excel:hover {
    background: #16a34a !important;
    color: #ffffff !important;
    border-color: #16a34a !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(22, 163, 74, 0.25);
}

.btn-export-pdf {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fca5a5 !important;
    font-weight: 600;
    font-size: 12px !important;
    padding: 5px 10px !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.btn-export-pdf:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.25);
}

/* =========================================================================
   SIDEBAR MAIN ICONS & LABELS (PERFECT VERTICAL CENTER ALIGNMENT & PROPORTIONS)
   ========================================================================= */
.MainPanel {
    overflow: visible !important;
}

.sideBar {
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    text-align: center !important;
    padding: 6px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1040 !important;
    background-color: #06402B !important;
}

.mainContent {
    width: calc(100% - 86px) !important;
    transition: width 0.2s ease;
}

.mainContentFull {
    width: 100% !important;
}

.sideBarCollapse {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.sideBar .LogoBox {
    width: 100% !important;
    padding: 4px 0 8px 0 !important;
}

.sideBar .LogoBox img {
    max-width: 44px !important;
    margin: 0 auto !important;
    display: block !important;
}

.sideBar .navbar {
    padding: 0 !important;
    width: 100% !important;
    overflow: visible !important;
}

.sideBar .navbar-nav {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 3px !important;
    gap: 3px !important;
    overflow: visible !important;
}

.sideBar .navbar-nav > .nav-item {
    width: 100% !important;
    text-align: center !important;
    position: relative !important;
}

.sideBar .navbar-nav > .nav-item > .nav-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    padding: 4px 2px !important;
    border-radius: 6px !important;
    margin: 0 auto !important;
    transition: background-color 0.15s ease, transform 0.15s ease !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.sideBar .navbar-nav > .nav-item > .nav-link:hover,
.sideBar .navbar-nav > .nav-item > .nav-link.show {
    background: rgba(255, 255, 255, 0.14) !important;
}

.sideBar .nav-item-content,
.sideBar .navbar-nav > .nav-item > .nav-link > span {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.sideBar .nav-main-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    margin: 0 auto 2px auto !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-align: center !important;
    color: #ffffff !important;
}

.sideBar .nav-title {
    display: block !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-align: center !important;
    line-height: 1.15 !important;
    word-break: normal !important;
    white-space: normal !important;
    margin: 0 auto !important;
    padding: 0 2px !important;
    max-width: 100% !important;
    letter-spacing: 0.1px;
}

/* =========================================================================
   SIDEBAR FLYOUT DROPDOWN SUBMENU (DESKTOP HOVER & CLICK FLYOUTS)
   ========================================================================= */
.sideBar .dropdown-menu {
    border-radius: 8px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    min-width: 220px !important;
    padding: 6px 0 !important;
    background: #ffffff !important;
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    margin-left: 6px !important;
    z-index: 1060 !important;
}

.sideBar .dropdown-menu .dropdown-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    transition: all 0.15s ease !important;
    text-align: left !important;
    white-space: nowrap !important;
}

.sideBar .dropdown-menu .dropdown-item:hover,
.sideBar .dropdown-menu .dropdown-item.show {
    background-color: #06402B !important;
    color: #ffffff !important;
}

.sideBar .dropdown-menu .dropdown-item > span {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    text-align: left !important;
}

.sideBar .dropdown-menu .nav-sub-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    min-width: 20px !important;
    margin: 0 10px 0 0 !important;
    font-size: 14px !important;
    text-align: center !important;
}

.sideBar .dropdown-menu .sub-nav-title {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: inherit !important;
    text-align: left !important;
}

/* Multi-level flyouts inside dropdowns */
.sideBar .dropdown-menu > li.dropdown {
    position: relative !important;
}

.sideBar .dropdown-menu > li.dropdown > .dropdown-menu {
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    margin-left: 4px !important;
    z-index: 1070 !important;
}

/* Desktop Hover & Click Flyout Rules */
@media (min-width: 992px) {
    .sideBar .navbar-nav > .dropdown:hover > .dropdown-menu,
    .sideBar .navbar-nav > .dropdown > .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .sideBar .dropdown-menu > li.dropdown:hover > .dropdown-menu,
    .sideBar .dropdown-menu > li.dropdown > .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}




