/* Site footer shared by the legal pages and the React application
   (resources/js/components/site-footer.tsx). Scoped to .site-footer so it
   can be loaded next to Bootstrap without side effects. */

/* Colors follow the nearest Bootstrap theme ancestor, like Bootstrap's own
   variables, so a light section inside a dark page stays light. */
:root,
[data-bs-theme="light"] {
  --site-footer-text: #566b7b;
  --site-footer-line: #dce5ea;
  --site-footer-link: #075f8d;
  --site-footer-link-hover: #008b5b;
}
[data-bs-theme="dark"] {
  --site-footer-text: rgba(255, 255, 255, .6);
  --site-footer-line: rgba(255, 255, 255, .15);
  --site-footer-link: #6ea8fe;
  --site-footer-link-hover: #75b798;
}
.site-footer {
  border-top: 1px solid var(--site-footer-line);
  padding: 20px 16px 24px;
  color: var(--site-footer-text);
  font-size: .9rem;
  line-height: 1.5;
  text-align: center;
}
.site-footer-copyright { margin: 0 0 8px; }
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer-links li { margin: 0; }
.site-footer-links a,
.site-footer-links .cookie-settings-button {
  color: var(--site-footer-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer-links a:hover,
.site-footer-links a[aria-current="page"],
.site-footer-links .cookie-settings-button:hover {
  color: var(--site-footer-link-hover);
}
