.cf7lh-dup-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.cf7lh-dup-modal[hidden]:not(.is-open) {
  display: none !important;
}

.cf7lh-dup-modal.is-open {
  display: flex !important;
}

.cf7lh-dup-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cf7lh-dup-modal__panel {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  width: 100%;
  margin: 0;
  padding: 1.75rem 1.5rem 1.25rem;
  background: #fff;
  color: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

.cf7lh-dup-modal__msg {
  margin: 0 0 1.25rem;
}

.cf7lh-dup-modal__ok {
  display: inline-block;
  min-width: 7rem;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  background: #0073aa;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.cf7lh-dup-modal__ok:hover,
.cf7lh-dup-modal__ok:focus {
  background: #005a87;
  color: #fff;
}

body.cf7lh-dup-modal-open {
  overflow: hidden;
}
