/* Cloudbreak consent component (CB-Feature-112). Served from this release. */
.cb-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 2147483000;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 1rem 1.25rem;
  background: #ffffff;
  color: #101010;
  border-top: 1px solid #d4d4d4;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  font: 400 0.9375rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}

.cb-consent__text {
  flex: 1 1 22rem;
  min-width: 0;
}

.cb-consent__title {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.cb-consent__body,
.cb-consent__providers {
  margin: 0;
}

.cb-consent__providers {
  margin-top: 0.25rem;
  color: #5a5a5a;
  font-size: 0.875rem;
}

.cb-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.cb-consent__button {
  padding: 0.5rem 1.125rem;
  border: 1px solid #101010;
  border-radius: 2px;
  background: #ffffff;
  color: #101010;
  font: inherit;
  cursor: pointer;
}

.cb-consent__button--accept {
  background: #101010;
  color: #ffffff;
}

.cb-consent__button:focus-visible,
.cb-consent-revise:focus-visible {
  outline: 2px solid #101010;
  outline-offset: 2px;
}

.cb-consent-revise {
  position: fixed;
  bottom: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 2147482999;
  padding: 0.375rem 0.75rem;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  background: #ffffff;
  color: #5a5a5a;
  font: 400 0.8125rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
}

@media (prefers-color-scheme: dark) {
  .cb-consent {
    background: #141414;
    color: #f2f2f2;
    border-top-color: #333333;
  }

  .cb-consent__providers {
    color: #a8a8a8;
  }

  .cb-consent__button {
    border-color: #f2f2f2;
    background: #141414;
    color: #f2f2f2;
  }

  .cb-consent__button--accept {
    background: #f2f2f2;
    color: #141414;
  }

  .cb-consent-revise {
    border-color: #333333;
    background: #141414;
    color: #a8a8a8;
  }
}
