.pg-report-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  padding: 1rem;
}

.pg-report-modal.is-open {
  display: grid;
  place-items: center;
}

.pg-report-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 43, 0.62);
}

.pg-report-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(64rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 0;
  overflow: auto;
  background: var(--pg-gabetti-gray-light);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.pg-report-modal__content {
  padding: var(--pg-gap-8);
}

.pg-report-modal .pg-form__grid--contact {
  grid-template-columns: 1fr 1fr;
}

.pg-report-modal__close {
  position: absolute;
  top: var(--pg-gap-8);
  right: var(--pg-gap-8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--pg-primary);
  border-radius: 50%;
  background: var(--pg-white);
  color: var(--pg-primary);
  font-size: 30px;
  line-height: 30px;
  cursor: pointer;
}

.pg-report-modal__close span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pg-report-modal__head {
  margin-bottom: var(--pg-gap-6);
}

.pg-report-modal__eyebrow {
  margin: 0 0 var(--pg-gap-2);
  color: var(--pg-gabetti-gray);
  font-size: var(--pg-fs-eyebrow);
  font-weight: 500;
}

.pg-report-modal__title {
  margin: 0;
  color: var(--pg-primary);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.1;
}

.pg-report-modal__lead {
  margin: var(--pg-gap-3) 0 0;
  color: var(--pg-gabetti-gray);
}

.pg-report-modal__success {
  color: var(--pg-gabetti-gray);
  font-weight: 500;
}

.pg-report-modal [hidden] {
  display: none !important;
}

body.pg-report-modal-open {
  overflow: hidden;
}

@media (max-width: 40rem) {
  .pg-report-modal__dialog {
    width: calc(100% - 1rem);
    max-height: calc(100vh - 1rem);
  }

  .pg-report-modal .pg-form__grid--contact {
    grid-template-columns: 1fr;
  }
}
