.c-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 300px;
  width: 328px;
  max-width: 80vw;
  max-height: 80vh;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);

  &--transition {
    &-enter {
      opacity: 0;
    }

    &-leave-active {
      opacity: 0;
    }
  }

  &__mask {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    background-color: rgba(0, 0, 0, 0.6);
  }
}
