/* CrowdBoost Consent 1.0.0 */
#cbc-root, #cbc-root *, .cbc-footer-link, .cbc-footer-link *, .cbc-embed-placeholder, .cbc-embed-placeholder * { box-sizing: border-box; }

.cbc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.cbc-lock { overflow: hidden; }

/* Buttons: every choice gets the same size, color and weight. No option is made easier than another. */
.cbc-btn {
  appearance: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px; border: 2px solid var(--cbc-primary); border-radius: 6px;
  background: var(--cbc-primary); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none; transition: background .15s ease, border-color .15s ease;
}
.cbc-btn:hover { background: var(--cbc-primary-dark); border-color: var(--cbc-primary-dark); }
.cbc-btn:focus-visible, .cbc-close:focus-visible, .cbc-float:focus-visible, .cbc-choices-link:focus-visible, .cbc-switch input:focus-visible + .cbc-slider {
  outline: 3px solid var(--cbc-text); outline-offset: 2px;
}

/* Banner */
.cbc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000;
  max-width: 1100px; margin: 0 auto; background: var(--cbc-bg); color: var(--cbc-body);
  border: 1px solid var(--cbc-border); border-top: 4px solid var(--cbc-primary); border-radius: 10px;
  box-shadow: 0 10px 40px rgba(26, 26, 26, .18); font-family: inherit;
}
.cbc-banner[hidden], .cbc-overlay[hidden], .cbc-float[hidden] { display: none !important; }
.cbc-banner-inner { display: flex; gap: 24px; align-items: center; padding: 20px 24px; }
.cbc-banner-copy { flex: 1 1 auto; min-width: 0; }
.cbc-title { margin: 0 0 6px; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--cbc-text); font-family: inherit; }
.cbc-text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--cbc-body); }
.cbc-gpc { margin: 10px 0 0; padding: 8px 12px; font-size: 14px; line-height: 1.5; color: var(--cbc-text); background: #F7F4F4; border-left: 3px solid var(--cbc-primary); border-radius: 4px; }
.cbc-policy { color: var(--cbc-primary); text-decoration: underline; font-weight: 600; }
.cbc-actions { display: flex; gap: 10px; flex: 0 0 auto; flex-wrap: wrap; }
.cbc-actions .cbc-btn { flex: 1 1 0; min-width: 130px; }

@media (max-width: 820px) {
  .cbc-banner { left: 8px; right: 8px; bottom: 8px; }
  .cbc-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .cbc-actions { flex-direction: column; }
  .cbc-actions .cbc-btn { width: 100%; }
}

/* Preference center */
.cbc-overlay {
  position: fixed; inset: 0; z-index: 2147483001; background: rgba(26, 26, 26, .55);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.cbc-panel {
  width: 100%; max-width: 580px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--cbc-bg); color: var(--cbc-body); border-radius: 12px; border-top: 4px solid var(--cbc-primary);
  padding: 22px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); font-family: inherit;
}
.cbc-panel:focus { outline: none; }
.cbc-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cbc-close { appearance: none; border: 0; background: transparent; font-size: 28px; line-height: 1; width: 44px; height: 44px; margin: -10px -10px 0 0; cursor: pointer; color: var(--cbc-text); border-radius: 6px; }
.cbc-status { margin: 4px 0 12px; padding: 10px 12px; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--cbc-text); background: #F7F4F4; border-left: 3px solid var(--cbc-primary); border-radius: 4px; }
.cbc-rows { margin: 16px 0; border-top: 1px solid var(--cbc-border); }
.cbc-row { padding: 14px 0; border-bottom: 1px solid var(--cbc-border); }
.cbc-row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cbc-row-title { font-weight: 700; font-size: 15px; color: var(--cbc-text); cursor: pointer; }
.cbc-row-desc { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--cbc-body); }
.cbc-actions-panel { margin-top: 8px; }
.cbc-id { margin: 14px 0 0; font-size: 12px; color: #6B6B6B; word-break: break-all; }

/* Switch */
.cbc-switch { position: relative; display: inline-block; width: 50px; height: 28px; flex: 0 0 auto; }
.cbc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cbc-switch input:disabled { cursor: not-allowed; }
.cbc-slider { position: absolute; inset: 0; background: #B9B1B1; border-radius: 28px; transition: background .15s ease; }
.cbc-slider::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s ease; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.cbc-switch input:checked + .cbc-slider { background: var(--cbc-primary); }
.cbc-switch input:checked + .cbc-slider::before { transform: translateX(22px); }
.cbc-switch input:disabled + .cbc-slider { opacity: .6; }

/* Your Privacy Choices link and floating button */
.cbc-footer-link { text-align: center; padding: 14px 16px; background: var(--cbc-bg); border-top: 1px solid var(--cbc-border); }
.cbc-choices-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cbc-text); font-size: 14px; font-weight: 600; text-decoration: underline; }
.cbc-icon { display: inline-block; flex: 0 0 auto; }
.cbc-float {
  position: fixed; left: 16px; bottom: 16px; z-index: 2147482999; width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
  background: #fff; border: 1px solid var(--cbc-border); border-radius: 50%; box-shadow: 0 4px 14px rgba(26, 26, 26, .18); cursor: pointer;
}

/* Blocked embeds */
iframe[data-cbc-src] { display: none !important; }
.cbc-embed-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  min-height: 220px; padding: 24px; margin: 0 0 1em; background: #F7F4F4; border: 1px solid var(--cbc-border); border-radius: 10px;
  color: var(--cbc-body); font-size: 14px; line-height: 1.5;
}
.cbc-embed-placeholder p { margin: 0; max-width: 460px; }

@media (prefers-reduced-motion: reduce) {
  .cbc-btn, .cbc-slider, .cbc-slider::before { transition: none; }
}
