.moseo_modal_backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  z-index: 10;
}

.moseo_contact_container {
  top: 50%;
  left: 56%;
  transform: translate(-50%, -56%);
  background-color: white;
  border-radius: 6px;
  width: 90%;
  max-width: 550px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding: 10px 12px 20px 10px;
  max-height: 80vh;
  overflow-y: auto;
}

.moseo_contact_header {
  padding: 0px 20px 0 20px;
}

hr.moseo_divider {
  background-color: #aeaeae;
}
.moseo_contact_title {
  font: 500 24px / 0.4 var(--moseo-font-family);
  letter-spacing: var(--moseo-letter-spacing);
  color: #1e1e1e;
}

.moseo_contact_subtitle {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.moseo_close_button {
  position: absolute;
  top: 12px;
  right: 19px;
  font-size: 34px;
  cursor: pointer;
  background: none;
  border: none;
  color: #333;
}

.moseo_form_container {
  padding: 20px;
}

.moseo_form_group {
  margin-bottom: 20px;
}

.moseo_form_label {
  display: block;
  margin-bottom: 6px;
  font: 500 14px/1 var(--moseo-font-family);
  letter-spacing: var(--moseo-letter-spacing);
  color: #000;
}

.moseo_required {
  color: #e74c3c;
  margin-left: 3px;
}

.moseo_form_input {
  width: 100%;
  padding: 8px 12px !important;
  border: 1px solid #cccccc !important;
  border-radius: 8px !important;
  background-color: #F7F8FA !important;
  font: 400 14px/1 var(--moseo-font-family);
  letter-spacing: var(--moseo-letter-spacing);
}

.moseo_form_textarea {
  width: 100%;
  padding:8px 12px !important;
  border: 1px solid #CCCCCC;
  resize: none;
  border-radius: 8px !important;
  min-height: 6rem;
  background-color: #F7F8FA !important;
  font: 400 14px/1 var(--moseo-font-family);
  letter-spacing: var(--moseo-letter-spacing);
}
.moseo_form_input::placeholder,
.moseo_form_textarea::placeholder{
	color: #949494;
}
.moseo_form_textarea:focus,
.moseo_form_textarea:active,
.moseo_form_input:active,
.moseo_form_input:focus{
	background-color: #fff !important;
}
.moseo_response_message {
    line-height: 0;
    padding: 1rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .moseo_contact_container {
    width: 95%;
  }

  .moseo_contact_title {
    font-size: 20px;
  }

  .moseo_form_input,
  .moseo_form_textarea {
    padding: 10px;
    border-radius: 8px;
  }

  .moseo_submit_button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .moseo_contact_container {
    width: 100%;
    height: 100%;
    border-radius: 0;
    max-width: none;
  }

  .moseo_modal_backdrop {
    padding: 0;
  }

  .moseo_form_container {
    padding: 15px;
  }
}

#moseo_openModalBtn {
  position: fixed;
  right: 25px; /* Distance from the right edge */
  bottom: 25px; /* Distance from the bottom edge */
  z-index: 1001;
  background-color: #0052cc; /* Button color */
  color: #fff; /* Icon color */
  border: none;
  border-radius: 50%; /* Makes it a round button */
  padding: 5px; /* Reduced padding to avoid large space around the icon */
  width: 60px; /* Set a fixed width */
  height: 60px; /* Set a fixed height */
  padding-right: 25px;
  padding-bottom: 25px;
  cursor: pointer;
}

#moseo_openModalBtn .dashicons {
  font-size: 40px; /* Slightly smaller icon size to fit within the button */
  line-height: 1; /* Prevents extra space below the icon */
  vertical-align: middle; /* Centers the icon */
}
.moseo-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  padding-top: 60px; /* Location of the box */
}
