/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

 /* Force WPForms to match the Wanderbox aesthetic */
 .wpforms-form input[type="text"],
 .wpforms-form input[type="email"],
 .wpforms-form textarea,
 .wpforms-form select {
   background-color: transparent !important;
   border: 1px solid var(--theme-palette-color-5) !important;
   border-radius: 30px !important;
   padding: 10px 18px !important;
   transition: all 0.3s ease;
 }

 /* Remove extra field spacing */
 .wpforms-form .wpforms-field {
   margin-bottom: 10px !important;
   padding: 0 !important;
 }

 /* === NAME FIELD === */
 #wpforms-220-field_1-container fieldset {
   border: none !important;
   padding: 0 !important;
   margin: 0 !important;
 }

 /* Float the legend left so it sits beside the inputs */
 #wpforms-220-field_1-container fieldset legend {
   float: left !important;
   width: auto !important;
   padding: 0 !important;
   margin: 0 !important;
   margin-right: 12px !important;
   font-weight: 700 !important;
   white-space: nowrap !important;
   line-height: 44px !important;
   /* vertically center with inputs */
 }

 /* Each name input container takes equal space */
 #wpforms-220-field_1-container .wpforms-one-half {
   width: auto !important;
   max-width: none !important;
   flex: 1 1 0% !important;
   float: none !important;
   padding: 0 !important;
   margin: 0 !important;
 }

 #wpforms-220-field_1-container input[type="text"] {
   width: 100% !important;
 }

 /* === EMAIL FIELD === */
 #wpforms-220-field_2-container {
   display: grid !important;
   grid-template-columns: auto 1fr !important;
   align-items: center !important;
   gap: 12px !important;
 }

 #wpforms-220-field_2-container>.wpforms-field-label {
   margin: 0 !important;
   font-weight: 700 !important;
   white-space: nowrap !important;
 }

 #wpforms-220-field_2-container input[type="email"] {
   max-width: 700px !important;
 }

 /* === Submit button far right === */
 .wpforms-form .wpforms-submit-container {
   display: flex !important;
   justify-content: flex-end !important;
   margin-top: 4px !important;
   padding: 0 !important;
 }

 .wpforms-form .wpforms-submit {
   background-color: var(--theme-palette-color-9) !important;
   color: var(--theme-palette-color-3) !important;
   border-radius: 100px !important;
   font-family: var(--theme-font-family);
   font-weight: 700;
   text-transform: uppercase;
   padding: 12px 35px !important;
   border: none !important;
 }

.menu-label>a {
  pointer-events: none;
  cursor: default;
}