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: 120px;
}

@media (max-width: 767.98px) {
  body {
    margin-bottom: 180px;
  }
}

/* Mobile responsive improvements */
@media (max-width: 991.98px) {
  /* Page headers: wrap title and buttons */
  .page-header-responsive {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .page-header-responsive .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }

  /* Compact card bodies on mobile */
  .card-body .table {
    font-size: 0.85rem;
  }

  /* Filter card: collapse on mobile */
  .filter-collapse-mobile .card-body {
    padding: 0.75rem;
  }
}