.wp-modal-form {
  position: fixed;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  display: none;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
}

.wp-modal-form-wrapper {
  margin: 0 auto;
  height: 80%;
  overflow-y: auto;
  width: fit-content;
}
@media (min-width: 1280px) {
  .wp-modal-form-wrapper {
    height: fit-content;
    max-width: 1280px;
    overflow: auto;
  }
}

.wp-modal-form-container {
  border-radius: 8px;
  background-color: white;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  inset: 0;
}
@media (min-width: 1280px) {
  .wp-modal-form-container {
    border-radius: 16px;
  }
}

.close-modal-btn {
  background: white;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  color: #666;
  position: absolute;
  border-radius: 9999px;
  z-index: 10;
  right: 10px;
  top: 10px;
}
.close-modal-btn:hover {
  color: #333;
}
.close-modal-btn:active {
  transform: scale(0.95);
}
.close-modal-btn svg {
  width: 24px;
  height: 24px;
}