@import '../common/scss//base.scss';

.modal {
  .modal-inner {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 110;
    width:  80%;
    background: #fff;
    border-radius: 6px;
    transition: all .2s ease;
    transform: translate3d(-50%, -50%, 0) scale(.7);
    opacity: 0;
    line-height: 20px;
    visibility: hidden;
    &.active {
      opacity: 1;
      visibility: visible;
      transform: translate3d(-50%, -50%, 0) scale(1)
    }
  }

  .modal-title {
    padding: 24px 24px 10px;
    text-align: center;
    font-size: 16px;
    color: $color-title;
    font-weight: 400;
    @include no-wrap();
    &.no-text {
      padding-bottom: 20px;
    }
  }

  .modal-text {
		padding: 0 30px 20px;
    text-align: center;
    font-size: 14px;
    color: $color-text;
  }

  .modal-btns {
    display: flex;
    .modal-btn {
      flex: 1;
    }
    .modal-btn-cancel, .modal-btn-confirm {
      border: none;
    }
    .modal-btn-confirm {
      color: $color-theme;
    }
  }

}
