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;
}

/* Print layout — used by Print report button on /Security/Scans/Details */
@media print {
  /* Hide chrome that doesn't belong in a printed report */
  header,
  footer,
  nav,
  .navbar,
  .no-print,
  form,
  a[asp-page-handler],
  .btn,
  .alert-warning {
    display: none !important;
  }

  body {
    margin: 0;
    background: #fff;
    color: #000;
  }

  .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
  }

  /* Expand collapsed technical fix blocks so they appear in print */
  details {
    display: block !important;
  }
  details > summary {
    list-style: none;
    font-weight: 600;
    margin-top: 0.25rem;
  }
  details[open] > *,
  details > * {
    display: block !important;
  }

  /* Avoid splitting finding cards across pages where possible */
  .card {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }

  /* Bootstrap badges print as outlined boxes — good enough */
  .badge {
    border: 1px solid #555;
    color: #000 !important;
    background: #fff !important;
  }

  /* Wider checks table */
  table { width: 100% !important; }
}