@import "./imports.scss";

.document-error-modal {
  text-align: left;

  .modal {
    &.is-active {
      .modal-content {
        height: auto;
        max-width: 400px !important;

        .modal-close {
          display: none !important;
        }

        .modal-card-body {
          background: $white;
          border-radius: 12px 12px 0 0 !important;

          .header {
            display: flex;
            justify-content: space-between;

            .error-icon {
              width: 48px;
              height: 48px;
              border-radius: 50%;
              background: $low-opacity-red;
              display: flex;
              align-items: center;
              justify-content: center;
            }

            .close-btn {
              color: $grey;

              &:hover {
                cursor: pointer;
              }
            }
          }

          .content {
            padding-top: 15px;
            color: $dark-blue !important;

            h3 {
              font-weight: 500 !important;
              font-size: 18px !important;
              line-height: 28px !important;
              padding-bottom: 5px;
            }

            p {
              font-weight: 400;
              line-height: 20px;
              font-size: 14px;
            }
          }
        }

        .modal-card-foot {
          display: flex;
          justify-content: center;
          border: none;
          background: $white;
          border-radius: 0 0 12px 12px;
          padding-top: 0 !important;

          .button {
            width: 100%;
            height: 44px;
            font-weight: 500 !important;
            font-size: 16px !important;
            line-height: 24px !important;
          }
        }
      }
    }
  }
}
