:root {
  --primary: #4361ee;
  --primary-dark: #3145c4;
  --sidebar-bg: #1a1d29;
  --sidebar-active: #4361ee;
}
* { font-family: 'Hind Siliguri', 'Poppins', sans-serif; }
body { background: #f4f6fb; }

/* Sidebar */
.admin-sidebar {
  width: 250px; min-height: 100vh; background: var(--sidebar-bg); color: #c9cbdc;
  position: fixed; top: 0; left: 0; padding-top: 20px; z-index: 100;
}
.admin-sidebar .brand { color: #fff; font-weight: 700; font-size: 1.2rem; padding: 0 20px 20px; display: block; text-decoration: none; }
.admin-sidebar .nav-link { color: #c9cbdc; padding: 12px 20px; border-radius: 0; display: flex; align-items: center; gap: 10px; }
.admin-sidebar .nav-link.active, .admin-sidebar .nav-link:hover { background: var(--sidebar-active); color: #fff; }
.admin-content { margin-left: 250px; padding: 28px; min-height: 100vh; }

@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); transition: .3s; }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-content { margin-left: 0; }
}

/* Topbar */
.admin-topbar { background: #fff; padding: 14px 24px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.05); margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; }

/* Cards */
.stat-card { background: #fff; border-radius: 14px; padding: 22px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.stat-card .icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; }
.stat-card h3 { font-weight: 700; margin: 10px 0 0; }

.admin-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }

/* Login page */
.login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#4361ee,#f72585); }
.login-box { background: #fff; border-radius: 18px; padding: 40px; width: 100%; max-width: 400px; box-shadow: 0 10px 40px rgba(0,0,0,.2); }

/* Table */
.table thead { background: #f4f6fb; }
.app-thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }

/* Type toggle */
.type-toggle .btn { border-radius: 10px; }
