/* Shared by public pages, the dashboard, and the independent member portal. */
.cookie-consent {
  --app-link-color: #4d42e8;
  --app-link-hover-color: #3529c2;
  position: fixed;
  /* Sit above the sidebar and its controls, below modal backdrops. */
  z-index: 1040;
  inset-inline: 24px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 28px;
  box-sizing: border-box;
  max-width: 1280px;
  max-height: calc(100dvh - 32px);
  margin-inline: auto;
  padding: 20px;
  overflow-y: auto;
  border: 1px solid #d5dae1;
  border-radius: 20px;
  background: #f5f5f7;
  box-shadow: 0 8px 32px rgb(15 23 42 / 16%);
  color: #596579;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color-scheme: light;
}
.cookie-consent[hidden] {
  display: none;
}
.cookie-consent .cookie-consent-description {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
.cookie-consent .cookie-consent-description a {
  color: var(--app-link-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent .cookie-consent-description a:is(:hover, :focus) {
  color: var(--app-link-hover-color);
}
.cookie-consent-actions {
  display: flex;
  flex: none;
  gap: 10px;
}
.cookie-consent-button {
  box-sizing: border-box;
  min-height: 52px;
  padding: 10px 20px;
  border: 1px solid #d2d8e2;
  border-radius: 14px;
  background: transparent;
  color: #4b5668;
  font: inherit;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
}
.cookie-consent-button:hover {
  border-color: #adb7c7;
  background: #e9ebf0;
}
.cookie-consent-accept {
  border-color: #332de6;
  background: #332de6;
  box-shadow: 0 2px 3px rgb(15 23 42 / 12%);
  color: #fff;
  font-weight: 600;
}
.cookie-consent-accept:hover {
  border-color: #2822c8;
  background: #2822c8;
}
.cookie-consent :is(a, button):focus-visible,
[data-cookie-settings]:focus-visible {
  outline: 3px solid #756dff;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .cookie-consent {
    inset-inline: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .cookie-consent-actions .cookie-consent-button {
    flex: 1;
    padding-inline: 12px;
  }
}
@media print {
  .cookie-consent,
  [data-cookie-settings] {
    display: none;
  }
}
