.erp-header {
  width: 100%;
  background: #fff;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  position: relative;        
  transition: all 0.4s ease;
  z-index: 999;
}

.erp-header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  animation: slideDown 0.35s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.logo-text img {
  height: 28px;
}

.desktop-nav {
  display: flex;
  gap: 25px;
}

.header-link {
  color: #111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.header-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #6d007b;
  transition: 0.3s ease;
}

.header-link:hover::after {
  width: 100%;
}

.menu-button {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: block;
    font-size: 28px;
  }
}


@media screen and (max-width: 1200px) {
  header .logo-box {
    margin-left: 1rem;
  }
  header nav {
    margin-right: 1rem;
  }
}

.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0,0,0,0.15);
  transition: right 0.4s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #eee;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 600;
}

.sidebar-link {
  padding: 16px 18px;
  font-size: 17px;
  text-decoration: none;
  color: #222;
  border-bottom: 1px solid #f1f1f1;
}

.sidebar-link:hover {
  background: #f5f5f5;
}

/* Mobile only */
@media (min-width: 769px) {
  .sidebar {
    display: none;
  }
}