body {
  font-family: 'Cairo', sans-serif;
  background-color: #f8fafc;
}
/* Sidebar */
.sidebar {
  height: 100vh;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  color: white;
  position: fixed;
  top: 0; right: 0;
  width: 250px;
  padding-top: 60px;
  transition: all 0.3s;
  z-index: 1000;
}
.sidebar h4 {
  color: #ffffff;
  font-weight: bold;
}
.sidebar a {
  color: #cbd5e1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  transition: 0.3s;
  font-size: 15px;
  border-radius: 8px;
  margin: 3px 10px;
}
.sidebar a:hover, .sidebar a.active {
  background: #334155;
  color: #ffffff;
}
/* Overlay for mobile sidebar */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,41,59,0.4);
  z-index: 999;
}
.sidebar.active ~ .sidebar-overlay {
  display: block;
}
/* Content */
.content {
  margin-right: 250px;
  padding: 20px;
  transition: margin-right 0.3s;
}
@media (max-width: 991px) {
  .sidebar { right: -250px; }
  .sidebar.active { right: 0; }
  .content { margin-right: 0; }
  .sidebar-overlay { display: none; }
  .sidebar.active ~ .sidebar-overlay { display: block; }
}
/* Navbar */
.navbar {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 10px 15px;
}
.navbar input {
  border-radius: 12px;
}
/* Cards */
.card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  transition: all 0.25s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.stat-icon {
  font-size: 30px;
  opacity: 0.9;
}
