.vm-base-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  height: 100%;
  background-color: var(--modal-mask-bg-color);
}

.vm-base-modal-wrap {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: calc(100vh * 0.9);
  max-height: 748px;
  min-height: 500px;
  z-index: 1000;
  border-radius: 12px;
  background: var(--modal-bg-color);
  box-shadow: var(--modal-shadow-color);
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modal-border-color);
    border-radius: 12px;
    padding: 1px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
  }
  .vm-base-modal-body {
    position: absolute;
    top: 56px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--modal-content-bg);
    border-radius: 8px;
  }
  .vm-base-modal-content-wrap {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 0 16px 16px;
    .vm-base-modal-content {
      height: 100%;
      overflow-x: hidden;
      overflow-y: auto;
    }
  }
  * {
    &::-webkit-scrollbar {
      width: 0;
      height: 0;
    }

    &::-webkit-scrollbar-track {
      background: transparent;
      border-radius: 5px;
    }

    &::-webkit-scrollbar-thumb {
      background: transparent;
      border-radius: 5px;
    }

    &::-webkit-scrollbar-corner {
      background-color: transparent;
    }
  }
}
