.ot-analytics-consent {
  position: fixed;
  z-index: 100000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 600px;
  margin-left: auto;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: #fff;
  color: #191919;
  box-shadow: 0 10px 32px rgb(0 0 0 / 14%);
  font-size: 13px;
  line-height: 1.45;
}

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

.ot-analytics-consent__copy p {
  margin: 2px 0;
}

.ot-analytics-consent__copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ot-analytics-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.ot-analytics-consent button,
.ot-analytics-consent-settings {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #1b1b1b;
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
  color: #1b1b1b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ot-analytics-consent [data-analytics-consent-allow] {
  background: #1b1b1b;
  color: #fff;
}

.ot-analytics-consent button:focus-visible,
.ot-analytics-consent-settings:focus-visible {
  outline: 3px solid #3178c6;
  outline-offset: 3px;
}

.ot-analytics-consent-settings {
  position: fixed;
  z-index: 99999;
  right: 12px;
  bottom: 12px;
  border-color: #b8b8b8;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 4px 18px rgb(0 0 0 / 10%);
  font-size: 12px;
}

@media (max-width: 600px) {
  .ot-analytics-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: block;
    max-height: calc(100vh - 20px);
    overflow: auto;
    padding: 11px 12px;
  }

  .ot-analytics-consent__actions {
    justify-content: stretch;
    margin-top: 8px;
  }

  .ot-analytics-consent__actions button {
    flex: 1 1 0;
  }
}
