/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ==========================================================================
   GRAVITY FORMS
   ========================================================================== */

/* Form wrapper — background and rounded corners */
.gform_wrapper {
  max-width: 1200px; /* Adjust this value to control the form's width */
  margin-left: auto;
  margin-right: auto;
  background-color: #652f8e !important;
  border-radius: 2px !important;
  padding: 40px !important;

  /* Overwrite Gravity Forms vertical field gap */
  --gf-field-gap-y: 30px !important; /* Adjust this value to your liking */
}

/* Hide form title */
.gform_wrapper .gform_title {
  display: none !important;
}

/* Field labels */
.gform_wrapper .gfield_label {
  font-family: "Poppins", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: #fff !important;
}

.gform-field-label {
	color: #fff !important;
}

/* Required label asterisk */
.gform_wrapper .gfield_required {
  color: #fff !important;
}

/* Input fields, textareas, selects */
.gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.gform_wrapper textarea,
.gform_wrapper select {
  font-family: "Poppins", sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: -20px !important;
  border: none !important;
  border-radius: 2px !important;
  transition: none !important;
}

/* Placeholder text */
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 300 !important;
}

/* Remove focus outline/border */
.gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Checkbox and radio labels */
.gform_wrapper .gfield_checkbox label,
.gform_wrapper .gfield_radio label {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.5px !important;
}

/* Checkbox — remove border, rounded corners, brown accent */
.gform_wrapper .gfield_checkbox input[type="checkbox"],
.gform_wrapper input[type="checkbox"] {
  border: none !important;
  border-radius: 2px !important;
  outline: none !important;
  box-shadow: none !important;
  accent-color: #603813 !important;
  --gf-ctrl-choice-check-color: #603813 !important;
}

/* Field description / sublabel */
.gform_wrapper .gfield_description,
.gform_wrapper .gform_sublabel {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.5px !important;
}

#gfield_description_2_6 {
  margin-top: 35px;
}

/* Validation messages */
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 300 !important;
}

/* Submit button */
.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
  display: flex !important;
  justify-content: center !important;
}

.gform_wrapper input[type="submit"],
.gform_wrapper button[type="submit"] {
  display: inline-block !important;
  background-color: #fff !important;
  font-family: "Poppins", serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #652f8e !important;
  border: 2px solid #fff !important;
  border-radius: 2px !important;
  padding: 15px 100px !important;
  transition:
    background-color 0.3s ease,
    color 0.3s ease !important;
  cursor: pointer !important;
  margin-top: 10px !important;
}

.gform_wrapper input[type="submit"]:hover,
.gform_wrapper button[type="submit"]:hover {
  background-color: transparent !important;
  color: #fff !important;
}

#field_1_9 {
	margin-top: -30px;
}

.gfield_validation_message {
	margin-top: 30px !important;
}

#validation_message_1_8{
	margin-top: 5px !important;
}

/* Mobile adjustment for Gravity Forms */
@media only screen and (max-width: 768px) {
  .gform_wrapper {
    padding: 20px !important;
  }
}

/* URL in Gravity Forms */
.gform_wrapper a {
    color: #ffffff !important;
    text-decoration: underline !important;
}