.ata-consent[hidden],
.ata-consent__banner[hidden],
.ata-consent__reopen[hidden] {
  display: none !important;
}

.ata-consent {
  position: relative;
  z-index: 2147483000;
}

.ata-consent__banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem;
  color: #1f2933;
  background: #fff;
  border: 1px solid #c8cdd2;
  border-radius: .375rem;
  box-shadow: 0 .5rem 2rem rgba(0, 0, 0, .2);
}

.ata-consent__copy {
  flex: 1 1 28rem;
}

.ata-consent__title {
  margin: 0 0 .5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.ata-consent__description,
.ata-consent__category p,
.ata-consent__help {
  margin: .25rem 0;
  font-size: .9375rem;
  line-height: 1.5;
}

.ata-consent__help {
  display: block;
}

.ata-consent__actions {
  display: flex;
  flex: 1 1 24rem;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}

.ata-consent__button,
.ata-consent__close,
.ata-consent__reopen {
  min-height: 2.75rem;
  padding: .625rem 1rem;
  color: #17212b;
  font: inherit;
  font-weight: 600;
  background: #fff;
  border: 2px solid #374957;
  border-radius: .25rem;
  cursor: pointer;
}

.ata-consent__button--primary {
  color: #fff;
  background: #253846;
}

.ata-consent__button:focus-visible,
.ata-consent__close:focus-visible,
.ata-consent__reopen:focus-visible,
.ata-consent__category input:focus-visible {
  outline: 3px solid #2673dd;
  outline-offset: 3px;
}

.ata-consent__dialog {
  width: min(38rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  color: #1f2933;
  background: #fff;
  border: 1px solid #c8cdd2;
  border-radius: .375rem;
}

.ata-consent__dialog::backdrop {
  background: rgba(0, 0, 0, .55);
}

.ata-consent__form {
  padding: 1.25rem;
}

.ata-consent__dialog-header,
.ata-consent__category {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.ata-consent__close {
  min-width: 2.75rem;
  padding: .25rem;
  font-size: 1.5rem;
  line-height: 1;
}

.ata-consent__category {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #d9dde1;
  border-radius: .25rem;
}

.ata-consent__category input {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.ata-consent__reopen {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2147482999;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  font-size: .875rem;
}

@media (max-width: 40rem) {
  .ata-consent__actions,
  .ata-consent__button {
    width: 100%;
  }
}

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