* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background: #f5f6fa;
}
.sidebar {
  width: 250px;
  background: #2c3e50;
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  color: white;
}
.sidebar-header {
  padding: 25px 20px;
  background: #34495e;
  border-bottom: 1px solid #465a6e;
}
.sidebar-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.sidebar-menu li {
  margin: 5px 0;
}
.sidebar-menu a {
  display: block;
  padding: 12px 20px;
  color: #ecf0f1;
  text-decoration: none;
  transition: all 0.3s;
}
.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: #34495e;
  border-left: 3px solid #3498db;
  padding-left: 17px;
}
.main-content {
  margin-left: 250px;
  padding: 0;
}
.topbar {
  background: white;
  padding: 20px 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3498db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}
.dashboard-content {
  padding: 30px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.stat-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.stat-card h3 {
  font-size: 32px;
  font-weight: 700;
  margin: 10px 0;
  color: #2c3e50;
}
.stat-card p {
  margin: 0;
  color: #7f8c8d;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 15px;
}
.stat-card.blue .icon {
  background: #e3f2fd;
  color: #2196f3;
}
.stat-card.green .icon {
  background: #e8f5e9;
  color: #4caf50;
}
.stat-card.orange .icon {
  background: #fff3e0;
  color: #ff9800;
}
.stat-card.purple .icon {
  background: #f3e5f5;
  color: #9c27b0;
}
.content-section {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}
.content-section h5 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  padding-bottom: 15px;
  border-bottom: 2px solid #ecf0f1;
}
.table {
  margin: 0;
}
.table thead th {
  background: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  color: #495057;
  font-weight: 600;
  font-size: 14px;
  padding: 12px;
}
.table tbody td {
  padding: 12px;
  vertical-align: middle;
  font-size: 14px;
}
.badge {
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}
.btn-action {
  padding: 5px 12px;
  font-size: 13px;
  border-radius: 4px;
}
