/* PHC – Blazor-specific overrides. No Tailwind. */

#blazor-error-ui {
  background: #c53030;
  color: #fff;
  bottom: 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  display: none;
  left: 0;
  padding: 0.75rem 1.5rem;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

#blazor-error-ui .reload {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 0.75rem;
}

/* Collapse (for mobile nav) */
.collapse {
  display: none;
}

.collapse.show {
  display: block;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
.header__menu-toggle:focus-visible {
  outline: 2px solid var(--phc-color-primary);
  outline-offset: 2px;
}
