body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #f8f9fa;
}

.sidebar {
  min-height: 100vh;
  background: linear-gradient(180deg, #0d6efd 0%, #0a58ca 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  z-index: 1000;
  padding-top: 60px;
  transition: transform 0.3s ease;
}

.sidebar .nav-link {
  color: rgba(255,255,255,0.85);
  padding: 12px 20px;
  border-radius: 0;
  transition: all 0.2s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

.sidebar .nav-link i {
  width: 24px;
  text-align: center;
  margin-right: 8px;
}

.main-content {
  margin-left: 250px;
  padding: 20px;
  min-height: 100vh;
}

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

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-card {
  border-left: 4px solid;
}

.stat-card.primary { border-left-color: #0d6efd; }
.stat-card.success { border-left-color: #198754; }
.stat-card.warning { border-left-color: #ffc107; }
.stat-card.danger { border-left-color: #dc3545; }
.stat-card.info { border-left-color: #0dcaf0; }

.btn {
  border-radius: 8px;
  font-weight: 500;
}

.table th {
  font-weight: 600;
  color: #495057;
  border-top: none;
  background: #f8f9fa;
}

.table td {
  vertical-align: middle;
}

.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.form-control:focus, .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.15);
}

.modal-content {
  border-radius: 16px;
  border: none;
}

.modal-header {
  border-bottom: 1px solid #e9ecef;
}

.badge {
  font-weight: 500;
  padding: 0.5em 0.8em;
  border-radius: 6px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #495057;
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.chart-container {
  position: relative;
  height: 300px;
}
