.gform_wrapper .fia-stars,.gform_editor .fia-stars{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:12px;max-width:100%}
.gform_wrapper .fia-star,.gform_editor .fia-star{position:relative;display:inline-flex;flex-direction:column;align-items:center;min-width:38px;cursor:pointer;margin:0;padding:2px;font-weight:400}
/* Hide browser/theme radio circles without removing keyboard accessibility. */
.gform_wrapper .fia-star input[type="radio"],.gform_editor .fia-star input[type="radio"]{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;appearance:none!important;-webkit-appearance:none!important}
.gform_wrapper .fia-star input[type="radio"]::before,.gform_wrapper .fia-star input[type="radio"]::after,.gform_editor .fia-star input[type="radio"]::before,.gform_editor .fia-star input[type="radio"]::after{content:none!important;display:none!important}
.gform_wrapper .fia-star span,.gform_editor .fia-star span{font-size:35px;line-height:1;color:white;-webkit-text-stroke:1.5px #69747b;pointer-events:none}
.gform_wrapper .fia-star small,.gform_editor .fia-star small{font-size:12px;color:#4a535a;pointer-events:none}
.gform_wrapper .fia-star:has(input:checked) span,.gform_wrapper .fia-star:has(input:checked)~.fia-star span,.gform_editor .fia-star:has(input:checked) span,.gform_editor .fia-star:has(input:checked)~.fia-star span{color:#2d99a9;-webkit-text-stroke-color:#2d99a9}

.gform_wrapper .fia-star:has(input:focus-visible){outline:2px solid #2d99a9;outline-offset:3px;border-radius:4px}
@media(max-width:420px){.gform_wrapper .fia-stars{gap:5px}.gform_wrapper .fia-star{min-width:34px}.gform_wrapper .fia-star span{font-size:30px}}


/* Instant feedback: override any theme animation on the stars. */
.gform_wrapper .fia-stars .fia-star span,
.gform_editor .fia-stars .fia-star span {
  transition: none !important;
  animation: none !important;
}

/* During hover, temporarily clear the saved selection's highlight. */
@media (hover: hover) {
  .gform_wrapper .fia-stars:has(.fia-star:hover) .fia-star span,
  .gform_editor .fia-stars:has(.fia-star:hover) .fia-star span {
    color: #fff !important;
    -webkit-text-stroke-color: #69747b !important;
  }

  /* Same or greater specificity than the reset above.
     Includes the star actually under the pointer. */
  .gform_wrapper .fia-stars:has(.fia-star:hover) .fia-star:hover span,
  .gform_wrapper .fia-stars:has(.fia-star:hover) .fia-star:hover ~ .fia-star span,
  .gform_editor .fia-stars:has(.fia-star:hover) .fia-star:hover span,
  .gform_editor .fia-stars:has(.fia-star:hover) .fia-star:hover ~ .fia-star span {
    color: #2d99a9 !important;
    -webkit-text-stroke-color: #2d99a9 !important;
  }
}
