/* Popup background overlay */
#mcpg-popup-form {
  display: none; /* Hidden by default; will be displayed by JavaScript */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
  z-index: 9999; /* Make sure it's on top of other elements */
  justify-content: center;
  align-items: center;
}
#mcpg-popup-form .popup-content {
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  background-color: #fff; /* White background for the popup */
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* A subtle shadow */
  width: 90%; /* You might want to set a fixed width or max-width */
  max-width: 500px;
}
#mcpg-popup-form.active form#mcpg-form input:not([type=submit]) {
  background-color: #fff;
  border-radius: 15px;
  margin-bottom: 15px;
}
#mcpg-popup-form .mcpg-popup-form-wapper {
  max-width: 500px;
  position: relative;
  background-color: #EEE9E0;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: 3px solid #3D1B32;
  padding: 60px;
  margin: 100px auto 50px;
  background-position: -100px -50%;
  background-repeat: no-repeat;
  background-size: cover;
}
@media screen and (max-width: 768px) {
  #mcpg-popup-form .mcpg-popup-form-wapper {
    padding: 30px;
    max-width: 90%;
  }
}
