#form-submit-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--rc-z-modal);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#form-submit-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rc-modal-card {
  background: #fff;
  max-width: 520px;
  width: 92%;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.rc-modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.rc-modal-title {
  margin: 0 0 8px;
  font-size: 24px;
}

.rc-modal-text {
  margin: 0;
  line-height: 1.5;
}

.rc-hidden-iframe {
  display: none;
}
