.gform_wrapper form input[type="text"],
.gform_wrapper form input[type="email"],
.gform_wrapper form input[type="tel"] {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #97989a;
    padding: 0;
    background: rgba(0,0,0,0);
    outline: none !important;
    font-family: "lato",sans-serif;
    font-size: 20px;
}

.gform_wrapper form select {
	border: none;
	border-radius: 0;
	border-bottom: 1px solid #97989a;
	padding: 0;
	background: rgba(0,0,0,0);
	outline: none !important;
	font-family: "lato",sans-serif;
	font-size: 20px;
    appearance: auto;
}

.gform_wrapper form input[type="submit"].gform_button {
    background-color: #c4923b !important;
    border-color: #c4923b !important;
    color: #fff !important;
    width: 100% !important;
    max-width: 200px !important;
    border-radius: 24px !important;
    padding: .75rem 2.45rem !important;
    font-family: "lato",sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 22px !important;
    min-width: 170px !important;
}

.gform_wrapper form input[type="submit"].gform_button:hover {
    background: #d0a862 !important;
    border-color: #d0a862 !important;
}

.gform_wrapper form .gform-field-label{
    margin-bottom: 16px;
    color: #444;
    font-size: 20px;
    line-height: 30px;
    font-family: "lato";
}

.gform_wrapper form .gform-field-label .gfield_required_asterisk{
    font-size: 20px;
    line-height: 20px;
}

.gform_validation_errors h2.gform_submission_error {
    font-size: 18px !important;
    line-height: 24px !important;
}

.gform_required_legend {
    font-size: 18px !important;
    line-height: 24px !important;
    display: none;
}

#gform_wrapper_1 {
    padding-top: 3rem;
}

/* Building Address dropdown (GF enhanced UI / Chosen).
   page.php wraps content in .copy, and `.copy ul li` (24px, 1rem margins,
   bullets) leaks into Chosen's results list — reset it here. */
.gform_wrapper .chosen-container .chosen-results {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 280px;
}

.gform_wrapper .chosen-container .chosen-results li {
    margin: 0;
    padding: 8px 12px;
    font-family: "lato", sans-serif;
    font-size: 16px !important;
    line-height: 1.4 !important;
    list-style: none;
}

.gform_wrapper .chosen-container .chosen-results li.highlighted {
    background: #012849;
    color: #fff;
}

.gform_wrapper .chosen-container .chosen-search input[type="text"] {
    font-family: "lato", sans-serif;
    font-size: 16px !important; /* 16px+ prevents iOS zoom on focus */
    border: 1px solid #97989a !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Closed state: match the text inputs/select (bottom border only, no radius).
   GF's framework theme styles .chosen-single with high-specificity selectors
   (incl. focus/open states), hence !important — same approach as the button above. */
.gform_wrapper .gfield .chosen-container-single .chosen-single,
.gform_wrapper .gfield .chosen-container-single.chosen-container-active .chosen-single,
.gform_wrapper .gfield .chosen-container-single.chosen-container-active.chosen-with-drop .chosen-single {
    border: none !important;
    border-bottom: 1px solid #97989a !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background-color: transparent !important; /* keeps GF's arrow icon (background-image) */
    padding-inline-start: 0 !important;
    font-family: "lato", sans-serif;
    font-size: 20px;
}

/* .chosen-single is an <a>, so the theme's blue link colors (ID selectors like
   `#career_page main a`) would otherwise win — force black in every state. */
.gform_wrapper .gfield .chosen-container-single .chosen-single,
.gform_wrapper .gfield .chosen-container-single .chosen-single:hover,
.gform_wrapper .gfield .chosen-container-single .chosen-single:focus,
.gform_wrapper .gfield .chosen-container-single .chosen-single:visited,
.gform_wrapper .gfield .chosen-container-single .chosen-single span {
    color: #000 !important;
    text-decoration: none !important;
}

/* Placeholder ("Select or search for your building") stays grey */
.gform_wrapper .gfield .chosen-container-single .chosen-default,
.gform_wrapper .gfield .chosen-container-single .chosen-default span {
    color: #97989a !important;
}

/* Open list panel: square corners to match */
.gform_wrapper .gfield .chosen-container .chosen-drop {
    border-radius: 0 !important;
    border-color: #97989a !important;
}

/* Native select fallback (enhanced UI off) */
.gform_wrapper form select option {
    font-size: 16px;
}
