@use '../abstracts' as *;

/* Organism - modal */
.o-modal-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: toRem(480);
  padding: toRem(18) toRem(26) toRem(36) toRem(26);
  transform: translate(-50%, -50%);
}

.o-modal {
  width: 100%;
  &__top {
    display: flex;
    margin-bottom: toRem(25);

    &__title {
      flex: 1;
      padding-top: toRem(7);
      padding-right: toRem(25);
    }
    &__close {
      .a-btn {
        margin-top: toRem(9);
      }
    }
  }

  .o-yap-stepper__content {
    yap-step {
      &.active-step {
        position: relative;
      }
    }
  }

  .m-btn-group {
    justify-content: space-around;
    padding-top: toRem(15);
  }
}
