/*
 * AHDB brand overrides for orestbida/cookieconsent v2.8.0, adapted for
 * the BYDV tool.
 *
 * Deltas vs. the Corporate-site override:
 *   • Dropped the .btn_cookieSettings fixed corner button — the BYDV tool
 *     doesn't render that element (a persistent "Cookie settings" link
 *     lives in the LegalLinks footer strip instead, driven by
 *     window.initCookieConsent().showSettings()). Keeping the CSS would
 *     be dead-code that also clashed with the mobile bottom nav pinned
 *     to the same corner.
 *
 * Brand colours are unchanged: Credible blue #0090d4 primary, #1f4350
 * on hover / focus, matching the DesktopHeader + brand-gradient elsewhere.
 */

@import "cookieconsent.css";

.cc_div .c-bn {
  font-size: 19px;
  font-weight: bold;
  --cc-btn-primary-bg: #0090d4;
  --cc-btn-primary-text: #ffffff;
  border: 1px solid black;
  border-radius: 5px;
  --cc-btn-secondary-bg: #ffffff;
  --cc-btn-secondary-text: #0090d4;
  padding: 0.3em 1.7em;
}

.cc_div .c-bn:hover {
  --cc-btn-primary-bg: #1f4350;
  --cc-btn-primary-text: #ffffff;
  border: 1px solid #1f4350;
  --cc-btn-secondary-bg: #e5f4fb;
}

.cc_div .c-bn:focus {
  --cc-btn-primary-bg: #1f4350;
  --cc-btn-primary-text: #ffffff;
  --cc-btn-secondary-bg: #1f4350;
  --cc-btn-secondary-text: #ffffff;
}

.cc_div .b-tg .c-tgl:checked ~ .c-tg {
  --cc-toggle-bg-on: #0090d4;
  --cc-toggle-bg-off: #707070;
}
