/* Shared bits used by every S5 LIVE page (footer link list + form helpers). */

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.legal-links a {
  margin: 0;
  overflow-wrap: anywhere;
}

/* Honeypot field: kept in the DOM for bots, invisible for people. */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Inline form status / error box */
.form-status {
  display: none;
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: .92rem;
  line-height: 1.5;
}

.form-status.is-visible { display: block; }

.form-status.is-error {
  background: rgba(255, 70, 100, .12);
  border: 1px solid rgba(255, 90, 120, .55);
  color: #ffd2dc;
}

.form-status.is-info {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #e6e8f5;
}

.form-status strong { display: block; margin-bottom: 4px; }
.form-status ul { margin: 6px 0 0 18px; padding: 0; }

button[disabled], .btn[disabled] {
  opacity: .65;
  cursor: wait;
  transform: none !important;
}

/* "Back to Home" button on policy pages: absolutely positioned on desktop,
   but on phones it overlapped the logo, so put it back in the flow. */
@media (max-width: 600px) {
  a.back-home {
    position: static !important;
    display: inline-block;
    margin: 4px 0 14px;
  }
}
