.directive-embed {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border-style: solid;
  border-width: 2px;
  border-color: var(--color-brand);
}

.directive-embed iframe,
.directive-embed embed {
  width: 100%;
  height: 100%;
  border-width: 0;
  padding: 8px;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  position: absolute;
}

.directive-embed .consent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  overflow: auto;
}

.directive-embed .consent iframe[data-consent-src] {
  display: none;
}

.directive-embed .consent-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  text-align: center;
  box-sizing: border-box;
}

.directive-embed .consent-banner-text {
  font-size: 0.95em;
  line-height: 1.5;
  color: var(--color-text, #333);
  max-width: 600px;
}

.directive-embed .consent-banner-url {
  font-size: 0.85em;
  word-break: break-all;
}

.directive-embed .consent-always-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85em;
  color: var(--color-text, #333);
  cursor: pointer;
}

.directive-embed .consent-always-checkbox {
  cursor: pointer;
  vertical-align: middle;
}

.directive-embed .consent-accept-btn {
  padding: 8px 24px;
  color: var(--color-brand);
  background: none;
  border: 1px solid var(--color-brand);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95em;
}

.directive-embed .consent-accept-btn:hover {
  opacity: 0.9;
}

