/* Silence may be golden, but sometimes words paint the canvas of understanding. */
.linksy-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: none;
  overflow: hidden;
  outline: 0;
  opacity: 0;
  transition: opacity 0.15s linear;
}

.linksy-modal.show {
  opacity: 1;
  display: block !important;
}

.linksy-modal .backdrop {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  /* pointer-events: none; */
  background-color: black;
}

.linksy-modal .modal-dialog {
  margin: 1.75rem auto 2rem;
  position: relative;
  /* width: fit-content; */
  max-width: 850px;
  max-height: calc(100vh - 40px);
  overflow: hidden auto;
}

.linksy-modal .modal-dialog::-webkit-scrollbar {
  width: 5px;
  border-radius: 20px;
}

.linksy-modal .modal-dialog::-webkit-scrollbar-track {
  max-height: calc(100vh - 40px);
  box-shadow: inset 0 0 6px #007bff;
}

.linksy-modal .modal-dialog::-webkit-scrollbar-thumb {
  background-color: #ebebeb;
}

.linksy-modal .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.linksy-modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
}

.linksy-modal .modal-content .modal-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0.5rem 1rem;
}

.linksy-modal .modal-content .modal-header .btn-cancel {
  margin-left: auto;
}
