html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.page-header {
  border-left: 4px solid #0d6efd;
  padding-left: 12px;
}

.state-message {
  color: #6c757d;
  font-size: 0.95rem;
}

.table td code {
  color: #0a58ca;
}

.logs-toolbar {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
}

.log-detail-panel {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.log-detail-panel dd {
  margin-bottom: 0.4rem;
  overflow-wrap: anywhere;
}

#users-table td:last-child,
#reports-table td:last-child {
  min-width: 320px;
}

.metric-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  height: 100%;
  padding: 0.9rem;
}

.metric-title {
  color: #495057;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.metric-value {
  color: #0d6efd;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.analytics-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.analytics-placeholder {
  background: #fff3cd;
  border: 1px solid #ffe69c;
  border-radius: 0.5rem;
  color: #664d03;
  margin-bottom: 0;
  padding: 0.75rem;
}
