@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;1,300&family=Raleway:wght@900&display=swap');
.light-mode {
    background-color: #edf1f7;
    font-size: 12px;
}

.light-mode aside {
    background-color: #fff;
    color: #000;
}

.light-mode aside .nav-pills li a p {
    color: #000000;
}

.light-mode aside .nav-pills li a.active p {
    color: #ffffff;
    font-size: 12px;
}

.light-mode aside .nav-pills li a.active i {
    /* color: #ffffff !important; */
     color: #fff !important;
}

.light-mode aside .nav-pills .nav-treeview li a.active i {
    /* color: #007ea8 !important; */
        color:  #878dff !important;
}

.light-mode aside .nav-pills .nav-treeview li a.active p {
    /* color: #36f !important; */
        color:  #878dff !important;
}

.light-mode .card .card-header,
.light-mode .modal .modal-header,
nav #navcolor {
    /* background: linear-gradient(45deg, #316eb3 0, #1aa393 100%); */
        /* background: #878dff !important; */
        background: linear-gradient(45deg, #878dff 0, #8C46C8 100%) !important;
    color: #ffffff;
}

.light-mode .card .card-body {
    background-color: #fff;
}

.light-mode .info,
.light-mode .brand-link span.brand-text {
    color: #000;
}

.light-mode .os-content {
    border-top: #edf1f7 !important;
    border-bottom: #edf1f7 !important;
    border-right: #edf1f7 !important;
}

.light-mode aside i {
    color: #939fb6 !important;
    font-size: 1.1rem;
}

.light-mode aside .nav-treeview li a.active p {
    color: #000 !important;
}

.light-mode .elevation-4 {
    border-right: 1px solid #edf1f7 !important;
    box-shadow: none !important;
}

.light-mode .card .card-footer button[type="button"],
.light-mode .modal .modal-footer button[type="button"] {
   background: #878dff !important;
   border:none !important;
    /* background: linear-gradient(45deg, #316eb3 0, #1aa393 100%) !important; */
}

.light-mode button[data-dismiss="modal"]:not(.close).addcoloroat-left,
.light-mode #changePasswordModal button[data-dismiss="modal"]:not(.close) {
    background: linear-gradient(to right, #ff708d, #ff3d71) !important;
    border: #a16eff !important;
    color: #fff;
}

.light-mode .modal#addUser #addUsertoGroup {
    background: linear-gradient(45deg, #316eb3 0, #1aa393 100%) !important;
}

