.arx-consent[hidden],
.arx-consent__details[hidden] {
  display: none !important;
}

.arx-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 2147483000;
  color: #10212b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.arx-consent__card {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(15, 39, 51, .16);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(8, 28, 38, .24);
}

.arx-consent__copy h2 {
  margin: 0 0 7px;
  color: #10212b;
  font-size: 1.08rem;
  line-height: 1.3;
}

.arx-consent__copy p {
  max-width: 78ch;
  margin: 0;
  color: #52636d;
  font-size: .93rem;
  line-height: 1.55;
}

.arx-consent__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.arx-consent button {
  min-height: 44px;
  border-radius: 10px;
  font: inherit;
  font-size: .92rem;
  font-weight: 750;
  cursor: pointer;
}

.arx-consent__choice {
  border: 1px solid #173946;
  background: #173946;
  color: #fff;
}

.arx-consent__choice:hover,
.arx-consent__choice:focus-visible {
  background: #0e2934;
}

.arx-consent__more,
.arx-consent__save {
  border: 1px solid rgba(15, 39, 51, .2);
  background: #fff;
  color: #173946;
}

.arx-consent__more:hover,
.arx-consent__more:focus-visible,
.arx-consent__save:hover,
.arx-consent__save:focus-visible {
  background: #eef5f7;
}

.arx-consent button:focus-visible,
.arx-consent a:focus-visible,
.arx-consent input:focus-visible {
  outline: 3px solid #2d7ff0;
  outline-offset: 2px;
}

.arx-consent__details {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid rgba(15, 39, 51, .12);
}

.arx-consent__necessary,
.arx-consent__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(15, 39, 51, .12);
  border-radius: 11px;
  background: #f8fbfc;
}

.arx-consent__necessary span:first-child,
.arx-consent__option span {
  display: grid;
  gap: 3px;
}

.arx-consent__necessary strong,
.arx-consent__option strong {
  color: #10212b;
  font-size: .92rem;
}

.arx-consent__necessary small,
.arx-consent__option small {
  color: #60717b;
  font-size: .81rem;
  line-height: 1.4;
}

.arx-consent__status {
  flex: 0 0 auto;
  color: #52636d;
  font-size: .78rem;
  font-weight: 750;
}

.arx-consent__option input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: #173946;
}

.arx-consent__legal {
  margin: 3px 0 0;
  color: #60717b;
  font-size: .81rem;
  line-height: 1.45;
}

.arx-consent__legal a {
  color: #145f91;
  text-underline-offset: 2px;
}

.arx-consent__save {
  justify-self: start;
  min-width: 150px;
  padding-inline: 18px;
}

.arx-consent-manage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 14px 20px 18px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .82rem;
  cursor: pointer;
  opacity: .78;
}

.arx-consent-manage:hover,
.arx-consent-manage:focus-visible {
  opacity: 1;
}

.arx-consent-manage:focus-visible {
  outline: 3px solid #2d7ff0;
  outline-offset: 3px;
}

.arx-consent-manage.is-floating {
  position: fixed;
  z-index: 2147482000;
  bottom: 10px;
  left: 10px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(15, 39, 51, .2);
  border-radius: 8px;
  background: #fff;
  color: #173946;
  box-shadow: 0 6px 20px rgba(8, 28, 38, .14);
}

@media (max-width: 640px) {
  .arx-consent {
    inset: auto 8px 8px;
  }

  .arx-consent__card {
    max-height: calc(100vh - 16px);
    overflow: auto;
    padding: 16px;
    border-radius: 13px;
  }

  .arx-consent__actions {
    grid-template-columns: 1fr;
  }

  .arx-consent__necessary,
  .arx-consent__option {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arx-consent *,
  .arx-consent-manage {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
