.gmf-contact-form {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gmf-contact-form-input-group {
  display: flex;
  gap: 24px;
  align-items: center;
  width: 100%;
}

.gmf-contact-form-group {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
  /* max-width: 350px; */
}

.gmf-contact-input-line {
  border: none;
  border-bottom: 2px solid #000;
  outline: none;
  font-size: 16px;
  padding: 8px 0;
  width: 100%;
  background-color: transparent;
}

.gmf-contact-input-line:focus {
  border-bottom-color: rgba(147, 0, 25, 0.8);
}

.gmf-contact-input-line::placeholder {
  color: transparent;
}

.gmf-contact-form-label {
  position: absolute;
  left: 0;
  top: 5px;
  pointer-events: none;
  transition: all 0.2s ease;
  color: rgba(147, 0, 25, 0.5);
}

.gmf-contact-input-line:focus + label,
.gmf-contact-input-line:not(:placeholder-shown) + label {
  top: -20px;
  font-size: 12px;
  color: #930019;
}

.gmf-contact-form-label-required::after {
  content: ' *';
  color: #930019;
}

.gmf-contact-text-area-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  /* min-width: 350px; */
}

.gmf-contact-text-area {
  border: 2px solid rgba(147, 0, 25, 0.5);
  border-radius: 0.5rem;
  padding: 12px;
  font-size: 16px;
  height: 150px;
  resize: vertical;
  outline: none;
}

.gmf-contact-text-area:focus {
  border-color: rgba(147, 0, 25, 0.8);
}

.gmf-contact-form-submit-btn {
  outline: none;
  border: 1px solid #70655E;
  width: 150px;
  height: 55px;
  background-color: transparent;
  cursor: pointer;
  color: #70655E;
}

.gmf-contact-form-submit-btn:hover {
  color: white;
  background-color: #70655E;
  border: none;
}

.gmf-form-error {
  margin-top: 0.5rem;
  color: red;
}

.gmf-form-success-modal {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.gmf-form-success-modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 300px;
  text-align: center;
}

.gmf-form-success-modal-close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.gmf-form-success-modal-close-btn:hover,
.gmf-form-success-modal-close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}