/* BCP cookie consent banner */
.bcp-consent {
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.bcp-consent__inner {
  pointer-events: auto;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #120e22;
  color: #e8e4f2;
  border: 1px solid rgba(199, 193, 217, 0.18);
  box-shadow: 0 -8px 32px rgba(10, 6, 24, 0.35);
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
}

.bcp-consent__text {
  flex: 1 1 280px;
  margin: 0;
  color: #c7c1d9;
}

.bcp-consent__link {
  color: #72ffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bcp-consent__link:hover,
.bcp-consent__link:focus-visible {
  color: #fff;
}

.bcp-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.bcp-consent__btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bcp-consent__btn--solid {
  background: #8051ff;
  color: #fff;
}

.bcp-consent__btn--solid:hover,
.bcp-consent__btn--solid:focus-visible {
  background: #6b3ef0;
}

.bcp-consent__btn--ghost {
  background: transparent;
  color: #e8e4f2;
  border-color: rgba(199, 193, 217, 0.35);
}

.bcp-consent__btn--ghost:hover,
.bcp-consent__btn--ghost:focus-visible {
  border-color: #72ffff;
  color: #fff;
}

@media (max-width: 600px) {
  .bcp-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .bcp-consent__actions {
    margin-left: 0;
  }

  .bcp-consent__btn {
    flex: 1 1 auto;
  }
}
