.q-dialog {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;

  &__container {
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--color-tertiary-gray-ultra-light);
  }

  &__view {
    display: flex;
  }

  &__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 36px 32px 32px;
  }

  &__close {
    position: absolute;
    top: 24px;
    right: 32px;
  }

  &__title {
    padding-right: 104px;
    font-weight: 800;
    font-size: 24px;
    line-height: 31px;
    color: var(--color-primary-black);
    word-break: break-word;
  }

  &__content {
    flex: 1;
    margin-top: 32px;
  }
}

.q-dialog-fade-enter-active {
  animation: q-dialog-fade-in 0.3s;
}

.q-dialog-fade-leave-active {
  animation: q-dialog-fade-out 0.3s;
}

@keyframes q-dialog-fade-in {
  0% {
    transform: translate3d(0, -20px, 0);
    opacity: 0;
  }

  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes q-dialog-fade-out {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  100% {
    transform: translate3d(0, -20px, 0);
    opacity: 0;
  }
}
