html {
  scroll-behavior: smooth;
}

body {
  background-color: #f4f6f9;
  color: #212529;
}

.navbar-brand {
  letter-spacing: 0.2px;
}

.card {
  border: 0;
  border-radius: 14px;
}

.card.shadow-sm {
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.06) !important;
}

.card-metric {
  border-radius: 14px;
  background: #ffffff;
}

.metric-label {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.metric-value {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}

.table {
  margin-bottom: 0;
}

.table thead th {
  font-weight: 700;
  color: #495057;
  border-bottom-width: 1px;
}

.table td,
.table th {
  vertical-align: middle;
}

.alert {
  border-radius: 12px;
}

.alert-warning,
.alert-danger,
.alert-info,
.alert-secondary {
  margin-bottom: 0.5rem;
}

.btn {
  border-radius: 10px;
}

.btn-sm {
  border-radius: 8px;
}

form .form-control,
form .form-select {
  border-radius: 10px;
}

form .form-check-input {
  margin-top: 0.2rem;
}

.text-muted {
  color: #68707a !important;
}

.empty-state {
  padding: 2rem;
  text-align: center;
  color: #6c757d;
  background: #ffffff;
  border-radius: 14px;
}

.section-subtle {
  font-size: 0.95rem;
  color: #6c757d;
}

canvas {
  max-height: 260px;
}

.badge-soft-warning {
  background-color: #fff3cd;
  color: #856404;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}

.badge-soft-danger {
  background-color: #f8d7da;
  color: #842029;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}

.actions-inline {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

footer {
  font-size: 0.85rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.45em 0.6em;
  border-radius: 999px;
}