/* Marco Polo brand overrides for Termly consent banner + preference center.
   These target Termly's runtime-injected DOM classes; if Termly renames
   them in the future, update the selectors below. */

/* Root containers — font + base color */
[id*="termly-code-snippet"],
[id*="termly-code-snippet"] *,
.t-bannerContainer,
.t-preferenceCenter,
.t-preferenceCenter * {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

[id*="termly-code-snippet"],
.t-bannerContainer,
.t-preferenceCenter {
  color: #495057 !important;
}

/* Primary action buttons (Accept All / Allow All / Save) */
.t-acceptAllButton,
.t-allowAllButton,
.t-saveButton,
.t-preferenceCenter button.t-allowAllButton,
.t-preferenceCenter button.t-saveButton,
button[class*="acceptAll"],
button[class*="allowAll"] {
  background-color: #F54900 !important;
  border: 1px solid #F54900 !important;
  color: #FFFFFF !important;
}
.t-acceptAllButton:hover,
.t-allowAllButton:hover,
.t-saveButton:hover,
button[class*="acceptAll"]:hover,
button[class*="allowAll"]:hover {
  background-color: #D93F00 !important;
  border-color: #D93F00 !important;
}

/* Secondary action buttons (Decline All) — ghost style */
.t-declineAllButton,
.t-preferenceCenter button.t-declineAllButton,
button[class*="declineAll"] {
  background-color: #FFFFFF !important;
  border: 1px solid #DEE2E6 !important;
  color: #0F172B !important;
}
.t-declineAllButton:hover,
button[class*="declineAll"]:hover {
  background-color: #F8F9FA !important;
  color: #0F172B !important;
}

/* Tertiary / preferences button */
.t-preferencesButton,
button[class*="preferences"] {
  background-color: transparent !important;
  border: 1px solid #DEE2E6 !important;
  color: #0F172B !important;
}

/* Links inside the banner / modal */
.t-bannerContainer a,
.t-preferenceCenter a,
[id*="termly-code-snippet"] a {
  color: #F54900 !important;
}
.t-bannerContainer a:hover,
.t-preferenceCenter a:hover {
  text-decoration: underline !important;
}
