/* Values and layout from new-zenarmor.com CookieConsent.vue and BaseButton.vue. */
@font-face {
  font-family: "Consent Jakarta";
  src: url("./plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

#site-consent { font: 400 14px/20px "Consent Jakarta", sans-serif; color: #475467; }
#site-consent *, #site-consent *::before, #site-consent *::after { box-sizing: border-box; }
#site-consent [hidden] { display: none !important; }
#site-consent button, #site-consent input { font: inherit; letter-spacing: normal; text-transform: none; }
#site-consent button { cursor: pointer; }
#site-consent button:focus-visible, #site-consent a:focus-visible { outline: 2px solid #175cd3; outline-offset: 3px; }
#site-consent .consent-banner {
  position: fixed; bottom: 0; left: 0; width: 100%; background: #f2f4f7;
  border-top: 1px solid #eaecf0; z-index: 500; box-shadow: 0 -4px 16px rgb(0 0 0 / 28%);
  max-height: 70dvh; overflow-y: auto;
}
#site-consent .consent-banner__inner {
  max-width: 1440px; margin: 0 auto; padding: 24px 48px;
  display: flex; align-items: center; gap: 32px;
}
#site-consent .consent-banner__text { flex: 1; }
#site-consent .consent-banner__text p { margin: 0; color: #475467; font: inherit; }
#site-consent .consent-banner__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
#site-consent .consent-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 169px; min-height: 36px; padding: 8px 20px;
  border: 1.5px solid transparent; border-radius: 4px; appearance: none;
  background: #3d91ff; color: #fff; font-weight: 500; white-space: nowrap;
}
#site-consent .consent-button--secondary { background: #fff; color: #3d91ff; border-color: #3d91ff; }
#site-consent .consent-banner__btn {
  padding: 8px 16px; height: 40px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; color: #667085; font-weight: 500; white-space: nowrap;
}
#site-consent .consent-banner__btn:hover { color: #344054; text-decoration: underline; }
#site-consent .consent-policy-link { color: #3d91ff; font-weight: 500; text-decoration: none; }
#site-consent .consent-banner__actions .consent-policy-link { white-space: nowrap; }
#site-consent .consent-policy-link:hover { text-decoration: underline; }
#site-consent .consent-settings {
  position: fixed; bottom: 12px; left: 12px; z-index: 499; padding: 8px 16px;
  color: #475467; background: #f2f4f7; border: 1px solid #d0d5dd; border-radius: 8px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
}
#site-consent .consent-modal {
  padding: 0; margin: auto; width: calc(100% - 48px); max-width: 640px;
  max-height: 85vh; max-height: 85dvh; border: 1px solid #eaecf0;
  border-radius: 16px; background: #fff; color: #475467; font: inherit;
  overflow: hidden;
}
#site-consent .consent-modal::backdrop { background: rgb(0 0 0 / 60%); }
#site-consent .consent-modal__content { display: flex; flex-direction: column; max-height: inherit; }
#site-consent .consent-modal__header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 24px 24px 16px; border-bottom: 1px solid #eaecf0; flex-shrink: 0;
}
#site-consent .consent-modal__title { margin: 0; font: 600 24px/32px "Consent Jakarta", sans-serif; color: #1d2939; letter-spacing: normal; text-transform: none; }
#site-consent .consent-modal__close { display: flex; background: none; border: none; color: #667085; padding: 4px; border-radius: 4px; }
#site-consent .consent-modal__close:hover { color: #1d2939; }
#site-consent .consent-modal__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 16px; }
#site-consent .consent-modal__description { color: #475467; margin: 0 0 8px; font: inherit; }
#site-consent .consent-modal__signal { color: #344054; background: #f2f4f7; border: 1px solid #eaecf0; border-radius: 8px; padding: 8px 12px; margin: 0 0 12px; font: inherit; }
#site-consent .consent-modal__categories { display: flex; flex-direction: column; gap: 12px; }
#site-consent .consent-category { border: 1px solid #eaecf0; border-radius: 8px; padding: 16px; }
#site-consent .consent-category__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#site-consent .consent-category__expand { display: flex; align-items: center; gap: 8px; background: none; border: none; padding: 0; color: #1d2939; font-size: 16px; line-height: 24px; font-weight: 600; }
#site-consent .consent-category__expand svg { flex-shrink: 0; transition: transform 150ms ease; }
#site-consent .consent-category__expand[aria-expanded="true"] svg { transform: rotate(90deg); }
#site-consent .consent-category__badge { flex-shrink: 0; color: #3d91ff; padding: 4px 8px; border: 1px solid #3d91ff; border-radius: 9999px; font-size: 12px; line-height: 18px; font-weight: 500; }
#site-consent .consent-category__description { color: #667085; margin: 8px 0 0; font: inherit; }
#site-consent .consent-category__details { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eaecf0; display: flex; flex-direction: column; gap: 8px; }
#site-consent .consent-category__service { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; }
#site-consent .consent-category__service span:first-child { color: #344054; font-weight: 500; }
#site-consent .consent-category__service span:last-child { color: #667085; font-size: 12px; line-height: 18px; text-align: right; }
#site-consent .consent-toggle { position: relative; display: inline-flex; width: 44px; height: 24px; flex-shrink: 0; cursor: pointer; margin: 0; }
#site-consent .consent-toggle input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; }
#site-consent .consent-toggle__slider { position: absolute; inset: 0; background: #d0d5dd; border-radius: 9999px; transition: background 150ms ease; pointer-events: none; }
#site-consent .consent-toggle__slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform 150ms ease; }
#site-consent .consent-toggle input:checked + span { background: #3d91ff; }
#site-consent .consent-toggle input:checked + span::before { transform: translateX(20px); }
#site-consent .consent-toggle input:focus-visible + span { outline: 2px solid #175cd3; outline-offset: 2px; }
#site-consent .consent-toggle input:disabled + span { opacity: .5; cursor: not-allowed; }
#site-consent .consent-modal__footer { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid #eaecf0; flex-shrink: 0; }
#site-consent .consent-modal__error { color: #b42318; margin: 12px 0 0; font: inherit; }
@media (max-width: 1023px) {
  #site-consent .consent-banner__inner { flex-direction: column; align-items: stretch; padding: 24px; }
  #site-consent .consent-banner__actions { flex-wrap: wrap; }
}
@media (max-width: 639px) {
  #site-consent .consent-banner__actions, #site-consent .consent-modal__footer { flex-direction: column; }
  #site-consent .consent-banner__actions > button, #site-consent .consent-modal__footer > button { width: 100%; }
  #site-consent .consent-category__service { flex-direction: column; gap: 4px; }
  #site-consent .consent-category__service span:last-child { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  #site-consent *, #site-consent *::before { transition: none !important; }
}
@media print { #site-consent { display: none !important; } }