.light-mode button[type="reset"] {
    background: linear-gradient(to right, #ff708d, #ff3d71) !important;
    border: linear-gradient(to right, #ff708d, #ff3d71) !important;
    color: #Fff !important;
}

.light-mode .imgUp label {
    /* background: linear-gradient(45deg, #316eb3 0, #1aa393 100%) !important; */
        background: linear-gradient(90deg, #fce7f3, #878dff) !important;
    /* border: linear-gradient(45deg, #316eb3 0, #1aa393 100%) !important; */
    border: none !important;
}


/* .light-mode .card-header .add-new {
    background-color: #fff !important;
    color: #258ba2 !important;
} */

.light-mode .os-scrollbar-handle {
    background: linear-gradient(45deg, #316eb3 0, #1aa393 100%) !important;
}

.light-mode #myForm label {
    font-size: 12px !important;
    font-weight: 500 !important;
}

.light-mode .modal-header button {
    color: #fff !important;
}

.light-mode .ss-main .ss-single-selected {
    background-color: #fff !important;
    border: 1px solid linear-gradient(45deg, #316eb3 0, #1aa393 100%) !important;
    color: #000 !important;
}

.light-mode .ss-option,
.light-mode .ss-disabled {
    color: #000 !important;
}

.light-mode .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.dark-mode .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
        /* background:  #878dff; */
    color: #8C46C8 !important;
}

.ss-option {
    color: #fff;
}


/* cosmic theme */

.cosmic-mode {
    background-color: #1b1b38 !important;
}

.cosmic-mode aside {
    background-color: #323259 !important;
    color: #ffffff;
}

.cosmic-mode aside .nav-pills li a p {
    color: #b4b4db !important;
}

.cosmic-mode aside .nav-pills li a.active p {
    color: #ffffff !important;
}

.cosmic-mode .select2-results__message {
    color: #ffffff !important;
}

.cosmic-mode aside .nav-pills li a.active {
    background-color: #a16eff !important;
}

.cosmic-mode aside .nav-pills li a.active i {
    color: #ffffff !important;
}

.cosmic-mode aside .nav-pills .nav-treeview li a.active i {
    color: #a16eff !important;
}

.cosmic-mode aside .nav-pills .nav-treeview li a.active p {
    color: #a16eff !important;
}

.cosmic-mode .card .card-header,
.cosmic-mode .card .card-body,
.cosmic-mode .card .card-footer,
.cosmic-mode .main-footer {
    background-color: #323259 !important;
    color: #ffffff !important;
}

.cosmic-mode .content-wrapper {
    background-color: #1b1b38 !important;
}

.cosmic-mode .card .card-header {
    border-bottom: 1px solid#1b1b38 !important;
}

.cosmic-mode .card .card-footer {
    border-top: 1px solid#1b1b38 !important;
}

.cosmic-mode .info,
.cosmic-mode .brand-link span.brand-text {
    color: #fff;
}

.cosmic-mode .os-content {
    border-top: #edf1f7 !important;
    border-bottom: #edf1f7 !important;
    border-right: #edf1f7 !important;
}

.cosmic-mode aside i {
    color: #939fb6 !important;
}

.cosmic-mode aside .nav-treeview li a.active p {
    color: #000 !important;
}

.cosmic-mode aside .nav-treeview li a.active {
    background-color: transparent !important;
}

.cosmic-mode .elevation-4 {
    border-right: none !important;
    box-shadow: none !important;
}

.cosmic-mode .card .card-footer button[type="button"] {
    background: linear-gradient(to right, #b18aff, #a16eff) !important;
    border: none !important;
}

.cosmic-mode button[type="reset"] {
    background-color: #a16eff !important;
    border: #a16eff !important;
    color: #Fff !important;
}

.cosmic-mode .imgUp label {
    background: linear-gradient(to right, #b18aff, #a16eff) !important;
    border: #18a790 !important;
}

.cosmic-mode .imagePreview {
    background-color: #1b1b38;
}


/* .cosmic-mode .card-header .add-new {
    background-color: #fff !important;
    color: #258ba2 !important;
} */

.cosmic-mode .os-scrollbar-handle {
    background-color: #13132b !important;
}

.cosmic-mode .form-control:focus {
    background-color: #252547 !important;
    color: #fff !important;
}

.cosmic-mode .form-control {
    color: #fff !important;
}

.cosmic-mode .form-control:focus {
    background-color: transparent !important;
}

.cosmic-mode table.dataTable tbody tr {
    background-color: unset !important;
}

.cosmic-mode #myForm label {
    font-size: 12px !important;
}

.cosmic-mode .dataTables_length label {
    color: #fff !important;
}

.cosmic-mode .dataTables_filter label {
    color: #fff !important;
}

.cosmic-mode .dataTables_length label select {
    background-color: #1b1b38 !important;
    color: #fff !important;
}

.cosmic-mode .dataTables_filter label input {
    background-color: #1b1b38 !important;
    color: #fff !important;
}

.cosmic-mode .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    color: #fff !important;
}

.cosmic-mode .select2-container .select2-selection--single {
    background: #323259 !important;
}

.cosmic-mode .select2-search__field {
    background-color: #323259 !important;
    color: #fff;
}

.cosmic-mode .select2-container .select2-selection--single .select2-selection__rendered {
    color: #ffffffe8 !important;
}

.cosmic-mode .select2-container--bootstrap4 .select2-results>.select2-results__options {
    background: #192038 !important;
    color: #fff !important;
}

.cosmic-mode .select2-dropdown {
    background-color: #252547 !important;
    color: #fff !important;
}

.cosmic-mode .select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option[aria-selected=true]:hover {
    background-color: #a16eff !important;
}

.cosmic-mode nav {
    background-color: #323259 !important;
    color: #fff !important;
    border-bottom: none !important;
}

.cosmic-mode nav .nav-link {
    background-color: #323259 !important;
    color: #fff !important;
}

.cosmic-mode .dropdown-menu .card-body,
.cosmic-mode .dropdown-menu {
    background-color: #323259 !important;
    color: #fff;
}

.cosmic-mode .dropdown-menu {
    border: 1px solid #1b1b38 !important;
}

.cosmic-mode nav #navcolor {
    background: #323259 !important;
    color: #ffffff;
    border: 1px solid #1b1b38 !important;
}

.cosmic-mode .ss-content {
    background-color: #1b1b38;
}

.cosmic-mode .ss-search input {
    background-color: #1b1b38 !important;
    color: #fff;
}

.cosmic-mode .modal .modal-header {
    /* background-color: #323259 !important; */
    background: linear-gradient(to right, #323259, #1b1b38);
    color: #ffffff;
    border-bottom: 1px solid #1b1b38 !important;
}

.cosmic-mode span[aria-hidden="true"] {
    color: #fff
}

.cosmic-mode .modal .modal-body {
    background-color: #323259 !important;
    color: #ffffff;
}

.cosmic-mode .modal .modal-footer {
    background-color: #323259 !important;
    color: #ffffff;
    border-top: 1px solid #1b1b38 !important;
}

.cosmic-mode .form-control:disabled {
    background-color: #1b1b38 !important;
}

.cosmic-mode .modal-content {
    background-color: #323259 !important;
}

.cosmic-mode button[data-dismiss="modal"]:not(.close) {
    background-color: #a16eff !important;
    border: none !important;
}

.cosmic-mode .whitecolor {
    background-color: transparent !important;
}

.cosmic-mode table.table .form-control {
    background-color: transparent !important;
}

.cosmic-mode .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #fff !important;
    cursor: pointer !important;
}

.cosmic-mode .format {
    background-color: #252547;
    border: 1px solid #fff !important;
    color: #fff;
}

.cosmic-mode nav img {
    filter: brightness(1.5);
}

.isims1,
.isims {
    font-family: 'Raleway', sans-serif;
}

.isims1 {
    color: green;
}

.isims {
    color: #005298;
}

.sidebar-collapse aside .brand-image {
    position: relative;
    left: 2rem;
}

.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .brand-link {
    gap: 46px !important;
    position: relative;
    right: 1rem;
}


/* ============================================
   MODERN SIDEBAR STYLING - CSS ONLY - NO HTML CHANGES
   ============================================ */

/* Modern Sidebar Container */
.main-sidebar.sidebar-dark-primary {
    background: #ffffff !important;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05) !important;
    border-right: 1px solid #e9ecef !important;
}

/* Brand Link Area */
.main-sidebar .brand-link {
    background: white !important;
    border-bottom: 1px solid #e9ecef !important;
    padding: 20px 15px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Logo Image */
.main-sidebar .brand-image {
    max-width: 100px !important;
    height: auto !important;
    margin: 0 auto 10px auto !important;
    float: none !important;
}

/* Brand Text (DP WORLD / VMS) */
.main-sidebar .brand-text {
    font-size: 0.85rem !important;
    color: #6c757d !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    display: block !important;
    width: 100% !important;
}

/* Sidebar itself */
.main-sidebar .sidebar {
    background: white !important;
}

/* Navigation Container */
.main-sidebar .nav-sidebar {
    padding: 10px 0 !important;
}

/* All Navigation Items */
.main-sidebar .nav-item {
    margin-bottom: 2px !important;
}

/* All Navigation Links - DEFAULT STATE */
.main-sidebar .nav-link {
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    color: #495057 !important;
    border-radius: 8px !important;
    /* margin: 0 10px !important; */
    transition: all 0.3s ease !important;
    font-size: 0.9rem !important;
    background: transparent !important;
}

/* Navigation Links - HOVER STATE */
.main-sidebar .nav-link:hover {
    background: #f8f9fa !important;
    color: #8C46C8 !important;
}

/* Navigation Links - ACTIVE STATE (Purple Gradient) */
.main-sidebar .nav-sidebar > .nav-item > .nav-link.active,
.main-sidebar .nav-link.active {
    /* background: linear-gradient(90deg, #8C46C8 0%, #6a2d9a 100%) !important; */
    color: white !important;
    box-shadow: 0 2px 8px rgba(140, 70, 200, 0.3) !important;
}

/* Icons - DEFAULT */
.main-sidebar .nav-link i {
    margin-right: 12px !important;
    font-size: 16px !important;
    color: #6c757d !important;
    width: 20px !important;
    text-align: center !important;
}

/* Icons - HOVER */
.main-sidebar .nav-link:hover i {
    color: #8C46C8 !important;
}

/* Icons - ACTIVE */
.main-sidebar .nav-link.active i {
    color: white !important;
}

/* Navigation Text */
.main-sidebar .nav-link p {
    margin: 0 !important;
    flex: 1 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #000 !important;
}
.main-sidebar .nav-link p.active{
    color: #fff !important;
}



/* Right Arrow Icon */
.main-sidebar .nav-link .right {
    margin-left: auto !important;
    font-size: 12px !important;
}

/* Submenu (Treeview) */
.main-sidebar .nav-treeview {
    padding-left: 0 !important;
    background: transparent !important;
}

.main-sidebar .nav-treeview .nav-item {
    margin-left: 20px !important;
}

.main-sidebar .nav-treeview .nav-link {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
}

.main-sidebar .nav-treeview .nav-link i {
    font-size: 14px !important;
}

/* User Panel (if visible) */
.main-sidebar .user-panel {
    border-bottom: 1px solid #e9ecef !important;
}

.main-sidebar .user-panel .info h5,
.main-sidebar .user-panel .info p {
    color: #495057 !important;
}

/* Remove box-shadow from brand image */
.main-sidebar .brand-image.elevation-3 {
    box-shadow: none !important;
}

/* Override elevation class */
.main-sidebar.elevation-4 {
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05) !important;
}

/* Divider line after logo */
.sidebar-divider {
    height: 1px;
    background: #e9ecef;
    margin: 0;
}

/* Dark Mode Adjustments */
.dark-mode .main-sidebar.sidebar-dark-primary {
    background: #1e1e2d !important;
    border-right: 1px solid #2d2d3f !important;
}

.dark-mode .main-sidebar .brand-link {
    background: #1e1e2d !important;
    border-bottom: 1px solid #2d2d3f !important;
}

.dark-mode .main-sidebar .brand-text {
    color: #a0a0b0 !important;
}

.dark-mode .main-sidebar .sidebar {
    background: #1e1e2d !important;
}

.dark-mode .main-sidebar .nav-link {
    color: #a0a0b0 !important;
}

.dark-mode .main-sidebar .nav-link:hover {
    background: #27293d !important;
    color: #8C46C8 !important;
}

.dark-mode .main-sidebar .nav-link i {
    color: #a0a0b0 !important;
}

.dark-mode .main-sidebar .nav-link:hover i {
    color: #8C46C8 !important;
}

.dark-mode .sidebar-divider {
    background: #2d2d3f;
}

/* Cosmic Mode Adjustments */
.cosmic-mode .main-sidebar.sidebar-dark-primary {
    background: #1a1a2e !important;
    border-right: 1px solid #2d2d4a !important;
}

.cosmic-mode .main-sidebar .brand-link {
    background: #1a1a2e !important;
    border-bottom: 1px solid #2d2d4a !important;
}

.cosmic-mode .main-sidebar .brand-text {
    color: #9d9db5 !important;
}

.cosmic-mode .main-sidebar .sidebar {
    background: #1a1a2e !important;
}

.cosmic-mode .main-sidebar .nav-link {
    color: #9d9db5 !important;
}

.cosmic-mode .main-sidebar .nav-link:hover {
    background: #252542 !important;
    color: #8C46C8 !important;
}

/* Fix for child navigation items indentation */
.main-sidebar .nav-treeview .nav-item {
    margin-left: 0 !important;  /* Remove the margin */
}

.main-sidebar .nav-treeview .nav-link {
    padding: 10px 20px 10px 45px !important;  /* Increase left padding */
    font-size: 0.85rem !important;
    margin-left: 0 !important;
}

/* Light Mode - Child item styling */
.light-mode .main-sidebar .nav-treeview .nav-link {
    padding-left: 50px !important;  /* More indentation for clarity */
}

.light-mode .main-sidebar .nav-treeview .nav-link.active {
    background: rgba(135, 141, 255, 0.1) !important;  /* Light purple background */
    color: #878dff !important;
    border-left: 3px solid #8C46C8 !important;  /* Add left border indicator */
}

.light-mode .main-sidebar .nav-treeview .nav-link.active i {
    color: #878dff !important;
}

.light-mode .main-sidebar .nav-treeview .nav-link.active p {
    color: #878dff !important;
    font-weight: 500 !important;
}

/* Dark Mode - Child item styling */
.dark-mode .main-sidebar .nav-treeview .nav-link {
    padding-left: 50px !important;
}

.dark-mode .main-sidebar .nav-treeview .nav-link.active {
    background: rgba(140, 70, 200, 0.15) !important;
    border-left: 3px solid #8C46C8 !important;
}

/* Cosmic Mode - Child item styling */
.cosmic-mode .main-sidebar .nav-treeview .nav-link {
    padding-left: 50px !important;
}

.cosmic-mode .main-sidebar .nav-treeview .nav-link.active {
    background: rgba(161, 110, 255, 0.15) !important;
    border-left: 3px solid #a16eff !important;
}

/* ============================================
   CUSTOM THEME COLORS
   ============================================ */
:root {
    /* Primary Theme Colors */
    --primary-color: #5B6EDC;
    --primary-light: #7A7FE3;
    --primary-dark: #4A5BC4;
    
    /* Gradient */
    --primary-gradient: linear-gradient(135deg, #5B6EDC 0%, #7A7FE3 100%);
    --primary-gradient-hover: linear-gradient(135deg, #4A5BC4 0%, #5B6EDC 100%);
    
    /* Shadow with theme color */
    --primary-shadow: rgba(91, 110, 220, 0.3);
    --primary-shadow-light: rgba(122, 127, 227, 0.15);
    
    /* Background variations */
    --primary-bg-light: rgba(91, 110, 220, 0.1);
    --primary-bg-lighter: rgba(122, 127, 227, 0.05);
}

/* ============================================
   LIGHT MODE - UPDATED WITH NEW COLORS
   ============================================ */

.light-mode {
    background-color: #edf1f7;
    font-size: 12px;
}

.light-mode aside {
    background-color: #fff;
    color: #000;
}

.light-mode aside .nav-pills li a p {
    color: #000000;
}

.light-mode aside .nav-pills li a.active p {
    color: #ffffff;
    font-size: 12px;
}

.light-mode aside .nav-pills li a.active i {
    color: #fff !important; /* Updated */
}

.light-mode aside .nav-pills .nav-treeview li a.active i {
    color: #7A7FE3 !important; /* Updated */
}

.light-mode aside .nav-pills .nav-treeview li a.active p {
    color: #7A7FE3 !important; /* Updated */
}

.light-mode .card .card-header,
.light-mode .modal .modal-header,
nav #navcolor {
    /* background: linear-gradient(45deg, #5B6EDC 0%, #7A7FE3 100%) !important;  */
    background: linear-gradient(135deg, #EC407A, #1ae897, #46464e) !important;
    color: #ffffff;
}

.light-mode .card .card-body {
    background-color: #fff;
}

.light-mode .info,
.light-mode .brand-link span.brand-text {
    color: #000;
}

.light-mode .os-content {
    border-top: #edf1f7 !important;
    border-bottom: #edf1f7 !important;
    border-right: #edf1f7 !important;
}

.light-mode aside i {
    color: #939fb6 !important;
    font-size: 1.1rem;
}

.light-mode aside .nav-treeview li a.active p {
    color: #000 !important;
}

.light-mode .elevation-4 {
    border-right: 1px solid #edf1f7 !important;
    box-shadow: none !important;
}

.light-mode .card .card-footer button[type="button"],
.light-mode .modal .modal-footer button[type="button"] {
    background: linear-gradient(135deg, #5B6EDC 0%, #7A7FE3 100%) !important; /* Updated */
    border: none !important;
}

.light-mode button[data-dismiss="modal"]:not(.close).addcoloroat-left,
.light-mode #changePasswordModal button[data-dismiss="modal"]:not(.close) {
    background: linear-gradient(to right, #ff708d, #ff3d71) !important;
    border: #a16eff !important;
    color: #fff;
}

.light-mode .modal#addUser #addUsertoGroup {
    background: linear-gradient(45deg, #5B6EDC 0%, #7A7FE3 100%) !important; /* Updated */
}

.light-mode button[type="reset"] {
    background: linear-gradient(to right, #ff708d, #ff3d71) !important;
    border: linear-gradient(to right, #ff708d, #ff3d71) !important;
    color: #Fff !important;
}

.light-mode .imgUp label {
    background: linear-gradient(90deg, #fce7f3, #7A7FE3) !important; /* Updated */
    border: none !important;
}

.light-mode .os-scrollbar-handle {
    background: linear-gradient(45deg, #5B6EDC 0%, #7A7FE3 100%) !important; /* Updated */
}

.light-mode #myForm label {
    font-size: 12px !important;
    font-weight: 500 !important;
}

.light-mode .modal-header button {
    color: #fff !important;
}

.light-mode .ss-main .ss-single-selected {
    background-color: #fff !important;
    border: 1px solid #5B6EDC !important; /* Updated */
    color: #000 !important;
}

.light-mode .ss-option,
.light-mode .ss-disabled {
    color: #000 !important;
}

.light-mode .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.dark-mode .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    color: #5B6EDC !important; /* Updated */
}

/* ============================================
   MODERN SIDEBAR WITH NEW COLORS
   ============================================ */

/* Navigation Links - ACTIVE STATE */
.main-sidebar .nav-sidebar > .nav-item > .nav-link.active,
.main-sidebar .nav-link.active {
    /* background: linear-gradient(135deg, #5B6EDC 0%, #7A7FE3 100%) !important;  */
    background: linear-gradient(135deg, #EC407A, #1ae897, #46464e) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(91, 110, 220, 0.3) !important; /* Updated */
}

/* Navigation Links - HOVER STATE */
.main-sidebar .nav-link:hover {
    background: #f8f9fa !important;
    color: #5B6EDC !important; /* Updated */
}

/* Icons - HOVER */
.main-sidebar .nav-link:hover i {
    color: #5B6EDC !important; /* Updated */
}

/* Child item styling */
.light-mode .main-sidebar .nav-treeview .nav-link.active {
    background: rgba(91, 110, 220, 0.1) !important; /* Updated */
    color: #5B6EDC !important; /* Updated */
    border-left: 3px solid #5B6EDC !important; /* Updated */
}

.light-mode .main-sidebar .nav-treeview .nav-link.active i {
    color: #7A7FE3 !important; /* Updated */
}

.light-mode .main-sidebar .nav-treeview .nav-link.active p {
    color: #5B6EDC !important; /* Updated */
    font-weight: 500 !important;
}

/* ============================================
   DARK MODE WITH NEW COLORS
   ============================================ */

.dark-mode .main-sidebar .nav-link:hover {
    background: #27293d !important;
    color: #7A7FE3 !important; /* Updated */
}

.dark-mode .main-sidebar .nav-link:hover i {
    color: #7A7FE3 !important; /* Updated */
}

.dark-mode .main-sidebar .nav-link.active {
    background: linear-gradient(135deg, #5B6EDC 0%, #7A7FE3 100%) !important; /* Updated */
    box-shadow: 0 2px 8px rgba(91, 110, 220, 0.3) !important; /* Updated */
}

.dark-mode .main-sidebar .nav-treeview .nav-link.active {
    background: rgba(91, 110, 220, 0.15) !important; /* Updated */
    border-left: 3px solid #5B6EDC !important; /* Updated */
}

/* ============================================
   COSMIC MODE WITH NEW COLORS
   ============================================ */

.cosmic-mode aside .nav-pills li a.active {
    background-color: #5B6EDC !important; /* Updated */
}

.cosmic-mode aside .nav-pills li a.active i {
    color: #ffffff !important;
}

.cosmic-mode aside .nav-pills .nav-treeview li a.active i {
    color: #7A7FE3 !important; /* Updated */
}

.cosmic-mode aside .nav-pills .nav-treeview li a.active p {
    color: #7A7FE3 !important; /* Updated */
}

.cosmic-mode .card .card-footer button[type="button"] {
    background: linear-gradient(to right, #5B6EDC, #7A7FE3) !important; /* Updated */
    border: none !important;
}

.cosmic-mode button[type="reset"] {
    background-color: #5B6EDC !important; /* Updated */
    border: #5B6EDC !important; /* Updated */
    color: #Fff !important;
}

.cosmic-mode .imgUp label {
    background: linear-gradient(to right, #5B6EDC, #7A7FE3) !important; /* Updated */
    border: #18a790 !important;
}

.cosmic-mode .select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option[aria-selected=true]:hover {
    background-color: #5B6EDC !important; /* Updated */
}

.cosmic-mode .modal .modal-header {
    background: linear-gradient(to right, #323259, #1b1b38);
    color: #ffffff;
    border-bottom: 1px solid #1b1b38 !important;
}

.cosmic-mode button[data-dismiss="modal"]:not(.close) {
    background-color: #5B6EDC !important; /* Updated */
    border: none !important;
}

.cosmic-mode .main-sidebar .nav-link:hover {
    background: #252542 !important;
    color: #7A7FE3 !important; /* Updated */
}

.cosmic-mode .main-sidebar .nav-link.active {
    background: linear-gradient(135deg, #5B6EDC 0%, #7A7FE3 100%) !important; /* Updated */
}

.cosmic-mode .main-sidebar .nav-treeview .nav-link.active {
    background: rgba(91, 110, 220, 0.15) !important; /* Updated */
    border-left: 3px solid #7A7FE3 !important; /* Updated */
}

/* ============================================
   USER PROFILE DROPDOWN WITH NEW COLORS
   ============================================ */

.dropdown-menu .card-header#navcolor {
    background: linear-gradient(135deg, #5B6EDC 0%, #7A7FE3 100%) !important; /* Updated */
    padding: 20px !important;
    border: none !important;
}

.card-body .row .col-1 strong {
    color: #5B6EDC !important; /* Updated */
    font-weight: 500 !important;
}

.userIconNavbar i {
    color: #5B6EDC !important; /* Updated */
}

/* ============================================
   FOOTER WITH NEW COLORS
   ============================================ */

.main-footer {
    background: linear-gradient(90deg, #fce7f3, #7A7FE3) !important; /* Updated */
    text-align: end;
    color: white;
}

/* ============================================
   BUTTONS AND INTERACTIVE ELEMENTS
   ============================================ */

.btn-primary,
.light-mode .btn-primary {
    background: linear-gradient(135deg, #5B6EDC 0%, #7A7FE3 100%) !important; /* Updated */
    border: none !important;
    color: #fff !important;
}

.btn-primary:hover,
.light-mode .btn-primary:hover {
    background: linear-gradient(135deg, #4A5BC4 0%, #5B6EDC 100%) !important; /* Updated */
    box-shadow: 0 4px 12px rgba(91, 110, 220, 0.3) !important; /* Updated */
}

/* Links */
a:hover,
.nav-link:hover {
    color: #5B6EDC !important; /* Updated */
}

/* Form Focus States */
.form-control:focus {
    border-color: #7A7FE3 !important; /* Updated */
    box-shadow: 0 0 0 0.2rem rgba(122, 127, 227, 0.25) !important; /* Updated */
}

/* Checkboxes and Radio Buttons */
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #5B6EDC !important; /* Updated */
    border-color: #5B6EDC !important; /* Updated */
}

/* DataTables */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #5B6EDC 0%, #7A7FE3 100%) !important; /* Updated */
    border-color: #5B6EDC !important; /* Updated */
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #7A7FE3 !important; /* Updated */
    border-color: #7A7FE3 !important; /* Updated */
    color: #fff !important;
}

/* Badges */
.badge-primary {
    background-color: #5B6EDC !important; /* Updated */
}

/* Alerts */
.alert-primary {
    background-color: rgba(91, 110, 220, 0.1) !important; /* Updated */
    border-color: #7A7FE3 !important; /* Updated */
    color: #5B6EDC !important; /* Updated */
}

/* Progress Bars */
.progress-bar {
    background: linear-gradient(135deg, #5B6EDC 0%, #7A7FE3 100%) !important; /* Updated */
}

/* Tooltips */
.tooltip-inner {
    background-color: #5B6EDC !important; /* Updated */
}

.tooltip.bs-tooltip-top .arrow::before {
    border-top-color: #5B6EDC !important; /* Updated */
}

/* Scrollbar Styling */
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #5B6EDC 0%, #7A7FE3 100%) !important; /* Updated */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5B6EDC !important; /* Updated */
}

.light-mode .main-sidebar .nav-sidebar > .nav-item > .nav-link p {
    color: #000000 !important;
}

.light-mode .main-sidebar .nav-sidebar > .nav-item > .nav-link.active p {
    color: #ffffff !important;
}