/* ✅ Sidebar Carbon Theme */
.sidebar .nav-link {
  transition: all 0.2s ease;
  border-radius: 8px;
  padding: 8px 12px;
  position: relative;
  color: #e2e8f0; /* Light text */
  font-weight: 500;
  background-color: transparent;
}

.sidebar .nav-link:hover {
  background-color: #1e293b;
  color: #60a5fa;
  box-shadow: 0 0 4px rgba(96, 165, 250, 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: #3b82f6;
}

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

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

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

.sidebar .nav-link.active {
  background-color: #1e293b;
  color: #60a5fa;
  font-weight: bold;
  box-shadow: inset 4px 0 0 #3b82f6;
}

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

.sidebar .nav-link[href*="logout.php"]:hover {
  background-color: #2e2e2e;
  box-shadow: 0 0 6px rgba(248, 113, 113, 0.25);
  color: #f87171;
}

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


/* ✅ Navbar Carbon */
.navbar-dark {
  background: #0f172a;
  box-shadow: 0 4px 6px rgba(0,0,0,0.6);
  border-bottom: 2px solid #3b82f6;
}

.navbar .navbar-brand img {
  height: 42px;
  filter: brightness(0.9) drop-shadow(0 0 2px rgba(255,255,255,0.1));
}

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

.navbar-nav .nav-link:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  box-shadow: 0 0 4px rgba(96, 165, 250, 0.3);
}

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


/* ✅ Footer Carbon */
.footer {
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  background: #0f172a;
  color: #cbd5e1;
  border-top: 2px solid #3b82f6;
  margin-top: 40px;
  box-shadow: inset 0 4px 6px rgba(0,0,0,0.5);
}

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

.footer a:hover {
  color: #93c5fd;
}
