.embed-box {
  position: relative;
  padding: 12px;
  border: 2px dashed #999;
  border-radius: 10px;
  background: #fdfdfd;
}

.embed-box-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  top: -12px;
  left: 50px;
  background: #fff;
  padding: 2px 8px;
  font-size: 12px;
  color: #666;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.embed-box-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.embed-box-link:hover {
  color: #1a73e8;
  text-decoration: underline;
}

/* Allows immediate click without needing the widget active */
.ck-editor__editable .ck-media__wrapper .embed-box-link {
  pointer-events: auto;
}

.embed-box iframe {
  width: 100%;
  border: none;
}

.embed-box-label .embed-warning-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-25%);
  background: #2d3748;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.4;
  padding: 6px 12px;
  white-space: normal;
  width: 25rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s ease;
  transition-delay: 100ms;
  z-index: 1;
}

.embed-box-label .embed-warning-icon:hover::after {
  opacity: 1;
}

/*# sourceMappingURL=index.css.map */
