.link-editor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 31;
  max-width: 400px;
  width: 100%;
  opacity: 0;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  transition: opacity 0.5s;
  will-change: transform;
  padding: 10px 0;
}

.link-editor .link-editor-target-checkbox {
  padding: 10px 10px 5px 10px;
}

.link-editor .button {
  width: 20px;
  height: 20px;
  display: inline-block;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  margin: 0 2px;
}

.link-editor .button.hovered {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-color: #eee;
}

.link-editor .button.active,
.toolbar .button.active {
  background-color: rgb(223, 232, 250);
}

.link-editor .link-editor-section {
  margin: 0 15px;
  padding: 10px 0;
  width: calc(100% - 24px);
}

.link-editor .link-editor-popup-title {
  margin: 0 15px 10px;
  color: var(--mdc-theme-primary);
}

.link-editor .link-editor-section .header {
  width: auto;
  margin-bottom: 10px;
}

.link-editor .link-editor-section .header_icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.link-editor .link-editor-section .header_title {
  font-size: 16px;
  font-width: bold;
  color: var(--mdc-theme-primary);
}

.link-editor .link-editor-section .section-desc {
  color: #0a0a0a;
}

.link-editor .link-editor-section.edit-form-bottom-menu {
  display: flex;
  justify-content: right;
  margin-top: 5px;
  column-gap: 10px;
}

.link-editor .link-editor-section ul {
  list-style: initial;
  padding: 0 20px;
}

.link-editor .link-editor-section ul li {
  padding: 3px 0;
}

.link-editor .link-input {
  display: block;
  width: calc(100% - 24px);
  height: 42px;
  box-sizing: border-box;
  margin: 12px;
  padding: 12px;
  border-radius: 10px;
  background-color: #eee;
  font-size: 16px;
  color: rgb(5, 5, 5);
  border: 0;
  outline: 0;
  position: relative;
  font-family: inherit;
}

.link-editor .link-input.full-with {
  width: 100%;
  margin: 0;
}

.link-editor .link-input .link-unlink {
  background-image: url(../../images/icons/unlink_icon.svg);
  background-size: 18px;
  background-position: center;
  background-repeat: no-repeat;
  width: 35px;
  vertical-align: -0.25em;
  position: absolute;
  right: 5px;
  top: 0;
  bottom: 0;
  cursor: pointer;
}

.link-editor .link-input .link-edit {
  background-image: url(../../images/icons/pencil-fill.svg);
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
  width: 35px;
  vertical-align: -0.25em;
  position: absolute;
  right: 35px;
  top: 0;
  bottom: 0;
  cursor: pointer;
}

.link-editor .link-input a {
  color: rgb(33, 111, 219);
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  margin-right: 30px;
  text-overflow: ellipsis;
}

.link-editor .link-input a:hover {
  text-decoration: underline;
}

.link-editor .font-size-wrapper,
.link-editor .font-family-wrapper {
  display: flex;
  margin: 0 4px;
}

.link-editor select {
  padding: 6px;
  border: none;
  background-color: rgba(0, 0, 0, 0.075);
  border-radius: 4px;
}

.link-editor .button i,
.actions i {
  background-size: contain;
  display: inline-block;
  height: 20px;
  width: 20px;
  vertical-align: -0.25em;
}
