body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f6f9;
}

.sidebar {
  width: 250px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  background: #212529;
  color: white;
  padding: 1rem;
  z-index: 1000;
  transition: transform 0.3s;
  overflow-y: auto;
}

.sidebar a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  border-radius: 6px;
  transition: all 0.2s;
}

.sidebar a:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.sidebar-toggle {
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1100;
  background: #212529;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.admin-content {
  margin-left: 250px;
}

.status-select { min-width: 140px; }
.card { border-radius: 12px; }

@media (max-width: 768px) {
  .sidebar-toggle { display: block; }
  .sidebar { transform: translateX(-100%); padding: 0.75rem; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop.show { display: block; }
  .sidebar a { padding: 0.4rem 0.75rem; font-size: 0.9rem; }
  .sidebar h5 { font-size: 1rem; margin-bottom: 0.75rem !important; }
  .admin-content { margin-left: 0; padding: 0.75rem !important; }
  .admin-content h2 { font-size: 1.2rem; }
  .admin-content h4 { font-size: 1rem; }
  .btn { font-size: 0.8rem; padding: 0.3rem 0.6rem; }
  .btn-lg { font-size: 0.85rem; padding: 0.4rem 0.7rem; }
  .card-body { padding: 0.75rem !important; }
  .dashboard-card h1 { font-size: 1.2rem; }
  .dashboard-card h2 { font-size: 1rem; }
  .dashboard-card p { font-size: 0.7rem; }
  .table td, .table th { padding: 0.3rem !important; font-size: 0.75rem; white-space: normal; word-break: break-word; }
  .table-responsive { overflow-x: hidden !important; }
  .table-responsive table { min-width: 0 !important; width: 100% !important; }
  .status-select { min-width: 80px; font-size: 0.7rem; padding: 0.2rem; }
  .modal-dialog { margin: 0.5rem; }
  .modal-body { padding: 0.75rem; }
  .modal-header { padding: 0.75rem; }
  .modal-footer { padding: 0.75rem; }
  .form-control, .form-select { font-size: 0.8rem; }
  .col-hide-mobile { display: none !important; }
}

@media (max-width: 480px) {
  .sidebar { width: 220px; padding: 0.5rem; }
  .sidebar a { padding: 0.3rem 0.6rem; font-size: 0.85rem; }
  .admin-content { padding: 0.5rem !important; }
  .admin-content h2 { font-size: 1.1rem; }
  .btn-sm { font-size: 0.65rem; padding: 0.15rem 0.3rem; }
  .badge { font-size: 0.6rem; }
  .table td, .table th { padding: 0.2rem !important; font-size: 0.7rem; }
  .dashboard-card h1 { font-size: 1rem; }
  .dashboard-card h2 { font-size: 0.9rem; }
  .dashboard-card p { font-size: 0.65rem; }
  .status-select { min-width: 70px; font-size: 0.65rem; }
  .modal-dialog { margin: 0.25rem; }
}
