.h-logic-modal {
  width: 100vw;
  height: 100vh;
  position: fixed;
  background: rgba($color: #000, $alpha: 0.4);
  z-index: 999;
}

@mixin modalbtn {
  background: var(--color-white, #fff);
  font-size: var(--p-body-2-font-size, 32rpx);
  line-height: 45rpx;
  color: #818181;
  padding-top: 30rpx;
  padding-bottom: 30rpx;
  flex: 1 1 50%;
  border-radius: 0;
  text-align: center;
  border-right: rgba($color: #979797, $alpha: 0.2) 1rpx solid;

  &::after {
    border: none;
  }

  &:first-child {
    border-bottom-left-radius: 14rpx;
  }

  &:last-child {
    border-bottom-right-radius: 14rpx;
    border-right: none;
  }

  &.highlight {
    color: var(--color-text1-4, #111);
  }
}

.h-logic-modal-body {
  width: 560rpx;
  border-radius: 14rpx;
  background: var(--color-white, #fff);
  margin-left: 95rpx;
  margin-top: 390rpx;

  .modal-main {
    padding: 24rpx;
    display: flex;
    align-items: flex-start;
  }

  .modal-title {
    font-size: var(--p-body-1-font-size, 28rpx);
    font-weight: bold;
    line-height: 42rpx;
  }

  .modal-content {
    margin-top: 30rpx;
    font-size: var(--p-caption-font-size, 24rpx);
    line-height: 37rpx;
    color: #595959;
    min-height: 70rpx;
  }

  .modal-action {
    display: flex;
    flex-direction: row;
    border-top: rgba($color: #979797, $alpha: 0.2) 1rpx solid;
  }

  .modal-btn {
    @include modalbtn;
  }
}
