:root {
  --app-primary: #1f5f8b;
}

body {
  background: #f5f7fa;
}

.app-navbar {
  background-color: var(--app-primary) !important;
}

.brand-logo {
  height: 28px;
  width: auto;
  border-radius: 4px;
  background: #fff;
}

.login-logo {
  max-height: 72px;
  max-width: 200px;
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: 1.5rem;
  margin: 0;
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.stat-card .stat-label {
  color: var(--bs-secondary-color);
  font-size: .875rem;
}

.card {
  border: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

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

.checkbox-grid > div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: .25rem 1rem;
}

.audit-changes {
  font-size: .8rem;
  max-width: 28rem;
}

@media (max-width: 575.98px) {
  .page-header h1 { font-size: 1.25rem; }
  .table-responsive-stack thead { display: none; }
  .table-responsive-stack tr { display: block; border-bottom: 1px solid var(--bs-border-color); padding: .5rem 0; }
  .table-responsive-stack td { display: flex; justify-content: space-between; border: 0; padding: .15rem .5rem; }
  .table-responsive-stack td::before { content: attr(data-label); font-weight: 600; color: var(--bs-secondary-color); margin-right: 1rem; }
}
