/* ============ SIDEBAR NAVIGATION ============ */
    .sidebar {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      height: 100vh;
      position: fixed;
      left: 0;
      top: 0;
      overflow-y: auto;
      z-index: 50;
      transition: transform 0.3s ease;
      box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.06);
      border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    .sidebar.mobile-hidden {
      transform: translateX(-100%);
    }

    /* Logo Section */
    .sidebar-header {
      padding: 32px 24px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      background: linear-gradient(135deg, rgba(68, 215, 182, 0.05) 0%, rgba(31, 58, 101, 0.02) 100%);
      position: relative;
      overflow: hidden;
    }

    .sidebar-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle at 30% 40%, rgba(68, 215, 182, 0.1) 0%, transparent 50%);
      pointer-events: none;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: #1F3A65;
      transition: all 0.3s ease;
      position: relative;
      z-index: 2;
    }

    .logo:hover {
      transform: translateY(-2px);
    }

    .logo-icon {
      width: 44px;
      height: 44px;
      background: linear-gradient(135deg, #44D7B6 0%, #1F3A65 100%);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 700;
      font-size: 22px;
      box-shadow: 0px 6px 20px rgba(68, 215, 182, 0.4);
      position: relative;
      transition: all 0.3s ease;
    }

    .logo-icon::after {
      content: '';
      position: absolute;
      inset: -2px;
      background: linear-gradient(135deg, #44D7B6, #1F3A65);
      border-radius: 16px;
      z-index: -1;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .logo:hover .logo-icon {
      transform: rotate(5deg) scale(1.05);
      box-shadow: 0px 8px 25px rgba(68, 215, 182, 0.5);
    }
    .sidebar-logo-text{
      width: 25px;
      height: 25px;
    }

    .logo:hover .logo-icon::after {
      opacity: 0.3;
    }

    .logo-text {
      font-size: 1.1rem;
      font-weight: 700;
      color: #1F3A65;
      font-family: 'Satoshi', sans-serif;
    }

    /* Search Box */
    .search-container {
      padding: 20px 24px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .search-box {
      position: relative;
    }
    ul{
      padding: 0px;
    }

    .search-input {
      padding: 14px 20px 14px 44px;
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 8px;
      font-size: 14px;
      background: #F4F4F7;
      transition: all 0.3s ease;
      font-weight: 400;
    }

    .search-input:focus {
      outline: none;
      border-color: #1F3A65;
      background: white;
      box-shadow: 0 0 0 3px rgba(31, 58, 101, 0.1);
    }

    .search-input::placeholder {
      color: #999;
      font-weight: 400;
    }

    .search-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: #777;
      font-size: 16px;
    }


    /* Navigation Menu */
    .nav-menu {
      padding: 24px 0;
    }

    .nav-section {
      margin-bottom: 32px;
      position: relative;
    }

    .nav-section::before {
      content: '';
      position: absolute;
      left: 24px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(180deg, transparent 0%, rgba(68, 215, 182, 0.2) 20%, rgba(68, 215, 182, 0.2) 80%, transparent 100%);
      opacity: 0.5;
    }

    .nav-section-title {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 0 24px 12px;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
      position: relative;
      z-index: 1;
      background: rgba(255, 255, 255, 0.9);
    }

    .nav-section-title i {
      color: #44D7B6;
      font-size: 20px;
    }

    .nav-items {
      list-style: none;
      margin: 0px;
    }

    .nav-item {
      margin-bottom: 4px;
    }

    .nav-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 24px;
      text-decoration: none;
      color: #333D4B;
      font-size: 15px;
      font-weight: 500;
      transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
      border-left: 3px solid transparent;
      position: relative;
      overflow: hidden;
    }

    .nav-link::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(68, 215, 182, 0.1) 0%, rgba(31, 58, 101, 0.05) 100%);
      transform: translateX(-100%);
      transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .nav-link:hover::before {
      transform: translateX(0);
    }

    .nav-link:hover {
      color: #1F3A65;
      border-left-color: #44D7B6;
    }

    .nav-link.active {
      background: rgba(31, 58, 101, 0.08);
      color: #1F3A65;
      font-weight: 600;
      box-shadow: inset 0 0 0 1px rgba(31, 58, 101, 0.1);
    }

    .nav-link.active::after {
      content: '';
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      width: 6px;
      height: 6px;
      background: #44D7B6;
      border-radius: 50%;
      box-shadow: 0 0 0 2px rgba(68, 215, 182, 0.3);
    }

    .nav-link i {
      font-size: 18px;
      flex-shrink: 0;
      opacity: 0.8;
      transition: all 0.3s ease;
      position: relative;
      z-index: 1;
    }

    .nav-link:hover i {
      opacity: 1;
      transform: scale(1.1);
      color: #44D7B6;
    }

    /* Mobile Navbar */
.mobile-navbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 1200; /* above everything */
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Logo */
.mobile-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  height: 100%;
}

.mobile-logo div {
  display: inline-block;
}

.mobile-logo-text {
      color: #1F3A65;
      font-family: 'Satoshi', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
}

/* Hamburger button */
.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #1F3A65;
    transition: transform 0.3s ease;
}
/* Overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 56px; /* below navbar */
  left: 0;
  width: 100%;
  height: calc(100vh - 56px);
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1100; /* below toggle */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Sidebar slide effect on mobile */
@media (max-width: 768px) {
  .mobile-navbar {
    display: flex;
  }
  .logo-text{
    font-size: 18px;
  }

  .sidebar {
    top: 56px;
    left: 0;
    height: calc(100vh - 56px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    position: fixed;
    z-index: 1200;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    background: #fff;
  }

  .sidebar.active {
    transform: translateX(0);
  }
  .sidebar-header{
    padding:20px 20px ;
  }

  /* Optional: make links more visible on mobile */
  .sidebar .nav-link {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
  }
  .sidebar-logo-text{
    height: 25px;
    width:  25px;
  }
}