@import './vars';

.vtj-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;
  width: 500px;
  height: auto;
  background-color: $--vtj-background-color;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  border-radius: 2px;

  &__modal {
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;
  }

  > .vtj-panel__header-wrapper {
    background-color: $--vtj-color-light-9;
    // cursor: move;
    user-select: none;
  }
  > .vtj-panel__body {
    height: 100%;
  }
}
