.torgex-consent-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2147483000;
  box-sizing: border-box;
  color: #f8fbfc;
  background: #17232e;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2rem rgba(10, 25, 35, 0.28);
}

.torgex-consent-banner[hidden],
.torgex-consent-preferences[hidden] {
  display: none;
}

.torgex-consent-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1.5rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.torgex-consent-title,
.torgex-consent-message {
  grid-column: 1;
  margin: 0;
}

.torgex-consent-title {
  color: inherit;
  font-size: 1rem;
  line-height: 1.35;
}

.torgex-consent-message {
  max-width: 52rem;
  color: rgba(248, 251, 252, 0.9);
  font-size: 0.9rem;
  line-height: 1.5;
}

.torgex-consent-link {
  color: #b9e8dc;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.torgex-consent-link:focus-visible,
.torgex-consent-button:focus-visible,
.torgex-consent-preferences:focus-visible {
  outline: 3px solid #f8d47a;
  outline-offset: 3px;
}

.torgex-consent-actions {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.torgex-consent-button,
.torgex-consent-preferences {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.torgex-consent-button {
  min-width: 10.5rem;
  color: #17232e;
  background: #f8fbfc;
  border: 2px solid #f8fbfc;
  border-radius: 0.45rem;
}

.torgex-consent-button:hover {
  background: #d9eee8;
  border-color: #d9eee8;
}

.torgex-consent-button-refuse {
  color: #f8fbfc;
  background: transparent;
  border-color: rgba(248, 251, 252, 0.72);
}

.torgex-consent-button-refuse:hover {
  color: #17232e;
  background: #f8fbfc;
  border-color: #f8fbfc;
}

.torgex-consent-preferences {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2147482999;
  color: #17232e;
  background: #f8fbfc;
  border: 1px solid rgba(23, 35, 46, 0.28);
  border-radius: 999px;
  box-shadow: 0 0.4rem 1rem rgba(10, 25, 35, 0.18);
}

.torgex-consent-preferences:hover {
  background: #d9eee8;
}

@media (max-width: 48rem) {
  .torgex-consent-content {
    display: block;
    padding: 1rem;
  }

  .torgex-consent-title {
    margin-bottom: 0.35rem;
  }

  .torgex-consent-actions {
    display: flex;
    margin-top: 0.85rem;
  }

  .torgex-consent-button {
    flex: 1 1 10rem;
  }
}
