.td-consent-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 2147483000;
  padding: 16px;
  background: rgba(10, 31, 27, 0.76);
  backdrop-filter: blur(8px);
}

.td-consent-content {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: #ffffff;
  color: #173b34;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.td-consent-content h2 {
  margin: 0 0 8px;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
}

.td-consent-content p {
  margin: 0;
  line-height: 1.55;
}

.td-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.td-consent-button,
.td-consent-settings {
  min-height: 44px;
  border-radius: 10px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.td-consent-button {
  border: 2px solid #1d5d50;
}

.td-consent-primary {
  background: #1d5d50;
  color: #ffffff;
}

.td-consent-secondary {
  background: #ffffff;
  color: #1d5d50;
}

.td-consent-button:focus-visible,
.td-consent-settings:focus-visible {
  outline: 3px solid #d28a45;
  outline-offset: 3px;
}

.td-consent-settings-wrap {
  width: 100%;
  margin-top: 14px;
  text-align: center;
}

.td-consent-settings {
  min-height: 32px;
  padding: 4px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 0.82rem;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.78;
  box-shadow: none;
}

.td-consent-settings:hover {
  opacity: 1;
}

.td-consent-status {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 2147483001;
  max-width: min(92vw, 620px);
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #173b34;
  color: #ffffff;
  font-size: 0.88rem;
  text-align: center;
  pointer-events: none;
}

.td-consent-status:empty {
  display: none;
}

@media (max-width: 640px) {
  .td-consent-banner {
    padding: 10px;
  }

  .td-consent-content {
    padding: 16px;
  }

  .td-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .td-consent-button {
    width: 100%;
  }
}
