.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 180px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px 10px !important;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    border-radius: 15px 15px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .sidebar-logo {
    padding: 8px; /* Reduced padding to avoid excessive space */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the logo horizontally */
  }
  
  .sidebar-logo img {
    max-height: 28px; /* Adjusted height to fit better within the space */
    width: auto;
    object-fit: contain;
  }
  
  @media (max-width: 1199px) {
    .sidebar {
      left: -300px;
    }
  }
  
  .sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
  }
  
  .sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
  }
  
  @media (min-width: 1200px) {
    #main,
    #footer {
      margin-left: 225px;
    }
  }
  
  @media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
      left: 0;
    }
  }
  
  @media (min-width: 1200px) {
    .toggle-sidebar #main,
    .toggle-sidebar #footer {
      margin-left: 0;
    }
  
    .toggle-sidebar .sidebar {
      left: -300px;
    }
  }
  
  .sidebar-nav {
    padding: 0 10px;
    margin: 0;
    list-style: none;
    overflow-y: auto;
    margin-right: 32px;
    width: 194px;
    max-width: 198px;
  }
  .header-nav {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .sidebar-nav .nav-link span {
    font-size: 15px;
  }
  .sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .sidebar-nav .nav-item {
    margin-bottom: 15px;
    margin: 10px 0;
  }
  
  .sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 10px 0 5px 15px;
  }
  
  .sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #000; /* Default text color */
    padding: 10px 15px !important;
    margin-bottom: 5px; /* Space between links */
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    font-weight: 400;
    width: 95%;
    font-family: "Gilroy-Medium" !important;
    margin: 4px auto !important;
  }
  .sidebar-nav .nav-link.active {
    background-color: rgba(141, 144, 147, 0.1) !important;
    color: #3faefd; /* Active text color */
    border-radius: 6px;
    font-weight: 600;
  }
  .sidebar-nav .nav-link i,
  .sidebar-nav .nav-link svg {
    font-size: 22px;
    margin-right: 1px !important;
    color: #3da6f7; /* Default icon color */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition on hover and active */
  }
  .sidebar-nav .nav-link.active svg {
    opacity: 1 !important;
  }
  
  .sidebar-nav .nav-link i {
    .sidebar-nav .nav-link svg {
      color: #3da6f7; /* Default icon color */
    }
    font-size: 22px;
    margin-right: 10px;
    color: #3da6f7;
  }
  
  .sidebar-nav .nav-link svg {
    transition: color 0.15s ease-in;
  }
  
  .sidebar-nav .nav-link.collapsed {
    color: #000000;
    background: #fff;
  }
  
  .sidebar-nav .nav-link.collapsed i {
    color: #3da6f7;
  }
  
  .sidebar-nav .nav-link:hover {
    background-color: rgba(217, 217, 217, 0.2) !important;
    color: #3faefd !important;
    transform: scale(1.02); /* Slight enlargement on hover */
    text-decoration: none;
    width: 100%;
  }
  
  .sidebar-nav .nav-link:hover i,
  .sidebar-nav .nav-link:hover svg,
  .sidebar-nav .nav-link.active i,
  .sidebar-nav .nav-link.active svg {
    color: #3faefd; /* Brighter icon color on hover and active */
    transition: color 0.15s ease-in, none;
  }
  
  .sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
  }
  
  .sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
  }
  
  .sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
  }
  
  .sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #012970;
    transition: 0.3;
    padding: 8px 0 8px 30px;
    transition: 0.3s;
  }
  
  .sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
  }
  
  .sidebar-nav .nav-content a:hover,
  .sidebar-nav .nav-content a.active {
    color: #081538;
  }
  
  .sidebar-nav .nav-content a.active i {
    background-color: #081538;
  }
  .sidebar-nav .get-help {
    font-size: 14px;
    padding: 10px;
    border-radius: 6px;
    background-color: #f3f4f6;
    color: #3faefd;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .sidebar-nav .get-help:hover {
    background-color: #e0e7ff;
    color: #3a8bd0;
  }
  .iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
  }
  
  .iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
  }
  
  .iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
  }
  
  .iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
  }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
  }
  
  @media (min-width: 1200px) {
    #main,
    #footer {
        margin-left: 225px;
        width: calc(100% - 225px); /* Added width calculation */
        max-width: calc(100% - 225px); /* Added max-width */
    }
}
  
  .logo img {
    max-height: 32px;
    /* margin: 0 auto; */
    margin-left: 11px;
  }
  
  .logo span {
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: "Gilroy-Medium";
  }
  
  .header {
    transition: all 0.5s;
    z-index: 2;
    height: 48px;
    /* box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1); */
    background-color: #ebf0f4;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
  }
  
  .header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    cursor: pointer;
    color: #012970;
  }
  
  .header .search-bar {
    min-width: 680px;
    padding: 0 20px;
  }
  
  @media (max-width: 1199px) {
    .header .search-bar {
      position: fixed;
      top: 50px;
      left: 0;
      right: 0;
      padding: 20px;
      box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
      background: white;
      z-index: 9999;
      transition: 0.3s;
      visibility: hidden;
      opacity: 0;
    }
  
    .header .search-bar-show {
      top: 60px;
      visibility: visible;
      opacity: 1;
    }
  }
  
  .header .search-form {
    width: 100%;
  }
  
  .header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: var(--button-border-radius, 0.5rem);
    transition: 0.3s;
    width: 100%;
  }
  
  .header .search-form input:focus,
  .header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
  }
  
  .header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
  }
  
  .header .search-form button i {
    color: #012970;
  }
  
  /*--------------------------------------------------------------
  # Header Nav
  --------------------------------------------------------------*/
  .header-nav ul {
    list-style: none;
  }
  /* .header-nav ul li {
    background-color: red;
  } */
  
  .header-nav > ul {
    margin: 0;
    padding: 0;
  }
  
  .header-nav .nav-icon {
    font-size: 20px;
    color: #012970;
  }
  
  .header-nav .nav-profile {
    color: #012970;
  }
  
  .header-nav .nav-profile img {
    max-height: 36px;
  }
  
  .header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
  }
  
  .header-nav .badge-number {
    position: absolute;
    inset: 4px 6px auto auto;
    font-weight: normal;
    font-size: 11px;
    padding: 3px 6px;
  }
  
  .header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
  }
  
  .header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
  }
  
  .header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
  }
  
  .header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
  }
  
  .header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
  }
  
  .header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
  }
  
  .header-nav .messages .message-item a {
    display: flex;
  }
  
  .header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
  }
  
  .header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
  }
  
  .header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
  }
  
  .header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
  }
  
  .header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
  }
  
  .header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
  }
  
  .header-nav .profile .dropdown-header span {
    font-size: 14px;
  }
  
  .header-nav .profile .dropdown-item {
    font-size: 14px;
    transition: 0.3s;
  }
  
  /* User Porfile Dropdown*/
  
  .header-nav .user-info-dropdown-toggler {
    padding: 8px 12px;
    border-radius: 10px;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .header-nav .user-info-dropdown-toggler span {
    font-family: "Gilroy-Medium";
    font-weight: 700;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none !important;
    line-height: 15px;
  }
  
  .header-nav .user-info-dropdown {
    padding: 23px 12px;
    width: 240px;
    border-radius: 10px;
    top: 7px !important;
  }
  
  .header-nav .user-info-dropdown-toggler span::after {
    display: none !important;
  }
  
  .header-nav .user-info-dropdown li {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  
  .header-nav .user-info-dropdown li .col-md-6 {
    padding: 0 !important;
  }
  
  .header-nav .user-info-dropdown li h6 {
    font-family: "Gilroy-Bold";
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    text-transform: capitalize;
  }
  
  .header-nav .user-info-dropdown li p,
  .header-nav .user-info-dropdown li .version {
    margin: 0 !important;
    font-family: "Gilroy-Bold";
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: rgba(0, 0, 0, 0.5);
  }
  
  .header-nav .user-info-dropdown li .phone-number {
    font-family: "Gilroy-Bold";
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #000000;
    text-align: center;
  }
  
  .header-nav .user-info-dropdown li .line {
    width: 218px;
    height: 0px;
    margin: -5px auto;
    border: 0.5px dashed rgba(0, 0, 0, 0.25);
  }
  
  .header-nav .user-info-dropdown li .logout {
    text-decoration: none;
    font-family: "Gilroy-Bold";
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
  }
  
  .header-nav .user-info-dropdown li img {
    width: 65px;
    height: 62px;
  }
  
  .header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
  }
  
  .header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
  }
  

/* Leads Page Header Search Bar */

.leads-search-bar {
    padding: 6px 10px;
    gap: 10px;
  }
  
  .leads-search-bar i {
    font-size: 16px;
  }
  
  .leads-search-bar input {
    padding-left: 0 !important ;
    height: 32px;
  }
  
  .leads-search-bar input::placeholder {
    font-family: "Gilroy-Medium";
    font-weight: 700;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
  }    