/* Base tweaks */
code, pre { word-break: break-word; white-space: pre-wrap; }

/* Toasts */
.toast-container { z-index: 1080; }

/* Responsive helpers */
@media (max-width: 576px) {
  .navbar-brand { font-size: 0.95rem; }

  /* Filters row spacing */
  .filters .form-control,
  .filters .form-select,
  .filters button { margin-top: .5rem; }

  /* Table actions: tighter buttons on phones */
  .table .btn-group .btn { padding: .25rem .5rem; }
  .table .btn i { font-size: .9rem; }

  /* Make long cells wrap nicely */
  table td code { word-break: break-all; }
}

@media (max-width: 768px) {
  main { padding-left: .75rem; padding-right: .75rem; }
  .badge { font-size: .7rem; }
}

/* Forms */
.form-label { font-weight: 500; }
.document-item .card-body { padding: 1rem; }

