.ui-widget-overlay.ui-front {
  background: rgba(81, 88, 97, 0.6);
}

.external-link-popup.external-link-popup-id-default.ui-dialog {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 60px;
  border-radius: 16px;
  max-width: 893px;
  background-color: #fff;
  border-radius: 16px;
  z-index: 1025;

  @media (max-width: 991px) {
    left: 50% !important;
    transform: translateX(-50%);
    padding: 40px 24px;
    gap: 40px;
    min-width: 92%;
    max-width: none;
  }

  .ui-dialog-titlebar {
    display: none;
  }

  .external-link-popup-content.ui-dialog-content.ui-widget-content {
    border-radius: 20px;

    @media (max-width: 991px) {
      padding: 0px;
    }

    .external-link-popup-body {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: 24px;

      h3 {
        color: var(--STEEL, #515861);
        text-align: center;
        font-family: var(--Font-H3, "Tilt Neon");
        font-size: var(--Size-H3, 32px);
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin: 0;

        @media (max-width: 991px) {
          font-size: 26px;
        }
      }

      p {
        color: var(--STEEL, #515861);
        text-align: center;
        font-family: var(--Font-Body, Agenda);
        font-size: var(--Size-Body, 20px);
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin: 0;
      }
    }
  }

  .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix {
    background: white;
    margin-top: 0;
    border: 0;
    border-radius: 20px;
    padding: 0;

    .ui-dialog-buttonset {
      display: flex;
      justify-content: center;
      width: 100%;
      gap: 16px;

      .button {
        display: flex;
        height: 48px;
        padding: 13px 16px 11px 24px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 999px;
        font-style: normal;
        font-weight: 700;
        position: relative;
        font-size: 20px;
        margin: 0px;

        @media (max-width: 991px) {
          gap: 5px;
          max-width: 145px;
        }
      }

      .button:nth-child(1) {
        background: var(--Coral, #f16b50);
        color: white;
      }
      .button:nth-child(1):focus {
        outline: none;
        outline-offset: unset;
      }

      .button:nth-child(1)::after {
        content: "";
        width: 24px;
        height: 24px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        display: inline-block;
        background: url("../../images/icons/chevron-right.svg");
      }

      .button:nth-child(2) {
        background: var(--White, #fff);
        border: 3px solid var(--Coral, #f16b50);
        color: #f16b50;
      }

      .button:nth-child(2)::after {
        content: "";
        width: 24px;
        height: 24px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        display: inline-block;
        background: url("../../images/icons/arrow-coral-right.svg");
      }
    }
  }
}
