/*
CookieBot overrides to meet a11y requirements
High-contrast focus color: #fe6d01
*/

/* Focus styles for Cookiebot nav items */
#CybotCookiebotDialogNav
  .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive:focus-visible,
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:focus-visible {
  outline: 4px solid #fe6d01 !important;
  box-shadow: inset 0 0 0 4px #fe6d01 !important;
}

/* General focus-visible styles inside dialog */
#CybotCookiebotDialog
  .CybotCookiebotDialogBodyLevelButtonSliderWrapper
  input:focus-visible
  + span,
#CybotCookiebotDialog :focus-visible {
  outline: 4px solid #fe6d01 !important;
}

/* Change consent button */
#CookieDeclarationChangeConsentChange {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  background-color: #2b70b9;
  color: #ffffff;
  border-radius: 0.125rem;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
}

/* Hover & keyboard focus */
#CookieDeclarationChangeConsentChange:hover,
#CookieDeclarationChangeConsentChange:focus-visible {
  background-color: #112255;
  color: #ffffff;
  text-decoration: none;
}

/* Disabled state */
#CookieDeclarationChangeConsentChange:disabled {
  background-color: #93c5fd;
  color: #1e3a8a;
  cursor: not-allowed;
}
