/* Shared by the React app (bundled via global.css) and public content pages.
   Apply sv-back-link to an anchor; the decorative arrow needs no extra markup. */
.sv-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 16px;
  border: 1.5px solid rgba(26, 35, 126, .2);
  border-radius: 8px;
  background: #fff;
  color: #1a237e;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}

.sv-back-link::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sv-back-link:hover {
  background: #f1f2f8;
  border-color: rgba(26, 35, 126, .5);
  color: #1a237e;
  text-decoration: none;
}

.sv-back-link:focus-visible {
  outline: 2px solid #1a237e;
  outline-offset: 3px;
}

.sv-back-link:active {
  background: #e8eaf6;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .sv-back-link { transition: none; }
}
