.navbar {
    /* background-color: rgb(51, 65, 85); */
    /* background: linear-gradient(to bottom, #5f8ee3 0%, #3f72cf 100%); */
    background: linear-gradient(to bottom, rgb(100, 125, 153) 0%, rgb(39, 68, 114) 100%);
    /* position: sticky;
    top: 0;
    z-index: 1000; */
  }
  .navbar-nav .nav-link {
      position: relative;
      font-size: 16px;
      font-weight: 500;
      margin-right: 5px;
      transition: color 0.2s;
      text-wrap: nowrap;
  }
  .navbar-nav .nav-link::after {
      content: '';
      display: block;
      width: 0;
      height: 2px;
      background: #f7f6f6;
      transition: width 0.3s;
      position: absolute;
      left: 0;
      bottom: -2px;
  }
  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
      width: 100%;
  }
  .container-nav-custom {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
  }
  .navbar-expand-lg .navbar-nav .nav-item{
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);

  }

  

  @media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link{
      padding-right: 0rem;
      padding-left: 0rem;
  
    }
  }
  @media (max-width: 1300px) {
    .navbar-nav .nav-link {
      position: relative;
      font-size: 14px;
      font-weight: 500;
      margin-right: 5px;
      transition: color 0.2s;
      text-wrap: nowrap;
  }
  }

  @media (max-width: 1200px) {
    .navbar-nav .nav-link {
      position: relative;
      font-size: 13px;
      font-weight: 500;
      margin-right: 5px;
      transition: color 0.2s;
      text-wrap: nowrap;
  }
  }
  @media (max-width: 1100px) {
    .navbar-nav .nav-link {
      position: relative;
      font-size: 12px;
      font-weight: 500;
      margin-right: 5px;
      transition: color 0.2s;
      text-wrap: nowrap;
  }
  }
  
  /* Styles for mobile menu */
  @media (max-width: 992px) {
    .offcanvas-body .nav-link {
      color: #ffffff !important;
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1.2rem;
      letter-spacing: 0.5px;
    }
    .offcanvas {
      background: var(--primary-gradient) !important;
    }
    .offcanvas-header {
      border-bottom: 1px solid #444;
    }
    .offcanvas .navbar-brand img {
      max-height: 80px;
    }
    .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
    
  }
  .navbar-brand img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
    opacity: 0.9;
    transition: opacity 0.3s ease;
  }
  
  .navbar-brand img:hover {
    transform: scale(1);
    opacity: 1;
  }
  
  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  
  .brand-text {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  .navbar-brand:hover .brand-text {
    color: #f8f9fa;
  }
  
  /* Responsive for mobile */
  @media (max-width: 768px) {
    .navbar-brand img {
      height: 40px;
      width: auto;
    }
  }
  
  @media (max-width: 576px) {
    .navbar-brand img {
      height: 35px;
      width: auto;
    }
  }

  .profile-sidebar-panel {
    width: min(430px, 100vw);
    background: linear-gradient(180deg, #6786a8 0%, #284b79 62%, #1f3f68 100%);
    color: #f6f8fb;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .profile-sidebar-panel .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
  }

  .profile-sidebar-panel .offcanvas-title {
    color: #f6f8fb;
    font-weight: 700;
    letter-spacing: 0.2px;
  }

  .profile-sidebar-panel .btn-close {
    filter: invert(1);
    opacity: 0.9;
  }

  .profile-sidebar-hero {
    text-align: center;
    padding: 1.25rem 1.25rem 1rem 1.25rem;
  }

  .profile-avatar-circle {
    width: 110px;
    height: 110px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  }

  .profile-avatar-circle i {
    font-size: 3rem;
    color: #f8fbff;
  }

  .profile-main-name {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.35rem;
    word-break: break-word;
  }

  .profile-main-email {
    color: rgba(243, 246, 250, 0.92);
    font-size: 1rem;
    margin-bottom: 0.9rem;
    word-break: break-word;
  }

  .profile-badges-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .profile-status-badge,
  .profile-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
  }

  .profile-status-badge i,
  .profile-role-badge i {
    font-size: 0.7rem;
  }

  .profile-status-badge.is-active {
    background: rgba(62, 213, 122, 0.2);
    color: #68f4a6;
    border: 1px solid rgba(104, 244, 166, 0.3);
  }

  .profile-status-badge.is-inactive {
    background: rgba(255, 111, 111, 0.2);
    color: #ffc1c1;
    border: 1px solid rgba(255, 193, 193, 0.35);
  }

  .profile-role-badge {
    background: rgba(255, 191, 94, 0.23);
    color: #ffd490;
    border: 1px solid rgba(255, 212, 144, 0.35);
  }

  .profile-details-card {
    margin: 0 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(3px);
    overflow: hidden;
  }

  .profile-detail-item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .profile-detail-item:last-child {
    border-bottom: 0;
  }

  .profile-detail-label {
    color: rgba(232, 240, 250, 0.82);
    font-size: 0.9rem;
  }

  .profile-detail-value {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
  }

  .profile-actions {
    display: grid;
    gap: 0.55rem;
  }

  .profile-action-btn {
    border-color: rgba(255, 255, 255, 0.35);
    color: #f7fbff;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 600;
  }

  .profile-action-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.55);
  }

  .profile-logout-btn {
    background: linear-gradient(180deg, #ff6767 0%, #e04747 100%);
    border-color: transparent;
  }

  .profile-logout-btn:hover {
    background: linear-gradient(180deg, #ff5b5b 0%, #cf3a3a 100%);
  }