/* PassTracks canonical footer control presentation v1. */
.footer-link-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: var(--cream);
  text-decoration: underline;
}

/* Canonical privacy dialog presentation used by assets/privacy.js. */
.privacy-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 27, 41, .68);
}

.privacy-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 30px;
  color: var(--navy);
  background: #fffdf8;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
}

.privacy-dialog h2 { margin: .15em 0 .7em; }
.privacy-dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  color: var(--navy);
  background: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.privacy-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(24, 50, 74, .15);
}
.privacy-setting-row p { margin: .3em 0 0; color: var(--muted); font-size: .9rem; }
.privacy-required {
  padding: 7px 9px;
  color: var(--teal);
  background: rgba(28, 111, 105, .12);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.privacy-switch { position: relative; display: inline-flex; flex: 0 0 auto; }
.privacy-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.privacy-switch span { position: relative; width: 52px; height: 29px; border-radius: 99px; background: #9aa7aa; transition: .2s ease; }
.privacy-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 23px; height: 23px; border-radius: 50%; background: white; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: .2s ease; }
.privacy-switch input:checked + span { background: var(--teal); }
.privacy-switch input:checked + span::after { transform: translateX(23px); }
.privacy-switch input:focus-visible + span { outline: 3px solid var(--mustard); outline-offset: 3px; }
.privacy-switch input:disabled + span { cursor: not-allowed; opacity: .45; }
.privacy-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.privacy-dialog-status { min-height: 1.4em; color: var(--teal); font-weight: 700; }
.privacy-dialog-links { font-size: .82rem; }
.privacy-dialog-links a { color: var(--teal); font-weight: 800; }

@media (max-width: 500px) {
  .privacy-dialog { padding: 24px 18px; }
  .privacy-setting-row { flex-direction: column; align-items: flex-start; }
  .privacy-dialog-actions .button { width: 100%; }
}
