/* drupal messages */
.messages-list {

	.messages__content {
		font-weight: 500;
		color: #fff;
	}
}

/* copy embed code (e.g. events) */
.uv-copy-code {
  position: relative;
  margin: 1rem 0;
  padding: 1rem;
  background: #f6f6f6;
  border-radius: 6px;
}

.uv-copy-code__content {
  display: block;
  padding-right: 3rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: monospace;
  font-size: 0.875rem;
}

.uv-copy-code__button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* Copy-Icon */
.uv-copy-code__icon::before {
  content: "⧉";
  font-size: 18px;
}

/* Häkchen nach dem Kopieren */
.uv-copy-code__button.is-copied .uv-copy-code__icon::before {
  content: "✓";
}

/* Tooltip */
.uv-copy-code__button::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  padding: 4px 8px;
  border-radius: 4px;
  background: #222;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.uv-copy-code__button:hover::after,
.uv-copy-code__button:focus-visible::after {
  opacity: 1;
}