/* Brandscast Cookie Consent (inspired by Podstatus structure)
   Classes used in HTML:
   - .lcc-modal, .lcc-modal--alert, .lcc-modal--settings, .lcc-modal__content, .lcc-modal__actions
   - .lcc-label, .lcc-text, .lcc-u-sr-only, .lcc-backdrop
   - Toggle buttons: .js-lcc-settings-toggle, .js-lcc-accept, .js-lcc-settings-save
*/
:root {
  --lcc-bg: #ffffff;
  --lcc-fg: #1d2433;
  --lcc-muted: #5c6478;
  --lcc-line: rgba(0,0,0,0.08);
  --lcc-shadow: 0 16px 48px rgba(0,20,60,0.14);
}

.lcc-modal {
  position: fixed;
  z-index: 9999;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px));
  background: var(--lcc-bg);
  color: var(--lcc-fg);
  border: 1px solid var(--lcc-line);
  border-radius: 12px;
  box-shadow: var(--lcc-shadow);
  bottom: 18px;
  display: none;
}

.lcc-modal--settings {
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100vw - 32px));
}

.lcc-modal__content {
  padding: 18px 18px 0 18px;
}

.lcc-modal__title {
  font-size: 18px;
  margin: 0 0 8px 0;
}

.lcc-text {
  color: var(--lcc-muted);
  margin: 0 0 12px 0;
  line-height: 1.6;
}

.lcc-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 18px 16px 18px;
  border-top: 1px solid var(--lcc-line);
}

.lcc-button,
.lcc-modal__actions .btn {
  appearance: none;
  border: 1px solid var(--lcc-line);
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.btn.btn-primary,
.lcc-button.btn.btn-primary {
  background: #2e5af4;
  color: #fff;
  border-color: #2e5af4;
}

.btn.btn-outline-secondary {
  background: #fff;
  color: var(--lcc-fg);
}

.lcc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.lcc-modal--settings .lcc-modal__content .lcc-modal__content {
  padding: 0 0 6px 0;
}

.lcc-modal--settings .lcc-modal__section {
  padding: 10px 18px;
  border-top: 1px solid var(--lcc-line);
}

.lcc-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lcc-u-sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; /* added line */
}

.lcc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 9998;
  display: none;
}

/* Simple show class toggled by JS */
.lcc-show { display: block !important; }
