/* FLG Steps — one question at a time for Ninja Forms */
.flg-steps-on .flg-step-hidden { display: none !important; }

.flg-step-progress { margin: 0 0 22px; }
.flg-step-count { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7D1416; margin-bottom: 8px; }
.flg-step-bar { height: 6px; border-radius: 3px; background: #E3E6EE; overflow: hidden; }
.flg-step-bar span { display: block; height: 100%; width: 0; background: #C8343B; border-radius: 3px; transition: width .25s ease; }

/* The field label reads as the question */
.flg-steps-on .nf-field-container:not(.submit-container):not(.checkbox-container) .nf-field-label label {
  font-size: 20px !important; font-weight: 700 !important; color: #0D1F4E; line-height: 1.3; margin-bottom: 4px;
}
.flg-steps-on .nf-field-container { margin-bottom: 18px; }
.flg-steps-on .nf-field-description { color: #5A6275; font-size: 14px; }

/* Radio choices as large tap targets */
.flg-steps-on .listradio-wrap ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.flg-steps-on .listradio-wrap li { margin: 0 !important; padding: 0; position: relative; }
.flg-steps-on .listradio-wrap li input { position: absolute; opacity: 0; }
.flg-steps-on .listradio-wrap li label {
  display: block !important; margin: 0 !important; padding: 14px 16px; border: 1.5px solid #CDD3E1; border-radius: 8px;
  font-size: 16px !important; font-weight: 600 !important; color: #0D1F4E !important; cursor: pointer; background: #fff; transition: border-color .15s, background .15s;
}
.flg-steps-on .listradio-wrap li label:hover { border-color: #0D1F4E; }
.flg-steps-on .listradio-wrap li input:checked + label { border-color: #C8343B; background: #FDF1F1; }
.flg-steps-on .listradio-wrap li input:focus-visible + label { outline: 2px solid #0D1F4E; outline-offset: 2px; }

.flg-step-err { color: #C8343B; font-size: 14px; font-weight: 600; margin-top: 6px; }
.flg-step-invalid input, .flg-step-invalid select, .flg-step-invalid textarea { border-color: #C8343B !important; }

.flg-step-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
html body .flg-step-nav button {
  font: inherit; cursor: pointer; border-radius: 6px; line-height: 1.2; min-height: 0; box-shadow: none; text-transform: none; letter-spacing: normal;
}
html body .flg-step-back { background: none; border: 0; color: #0D1F4E; font-weight: 700; font-size: 15px; padding: 12px 4px; }
html body .flg-step-back:hover { color: #C8343B; text-decoration: underline; }
html body .flg-step-next { background: #C8343B; color: #fff; border: 0; font-weight: 700; font-size: 17px; padding: 15px 34px; }
html body .flg-step-next:hover { background: #A92830; }
/* On the last step the Back link sits above the Submit button's row */
.flg-steps-on .submit-container { margin-bottom: 6px; }

@media (max-width: 520px) {
  .flg-steps-on .nf-field-container:not(.submit-container):not(.checkbox-container) .nf-field-label label { font-size: 18px !important; }
  html body .flg-step-next { flex: 1; }
}
