/* 通用样式 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f5;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.25rem;
}

.sidebar {
  min-height: calc(100vh - 56px);
  background-color: #343a40;
  padding-top: 20px;
}

.sidebar .nav-link {
  color: #adb5bd;
  padding: 10px 20px;
  border-radius: 4px;
  margin: 5px 10px;
  transition: all 0.3s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  color: #fff;
  background-color: #495057;
}

.main-content {
  padding: 20px;
}

.card {
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.card-header {
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
  padding: 15px 20px;
}

.stats-card {
  text-align: center;
  padding: 20px;
}

.stats-card .number {
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
  margin: 10px 0;
}

.stats-card .label {
  color: #6c757d;
  font-size: 0.9rem;
}

.table th {
  border-top: none;
  font-weight: 600;
  color: #495057;
}

.btn-action {
  margin: 0 2px;
}

.modal-header {
  border-bottom: 1px solid #dee2e6;
}

.modal-footer {
  border-top: 1px solid #dee2e6;
}

.form-label {
  font-weight: 500;
  margin-bottom: 5px;
}

.required {
  color: #dc3545;
}

.page-header {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #dee2e6;
}

.page-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.badge-status {
  padding: 5px 10px;
  font-weight: 500;
}

.pagination {
  margin-top: 20px;
}

