.main-menu .navbar-header .navbar-brand .brand-logo img {
    max-width: 33px;
    margin-right: 12px;
}

.row_click:hover {
    cursor: pointer;
    /* background-color: #F8F8F8; */
}

.lead_action_btn {
    text-align: right;
}

html .content.app-content {
    padding: calc(0rem + 0.45rem + 0.3rem) 2rem 0;
}

.bg-applied {
    --bs-bg-opacity: 1;
    color: #FF8C00 !important;
    background-color: #ff8c0024 !important;
}

.bg-progress {
    --bs-bg-opacity: 1;
    color: #6cc86c !important;
    background-color: #7de77d36 !important;
}

.bg-contact {
    --bs-bg-opacity: 1;
    background-color: rgba(115, 103, 240, .12);
    color: #9d61d6 !important;
}

.sub-text {
    font-size: 13px;
}

.move-right {
    text-align: right;
}
.op-light{
    color: #96954b !important;
    background-color: #96954b36 !important;
}
.da-light{
    color:#534b96 !important;
    background-color: #534b961f !important;
}
.pw-light{
    color: #6daeb4 !important;
    background-color: #6daeb436 !important;
}

.blockOverlay{
    z-index: 1055!important;
}
.blockElement{
    z-index: 1055!important;
}

.toast-info {
    background-color: black !important; /* Change the background color to black */
    color: white !important; /* Ensure the text is visible on the black background */
}


.main-menu-content {
    position: relative;
    padding-bottom: 60px; /* Adjust this value based on your sidebar height and spacing */
  }
  
  .sidebar-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #10163a; /* Match with your sidebar background */
    border-top: 1px solid #606164e0; /* Optional: Adds a border for separation */
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .sidebar-bottom-contract {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #161617; /* Match with your sidebar background */
    border-top: 1px solid #606164e0; /* Optional: Adds a border for separation */
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .sidebar-bottom .username {
    font-weight: bold;
  }
  
  .sidebar-bottom a {
    display: flex;
    align-items: center;
  }

  .main-menu.menu-contract {
    color: #DCDCDC;
    background: #161617;
}
.main-menu.menu-contract .navigation {
    background: #161617;
}
.main-menu.menu-contract .navigation li a {
    color: #ededed;
    padding: 10px 15px;
    line-height: 1.45;
}
.brand-text{
    color: #ffffff !important;
    font-weight: 500 !important;
    padding: 0 !important;
}

.sidebar-bottom .username {
    display: none; /* Hide the username by default */
}

.main-menu:hover .sidebar-bottom .username {
    display: inline; /* Show the username on hover */
}
/* Base badge look */
.notification-badge{
    font-size: 0.60rem;
    min-width: 18px;
    min-height: 18px;
    line-height: 1;
    margin-left: -11px;
    display: inline-block;
  
    /* Animation bits */
    opacity: 1;
    transform-origin: top right;
    transition: opacity .18s ease, transform .18s ease;
  }
  
  /* Smoothly hide when menu is expanded */
  .main-menu.expanded .notification-badge{
    opacity: 0;
    transform: scale(.65);
    pointer-events: none; /* optional: avoid hover while hidden */
  }
  
  /* Respect users who prefer less motion */
  @media (prefers-reduced-motion: reduce) {
    .notification-badge { transition: none; }
  }
  .main-menu .shadow-bottom{
    background: linear-gradient(#161617 41%, rgba(22,22,23,0.11) 95%, rgba(22,22,23,0));
  }

  /* Impersonation Mode Styles */
  .main-menu.impersonate-mode {
    background: #2c2c2c !important;
    filter: grayscale(100%);
  }
  .main-menu.impersonate-mode .navigation {
    background: #2c2c2c !important;
  }
  .main-menu.impersonate-mode .navbar-header {
    background: #1a1a1a !important;
  }
  .main-menu.impersonate-mode .shadow-bottom {
    background: linear-gradient(#1a1a1a 41%, rgba(26,26,26,0.11) 95%, rgba(26,26,26,0));
  }
  .main-menu.impersonate-mode .sidebar-bottom,
  .main-menu.impersonate-mode .sidebar-bottom-contract {
    background: #1a1a1a !important;
    filter: grayscale(0%);
  }
  .main-menu.impersonate-mode .sidebar-bottom .btn-warning {
    filter: grayscale(0%);
  }

  /* Impersonation Overlay - Right Side */
  .impersonate-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    animation: slideIn 0.3s ease-out;
  }

  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(100px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .impersonate-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
  }

  .impersonate-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .impersonate-icon svg {
    width: 20px;
    height: 20px;
    color: #000;
    stroke: #000;
  }

  .impersonate-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .impersonate-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f59e0b;
    font-weight: 600;
  }

  .impersonate-user {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
  }

  .impersonate-role {
    font-size: 11px;
    color: #9ca3af;
  }

  .btn-stop-impersonate {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-left: 8px;
  }

  .btn-stop-impersonate svg {
    width: 16px;
    height: 16px;
    color: #fff;
    stroke: #fff;
  }

  .btn-stop-impersonate span {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
  }

  .btn-stop-impersonate:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  }

  /* Responsive adjustments */
  @media (max-width: 576px) {
    .impersonate-overlay {
      right: 10px;
      left: 10px;
      top: 10px;
    }
    .impersonate-content {
      padding: 10px 12px;
      gap: 10px;
    }
    .impersonate-icon {
      width: 32px;
      height: 32px;
    }
    .impersonate-icon svg {
      width: 16px;
      height: 16px;
    }
    .impersonate-user {
      font-size: 12px;
    }
    .btn-stop-impersonate {
      padding: 6px 10px;
    }
  }
  