.ts-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 100000;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.25rem;
  color: #1f2937;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2.5rem rgb(17 24 39 / 24%);
}

.ts-consent[hidden],
.ts-consent-settings[hidden] {
  display: none;
}

.ts-consent__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.ts-consent__description,
.ts-consent__status {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.ts-consent__status {
  font-weight: 600;
}

.ts-consent__privacy {
  display: inline-block;
  margin-bottom: 1rem;
}

.ts-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.ts-consent__button,
.ts-consent-settings {
  min-height: 2.75rem;
  padding: 0.625rem 1.125rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid #1f2937;
  border-radius: 0.5rem;
}

.ts-consent__button--reject {
  color: #1f2937;
  background: #fff;
}

.ts-consent__button--accept {
  color: #fff;
  background: #1f2937;
}

.ts-consent__button:focus-visible,
.ts-consent-settings:focus-visible,
.ts-consent__privacy:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.ts-consent-settings {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 99999;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  color: #1f2937;
  font-size: 0.8125rem;
  background: #fff;
  box-shadow: 0 0.25rem 1rem rgb(17 24 39 / 18%);
}

@media (max-width: 37.5rem) {
  .ts-consent {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 1rem;
  }

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

  .ts-consent__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ts-consent,
  .ts-consent-settings {
    scroll-behavior: auto;
  }
}
