/* ✅ Sidebar Purple Theme */
.sidebar .nav-link {
  transition: all 0.2s ease;
  border-radius: 8px;
  padding: 8px 12px;
  position: relative;
  color: #5b21b6;
  font-weight: 500;
}

.sidebar .nav-link:hover {
  background-color: #f5f3ff;
  color: #7c3aed;
  box-shadow: 0 0 4px rgba(139, 92, 246, 0.15);
}

.sidebar .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background-color: transparent;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.sidebar .nav-link:hover::before {
  background-color: #a855f7;
}

.sidebar .nav-link i {
  margin-right: 8px;
  transition: transform 0.3s ease;
  color: #a855f7;
}

.sidebar .nav-link:hover i {
  transform: rotate(-3deg) scale(1.1);
}

.sidebar hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #ede9fe, #f3e8ff, #ede9fe);
  margin: 14px 0;
}

.sidebar .nav-link.active {
  background-color: #ede9fe;
  color: #5b21b6;
  font-weight: bold;
  box-shadow: inset 4px 0 0 #a855f7;
}

.sidebar .nav-link[href*="logout.php"] {
  color: #dc3545;
}

.sidebar .nav-link[href*="logout.php"]:hover {
  background-color: #ffe6e6;
  box-shadow: 0 0 6px rgba(220, 53, 69, 0.25);
  color: #dc3545;
}

.sidebar-menu-box {
  background: #fefcff;
  border: 1px solid #ede9fe;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}


/* ✅ Navbar Purple */
.navbar-dark {
  background: linear-gradient(135deg, #1f1f1f, #2c2c2c);
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  border-bottom: 2px solid #a855f7;
}

.navbar .navbar-brand img {
  height: 42px;
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
}

.navbar-nav .nav-link {
  color: #f5f3ff;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 6px;
  padding: 6px 12px;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(237, 233, 254, 0.1);
  color: #a855f7;
  box-shadow: 0 0 4px rgba(168, 85, 247, 0.3);
}

.navbar-nav .nav-link i {
  margin-right: 6px;
  color: #a855f7;
}


/* ✅ Footer Purple */
.footer {
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  background: #1a1a1a;
  color: #f5f3ff;
  border-top: 2px solid #a855f7;
  margin-top: 40px;
  box-shadow: inset 0 4px 6px rgba(0,0,0,0.3);
}

.footer a {
  color: #a855f7;
  text-decoration: underline;
}

.footer a:hover {
  color: #d8b4fe;
}
