/*
Theme Name: CoxHealth Foundation Hello Elementor Child
Theme URI: https://coxhealthfoundation.org/
Description: Child theme for Hello Elementor with Gravity Forms styling fixes.
Author: Wehrenberg Design Workspace
Template: hello-elementor
Version: 1.0.0
Text Domain: coxhealth-foundation-hello-elementor-child
*/

/* =========================================
   Gravity Forms - Layout + Field Consistency
   (Latest edits)
========================================= */

.gform_wrapper .gform-grid-row{
  column-gap: 20px;
  row-gap: 16px;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper select,
.gform_wrapper textarea{
  width: 100%;
  box-sizing: border-box;
}

/* Normalize complex fields (Name, Address) */
.gform_wrapper .ginput_complex.gform-grid-row .gform-grid-col{
  min-width: 0;
}

/* Address: keep City/State/Zip aligned and filling row */
.gform_wrapper .ginput_container_address.gform-grid-row{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  column-gap: 20px;
}

.gform_wrapper .ginput_address_line_1,
.gform_wrapper .ginput_address_line_2{
  grid-column: 1 / -1;
}

/* Remove UAEL double-arrow by disabling custom wrapper icon */
.gform_wrapper .uael-gf-select-custom{
  position: relative;
  display: block;
  width: 100%;
}

.gform_wrapper .uael-gf-select-custom:after{
  display:none !important;
  content:none !important;
}

.gform_wrapper .uael-gf-select-custom select{
  appearance: auto;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
}

/* Submit button alignment */
.gform_wrapper .gform_footer{
  display:flex;
  justify-content:center;
}

.gform_wrapper .gform_footer input[type="submit"]{
  width:100%;
  max-width: 100%;
}
