/* ✅ Sidebar Blue Theme */
.sidebar .nav-link {
  transition: all 0.2s ease;
  border-radius: 8px;
  padding: 8px 12px;
  position: relative;
  color: #1e3a8a; /* Dark blue text */
  font-weight: 500;
}

.sidebar .nav-link:hover {
  background-color: #e0f2fe;
  color: #1d4ed8;
  box-shadow: 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Left highlight bar */
.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;
}

/* Icon tone */
.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);
}

/* Divider style */
.sidebar hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #dbeafe, #bfdbfe, #dbeafe);
  margin: 14px 0;
}

/* Active page */
.sidebar .nav-link.active {
  background-color: #dbeafe;
  color: #1e3a8a;
  font-weight: bold;
  box-shadow: inset 4px 0 0 #3b82f6;
}

/* Logout remains distinct red */
.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: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}


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

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

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

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

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


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

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

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