/* Contact Block Form Styling */

/* Form labels */
.contact-block .nf-form-content .nf-field-label label {
  color: white !important;
  font-weight: normal !important;
  font-size: 1.1rem !important;
  margin-bottom: 0.3rem !important;
}
.nf-form-title,
.nf-form-fields-required {
  display: none !important;
}

/* Form inputs */
.contact-block .nf-form-content input:not([type="button"]),
.contact-block .nf-form-content textarea {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 0 !important;
  color: white !important;
  padding: 0.8rem !important;
  font-size: 1rem !important;
}

/* Form input placeholder */
.contact-block .nf-form-content input::placeholder,
.contact-block .nf-form-content textarea::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Submit button */
.contact-block .nf-form-content button,
.contact-block .nf-form-content input[type="button"],
.contact-block .nf-form-content input[type="submit"] {
  background-color: transparent !important;
  color: white !important;
  border: 2px solid white !important;
  font-weight: bold !important;
  padding: 0.6rem 2rem !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.05em !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Submit button hover */
.contact-block .nf-form-content button:hover,
.contact-block .nf-form-content input[type="button"]:hover,
.contact-block .nf-form-content input[type="submit"]:hover {
  background-color: white !important;
  color: black !important;
}

/* Add arrow to submit button */
.contact-block .nf-form-content input[type="button"]:after,
.contact-block .nf-form-content input[type="submit"]:after {
  content: "→";
  margin-left: 10px;
  font-size: 1.2rem;
}

/* Space between fields */
.contact-block .nf-form-content .nf-field-container {
  margin-bottom: 1.5rem !important;
}

/* Error messages */
.contact-block .nf-error-msg,
.contact-block .nf-error .nf-error-msg {
  display: flex !important;
  align-items: center !important;
  color: #fff !important;
  background: none !important;
  padding: 0 !important;
}
.contact-block .nf-error-msg::before,
.contact-block .nf-error .nf-error-msg::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../error-icon.svg") no-repeat center;
  background-size: contain;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}
