/* assets/css/pca-gf.css  – loads via wp_enqueue_style */

/* Overide Avia Merged Styles CSS */
/* Remove avia forced margin */
#top .gform_wrapper fieldset{
 margin-bottom:0;
}
/* Unset avia forced field styles and force color overide */
#top .gform_wrapper label {
  font-weight: unset;
 font-size: 18px;
 color: #28384a;
}
#top .gform_wrapper legend {
  display: unset;
  font-weight: unset;
  font-size: 18px;
  color: #28384a;
}
/* Field border radius */
#top .gform_wrapper input, 
#top .gform_wrapper select  {
 border-radius:2px;
}
/* Field focus border */
#top .gform_wrapper input:focus, 
#top .gform_wrapper select:focus  {
  outline: 1px solid #39B549;
  border-radius:2px;
}
/* Require Asterisk color */
#top .gform_wrapper span.gfield_required_asterisk {
  color: #b55858;
}
/* Custom CSS .label_small decrease font size */
#top .gform_wrapper .label_small label {
  font-size: 15px;
}
/* Input and select field fonts */
#top .gform_wrapper input,
#top .gform_wrapper select {
  font: 15px "Lato",sans-serif !important;
}
/* Inputs and selects – exclude submit button */
#top .main_color .gform_wrapper input:not([type="submit"]),
#top .main_color .gform_wrapper select {
  color: #606060 !important;
  background-color:#fff !important;
  border: 1px solid #cfd4d9 !important;
  border-radius: 4px;
}
/* Submit button text color */
#top .main_color .gform_wrapper input[type="submit"] {
  color: #fff !important;
}
/* Checkbox option font size */
#top .gform_wrapper .gchoice label {
 font-size: 15px;
}
/* Hide the “* indicates required” legend globally */
.gform_wrapper .gform_required_legend { display: none; }


/* Input tap-targets, radius, etc. */
.gform_wrapper .ginput_container input,
.gform_wrapper .ginput_container select {
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 2px;
}

/* Style section titles and descriptions */
.gsection .gsection_title {
 font-size: 18px;
 color: #314051;
}
.gsection .gsection_description {
  font-size: 15px;
  color: #314051;
}

/* Address Geolocation */
/* -----------------------------------------------
   Style the host element itself (works in Avia #top)
------------------------------------------------- */
.main_color textarea::placeholder, .main_color input::placeholder {
  color: #314051;
  opacity: 1;
}

/* ----------------------  PCA styles for <gmp-place-autocomplete>  */
#top .gform_wrapper gmp-place-autocomplete {
  /* ❶ Make it sit like any other GF input ------------------------ */
  display: block;
  width: 100%;
  /*padding: 0.75rem 1rem;*/        
  /*border: 1px solid var(--pca-border, #cfd4d9);*/
  border-radius: 2px;
  background: #fff;
  font: 14px "Lato", sans-serif;
  box-sizing: border-box;

  /* ❷ Google-exposed custom properties --------------------------- */
  /* Container + outline */
  --md-outlined-text-field-container-shape: 2px;
  --md-outlined-text-field-outline-color:   #cfd4d9;
  --md-outlined-text-field-hover-outline-color: #39B549;
  --md-outlined-text-field-focus-outline-color: #39B549;

  /* Label & text */
  --md-outlined-text-field-label-text-color: #28384a;
  --md-outlined-text-field-input-text-color: #112337;

  /* Dropdown list */
  --gmp-menu-min-width: 260px;          /* wider dropdown if you like */
}

/* Hide Google’s default focus halo if you prefer your own */
#top .gform_wrapper gmp-place-autocomplete:focus-within {
  outline: none;              /* host outline off */
}

