.sidebar-wrapper {
    background-color: #1a1a3a; 
    color: white; 
}

.sidebar-wrapper .menu-text,
.sidebar-wrapper .menu-title span,
.sidebar-wrapper .nav-icon {
    color: white; 
}

.sidebar-wrapper a {
    color: white; 
    text-decoration: none; 
}

.sidebar-wrapper a:hover {
    color: #ffffff; 
}

.sidebar-wrapper {
    background-color: #1a1a3a; 
    color: white; 
}

.sidebar-wrapper .menu-text,
.sidebar-wrapper .menu-title span,
.sidebar-wrapper .nav-icon {
    color: white !important; 
}

.sidebar-wrapper a {
    color: white !important; 
    text-decoration: none; 
}

.sidebar-wrapper a:hover {
    color: #ffffff; 
}

.sidebar-wrapper .sidebar_nav li.active > a,
.sidebar-wrapper .sidebar_nav li.active > a .menu-text,
.sidebar-wrapper .sidebar_nav li.active > a .nav-icon {
    color: #ffffff !important; 
}

.sidebar-wrapper .nav-icon {
    font-size: 18px; 
    color: white !important; 
}

.sidebar-wrapper .nav-icon:hover {
    color: #ffffff; 
}



.sidebar-nav-item {
    color: white;
}

.sidebar-nav-item span {
    color: white;
}


.link-white {
    color: white;
}

.text-white {
    color: white;
}



/* Default Sidebar Link Styling */
.sidebar_nav a {
    color: white; /* Default text color */
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    background-color: transparent; /* Default background */
    border-radius: 0; /* Remove rounded corners */
}

/* Hover Styling */
/* .sidebar_nav a:hover {
    background-color: #4F69AC; /* Hover background color */
    /*color: #ffffff !important; /* Hover text color */
    /*border-radius: 0; /* Ensure rectangular hover */
/*}*/

/* Active Link Styling */
/* .sidebar_nav .active a, .sidebar_nav a.active {
    background-color: #4F69AC !important; /* Active background color */
    /* color: #ffffff !important; /* Active text color */
    /* border-radius: 0; Ensure rectangular active style */
/* } */

/* Sidebar Active Parent Link */
.sidebar__menu-group ul.sidebar_nav li.active {
    background-color: #4F69AC !important; /* Active background for parent items */
    color: #ffffff !important; /* Active text color */
    border-radius: 0; /* Rectangular parent active style */
}

/* Submenu Styling */
.sidebar_nav ul {
    background-color: #2A2D42 !important; /* Submenu background color */
    border: none; /* Remove borders if present */
    padding: 0;
    border-radius: 0; /* Ensure rectangular submenu */
}

.sidebar_nav ul li a {
    color: #ffffff; /* Submenu link text color */
    padding-left: 25px; /* Indentation for submenu links */
    background-color: transparent; /* Default submenu background */
    border-radius: 0; /* Rectangular submenu style */
}

/* Submenu Hover Styling */
.sidebar_nav ul li a:hover {
    background-color: #4F69AC; /* Submenu hover background */
    color: #ffffff; /* Submenu hover text color */
    border-radius: 0; /* Ensure rectangular hover style */
}

/* Submenu Active Styling */
.sidebar_nav ul li.active > a {
    background-color: #4F69AC; /* Submenu active background */
    color: #ffffff; /* Submenu active text color */
    border-radius: 0; /* Ensure rectangular active style */
}

/* Sidebar Parent Link Hover */
.sidebar_nav li a:hover, .sidebar_nav li:hover > a {
    background-color: #4F69AC !important; /* Uniform hover background */
    color: #ffffff !important; /* Uniform hover text color */
    border-radius: 0; /* Ensure rectangular hover style */
}

/* Dropdown Overflowing Fix */
.sidebar_nav li ul {
    background-color: #181948 !important; /* Dropdown menu background color */
    box-shadow: none; /* Remove shadows */
    padding: 5px 0; /* Optional padding */
    border-radius: 0; /* Rectangular dropdown */
}


/* Remove Borders */
.sidebar_nav li ul li {
    border: none !important; /* Remove border from dropdown items */
   border-radius: 0; /* Ensure rectangular items */
}

/* Font Consistency */
.sidebar_nav a, .sidebar_nav ul li a {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff; /* Consistent text color */
    border-radius: 0; /* Rectangular style everywhere */
}
.sidebar_nav ul li a:hover {
    border-radius: 0 !important;
}


.sidebar_nav ul li.active > a {
    background-color: #4F69AC !important;
    border-radius: 0 !important;
}

.sidebar_nav ul,
.sidebar_nav li,
.sidebar_nav ul li a {
    border-radius: 0 !important;
    overflow: hidden; /* Prevent any child elements from affecting shape */
}

.sidebar.collapsed .sidebar__menu-group .has-child ul li a {

    width: 100%;
  
    height: auto;
  
    padding:
  
  8px 5px;
  
    text-align: left;
  
    justify-content: flex-start;
  
  }
   
  .sidebar__menu-group ul.sidebar_nav li.has-child ul li a {
    margin-left: 3px;
  }
  



