@import '../../styles/variable.scss';
.op-dialog-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  z-index: $dialog-zindex;
  transition: all 0.3s;

  .op-dialog-inner-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 50%;
    top: 50%;
    max-height: 90%;
    z-index: 3;
    background-color: #fff;
    transition: all 0.3s;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    padding: 24px;

    .op-inner-content-header {
      border-radius: 16px 16px 0 0;
      background: #fff;
      color: rgba(0, 0, 0, 0.65);

      .op-inner-content-title {
        margin: 0;
        word-wrap: break-word;
        font-size: 40px;
        color: #143d66;
        font-weight: 500;
        line-height: 1.25;
        margin-bottom: 24px;
      }

      .op-dialog-sub-title {
        font-size: 24px;
        color: #3d5c86;
        line-height: 28px;
        margin-bottom: 16px;
      }
    }

    .op-inner-content-center {
      font-size: 20px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
    }

    .op-inner-content-footer {
      border-radius: 0 0 16px 16px;
      padding-top: 24px;
      display: flex;
      align-items: center;
      justify-content: flex-end;

      .button-right {
        margin-right: 12px;
      }
    }
  }

  .mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.3);
  }

  &.op-dialog-error .op-dialog-inner-content {
    border: 8px solid #f53727;
  }
}
