/* First-party cookie banner — equal Accept / Decline weight (cookie policy 4.1). */

.tp-consent {
  position: fixed;
  z-index: 10000;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  pointer-events: none;
}

.tp-consent[hidden] {
  display: none !important;
}

.tp-consent__panel {
  pointer-events: auto;
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface-1, #18181b);
  color: var(--text-primary, #fafafa);
  border: 1px solid var(--border-1, #27272a);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.tp-consent__title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.tp-consent__text {
  margin: 0 0 14px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-secondary, #b4b4bd);
}

.tp-consent__text a {
  color: inherit;
  text-decoration: underline;
}

.tp-consent__actions {
  display: flex;
  gap: 10px;
}

.tp-consent__btn {
  flex: 1;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  background: transparent;
  color: var(--text-primary, #fafafa);
  border: 1px solid var(--border-2, #3f3f46);
  border-radius: 8px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.tp-consent__btn:focus-visible {
  outline: 2px solid var(--red, #ff2d2d);
  outline-offset: 2px;
}

.tp-consent-settings {
  position: fixed;
  z-index: 9999;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 6px 10px;
  background: var(--surface-1, #18181b);
  color: var(--text-secondary, #b4b4bd);
  border: 1px solid var(--border-1, #27272a);
  border-radius: 8px;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.tp-consent-settings[hidden] {
  display: none !important;
}

.tp-footer-legal .tp-footer-legal-link[data-cookie-settings] {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
