.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 780px;
  margin: auto;
  padding: 1rem 1.1rem;
  color: #fff;
  background: rgba(11, 13, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-banner > div {
  display: flex;
  gap: 0.55rem;
}

.cookie-banner .button {
  min-height: 42px;
  padding: 0 17px;
  font-size: 12px;
}

.cookie-banner .ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 640px) {
  .cookie-banner {
    display: block;
  }

  .cookie-banner > div {
    margin-top: 0.8rem;
  }

  .cookie-banner .button {
    width: 100%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-banner {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) auto;
  max-width: 980px;
}

.cookie-banner-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
}

.cookie-banner-copy strong,
.cookie-banner-copy a {
  color: #fff;
}

.cookie-banner-copy a {
  width: fit-content;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-categories {
  display: flex;
  gap: 0.55rem 1rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.cookie-categories label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.cookie-categories input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0b55ff;
}

.cookie-actions {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
  gap: 0.55rem;
}

.footer-legal-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.assessment-form .form-privacy-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #555958;
  font-size: 12px;
  line-height: 1.5;
}

.assessment-form .form-privacy-note a {
  color: #0b55ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 760px) {
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner > div {
    margin-top: 0;
  }

  .cookie-actions {
    margin-top: 0.8rem !important;
  }
}

@media (max-width: 560px) {
  .cookie-categories,
  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
