.sidebar .nav-link {
  transition: all 0.2s ease;
  border-radius: 8px;
  padding: 8px 12px;
  position: relative;
  color: #b34709;
  font-weight: 500;
}

.sidebar .nav-link:hover {
  background-color: #fff4e5;
  color: #c4550b;
  box-shadow: 0 0 4px rgba(249, 115, 22, 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: #f97316;
}

/* Icon tone */
.sidebar .nav-link i {
  margin-right: 8px;
  transition: transform 0.3s ease;
  color: #f97316;
}

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

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

/* Active page */
.sidebar .nav-link.active {
  background-color: #ffe7d0;
  color: #b34709;
  font-weight: bold;
  box-shadow: inset 4px 0 0 #f97316;
}

/* 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: #fffdfc;
  border: 1px solid #fef2e4;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}

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

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

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

.navbar-nav .nav-link:hover {
  background-color: rgba(255,244,229,0.1);
  color: #f97316;
  box-shadow: 0 0 4px rgba(249, 115, 22, 0.3);
}

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

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

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

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