/**
 * Exit Popup styles only — does not affect Welcome Popup (.WelcomePopup).
 */

.ExitPopup .modal-content {
  padding: 40px;
}

.ExitPopup .modal-dialog {
  max-width: 620px;
}

.ExitPopup .modal-header,
.ExitPopup .modal-body,
.ExitPopup .modal-footer {
  padding: 0;
  border: none;
}

.ExitPopup .modal-body {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.ExitPopup .modal-body p,
.ExitPopup .modal-body .exit-popup-content,
.ExitPopup .modal-body .exit-popup-content p {
  font-size: 1.25rem;
  line-height: 1.2;
}

/* Inline footer buttons */
.ExitPopup .modal-footer {
  display: flex;
  flex-wrap: nowrap;
    flex-direction: row-reverse;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ExitPopup .modal-footer > p {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}

.ExitPopup .modal-footer .btn-invert,
.WelcomePopup.ExitPopup .modal-footer .btn-invert {
  color: #00871d;
  background-color: #ffffff;
  border-width: 2px;
}

.ExitPopup .modal-footer .btn-invert:hover {
  color: #ffffff;
}

.ExitPopup .exit-popup-logo,
.ExitPopup .welcome-popup-logo {
  max-width: 100%;
  height: auto;
  display: block;
}

.ExitPopup .modal-body .green,
.WelcomePopup.ExitPopup .modal-body .green {
  color: #00871d;
  font-weight: 700;
}
