.mimsj-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.mimsj-modal-overlay.hidden {
  opacity: 0;
}

.mimsj-modal-wrapper {
  background-color: #fff;
  width: 100%;
  max-width: 500px;
  position: relative;
  padding: 50px 16px;
  max-height: 90%;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mimsj-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  z-index:100;
}

.mimsj-modal-close:before, 
.mimsj-modal-close:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
}
.mimsj-modal-close:before {
  transform: rotate(45deg);
}
.mimsj-modal-close:after {
  transform: rotate(-45deg);
}

.mimsj-modal-content {
  max-width: 400px;
  width: 100%;
}

.mimsj-modal-header {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 18px;
  color: #000;
}

.mimsj-modal-button {
  min-width: 170px;
  width: 170px;
  margin-bottom: 0px;
}

.mimsj-contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 0px;
}

.mimsj-contact-form label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #4D4D4D;
}

.mimsj-contact-form-input {
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 16px;
  width: 100%;
}

.mimsj-contact-form-input:focus {
  outline: none;
  border-color: #000 !important;
}

.mimsj-contact-form-input[name="content"] {
  padding: 12px 20px;
  min-height: 120px;
  font-size: 14px !important;
  resize: vertical;
  vertical-align: top;
  text-align: left;
}

.mimsj-contact-form-error {
  color: #e53e3e;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.mimsj-modal-loading-spinner {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
}

.mimsj-modal-loading-spinner:after {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 4px solid #000;
  border-color: #000 transparent #000 transparent;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.mimsj-hidden {
  display: none !important;
}