/* ===================== PAGE LOADER (shared across all pages) =====================
   Full-screen overlay + spinner shown right before a real page navigation
   (form submit / link click) so the customer isn't staring at a frozen page
   during the brief gap before the next page loads. Self-contained — hardcoded
   colors rather than each page's own CSS variables, same reasoning as
   style/lang-switcher.css (page stylesheets don't share a consistent
   design-token naming scheme). */

.page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 250, 248, 0.85);
  backdrop-filter: blur(2px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
}

.page-loader.visible {
  opacity: 1;
  visibility: visible;
}

.page-loader-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(0, 115, 55, 0.15);
  border-top-color: #007337;
  animation: page-loader-spin 0.7s linear infinite;
}

@keyframes page-loader-spin {
  to { transform: rotate(360deg); }
}
