.gf-vis { display: none; }
.gf-vis.is-visible { display: block; }

.gform_page h3 {
  font-size:18px;
  font-weight: 500;
  margin-bottom:0;
  color:#666;
}

.gform_page .gfield {
  margin:0 20px;
}

.gform_page .gsection {
  margin:0;
}
.gform_page .gsection .gsection_description {
  font-size: 14px;
  line-height: 1.3;
  margin-top:8px;
}

.gform_page .m2-screen-title h3 {
  font-size:28px;
  margin-bottom:20px;
  color:#000;
}

.partial_entry_warning {
  font-style: italic;
}

.gform-theme--foundation .gform_fields {
  grid-row-gap: 30px; 
}

#gf_step_dropdown {
  background-color: #FFF;
  border-color: #D3D3D3;
}

/* Navigation Steps Styling */

/* Container: vertical stack */
.gf_step_list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each row: icon + label aligned */
.gf_step_list li {
  margin: 0;
}

/* Link styling */
.gf_step_list a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .5rem;
  text-decoration: none;
  opacity: .8;             /* baseline */
  border-radius: .375rem;  /* subtle rounding */
}

/* Icon before each step (uses currentColor) */
.gf_step_list a::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 0.9rem;
  /* simple circle icon; swap to your own if desired */
  border: 2px solid currentColor;
  border-radius: 9999px;
  opacity: .9;
}

/* Active/current step */
.gf_step_list a.active {
  font-weight: 700;  /* bold */
  opacity: 1;
}

/* Optional: emphasize active icon */
.gf_step_list a.active::before {
  background: currentColor;
}

/* Hover/focus (optional) */
.gf_step_list a:hover,
.gf_step_list a:focus {
  opacity: 1;
  outline: none;
  background: color-mix(in srgb, currentColor 10%, transparent);
}
