/* Basic analytics consent banner — no dark patterns */

.csmbac-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 450;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 12, 20, 0.94);
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
  font: 500 0.9rem/1.45 var(--font-ibm-plex-sans, 'IBM Plex Sans', system-ui, sans-serif);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);
}

.csmbac-consent[hidden] {
  display: none !important;
}

.csmbac-consent__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.csmbac-consent__copy {
  margin: 0;
  flex: 1 1 18rem;
  max-width: 62ch;
  color: #cbd5e1;
}

.csmbac-consent__copy a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.csmbac-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.csmbac-consent__btn {
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.csmbac-consent__btn--accept {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
}

.csmbac-consent__btn--reject {
  background: rgba(15, 23, 42, 0.8);
}

.csmbac-consent__btn:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.csmbac-consent-manage {
  position: fixed;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 440;
  min-height: 40px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(8, 12, 20, 0.88);
  color: #cbd5e1;
  font: 600 0.75rem/1 var(--font-ibm-plex-sans, 'IBM Plex Sans', system-ui, sans-serif);
  cursor: pointer;
}

.csmbac-consent-manage[hidden] {
  display: none !important;
}

@media (max-width: 639px) {
  .csmbac-consent-manage {
    bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  }
}
