.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10000;
  background: #003F4E;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

.tq-privacy-footer {
  width: 100%;
  margin-top: 12px;
  text-align: center;
}

.tq-privacy-footer-standalone {
  padding: 18px 12px;
}

#tq-privacy-choices {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 4px 8px;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

#tq-privacy-choices:hover,
#tq-privacy-choices:focus-visible {
  color: #f2635f;
}

.footer-links #tq-privacy-choices {
  color: rgba(255, 255, 255, 0.7);
  padding: 15px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-align: left;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-links #tq-privacy-choices:hover,
.footer-links #tq-privacy-choices:focus-visible {
  color: #f2635f;
}

#tq-privacy-dialog {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 31, 39, 0.48);
}

#tq-privacy-dialog[hidden] {
  display: none !important;
}

.tq-privacy-card {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  color: #162026;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(0, 31, 39, 0.28);
  font: 400 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tq-privacy-card h2 {
  margin: 0 40px 10px 0;
  color: #003f4e;
  font-size: 22px;
}

.tq-privacy-card p {
  margin: 0 0 14px;
}

.tq-privacy-card a {
  color: #003F4E;
  font-weight: 600;
}

#tq-privacy-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eef3f4;
  color: #003f4e;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.tq-privacy-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.tq-privacy-actions button {
  border: 1px solid #003f4e;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

#tq-privacy-opt-out {
  background: #003f4e;
  color: #fff;
}

#tq-privacy-allow {
  background: #fff;
  color: #003f4e;
}

.tq-privacy-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
