/* src/components/prosemirror/wiki-links/wiki-links.css */
.wiki-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  background-color: #3b82f61a;
  border-bottom: 1px solid #3b82f64d;
  border-radius: 3px;
  padding: 0 2px;
  transition: background-color .15s, border-color .15s;
}

.wiki-link:hover {
  background-color: #3b82f633;
  border-bottom-color: #3b82f680;
}

.wiki-link.broken {
  color: inherit;
  opacity: .6;
  border-bottom-style: dashed;
}

.wiki-link-trigger {
  background-color: #3b82f626;
  border-radius: 3px;
}

.wiki-link-popup {
  position: fixed;
  z-index: 1000;
  overflow-y: auto;
  border-radius: 8px;
  min-width: 300px;
  max-width: 400px;
  max-height: 300px;
  box-shadow: 0 4px 20px #00000026;
}

.wiki-link-popup-item {
  cursor: pointer;
  padding: 8px 12px;
  transition: background-color .1s;
}

.wiki-link-popup-item:hover, .wiki-link-popup-item.selected {
  background-color: #3b82f61a;
}

.wiki-link-popup-item .title {
  font-weight: 500;
}

.wiki-link-popup-item .tags {
  opacity: .7;
  margin-top: 2px;
  font-size: .75rem;
}

.wiki-link-popup kbd {
  display: inline-block;
  background-color: #80808033;
  border-radius: 3px;
  padding: 2px 5px;
  font-family: inherit;
  font-size: .7rem;
}
