.gfb-open,.gfb-submit{border:0;border-radius:999px;padding:.9rem 1.3rem;font-weight:700;background:#9f1d14;color:#fff;cursor:pointer}.gfb-dialog,.gfb-inline{box-sizing:border-box;width:min(960px,calc(100vw - 2rem));border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:1rem 1.15rem;background:#161616;color:#fff}.gfb-dialog{max-height:92vh;overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.55)}.gfb-dialog::backdrop{background:rgba(0,0,0,.72)}.gfb-close{float:right;border:0;background:transparent;color:#fff;font-size:2rem;cursor:pointer}.gfb-head{margin-bottom:.55rem!important}.gfb-head h2{font-size:1.65rem;line-height:1.1;margin:.05rem 0 .35rem}.gfb-head p{color:#d6d6d6;margin:.1rem auto .45rem;line-height:1.35;max-width:760px}.gfb-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:.85rem;row-gap:.42rem}.gfb-module label{display:block;margin:.28rem 0;font-weight:600;line-height:1.25}.gfb-module input,.gfb-module select,.gfb-module textarea{box-sizing:border-box;width:100%;margin-top:.22rem;padding:.58rem .68rem;border:1px solid #3a3a3a;border-radius:7px;background:#0f0f0f;color:#fff;font:inherit;min-height:40px}.gfb-module textarea{min-height:88px;line-height:1.35}.gfb-full{grid-column:1/-1}.gfb-check{font-weight:400!important;line-height:1.45}.gfb-check input{width:auto;margin-right:.45rem}.gfb-check a{color:#ff8175}.gfb-status{min-height:1.4rem;color:#ffb5ae}.gfb-toast{position:fixed;left:50%;bottom:1.5rem;z-index:100000;transform:translate(-50%,2rem);padding:1rem 1.25rem;background:#161616;color:#fff;border-radius:12px;opacity:0;visibility:hidden;transition:.2s}.gfb-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}@media(max-width:640px){.gfb-grid{grid-template-columns:1fr}.gfb-full{grid-column:auto}.gfb-dialog,.gfb-inline{width:calc(100vw - 1rem);padding:1rem}}
.gfb-width-compact .gfb-dialog,.gfb-width-compact .gfb-inline,.gfb-width-compact .gfb-bare{max-width:560px}
.gfb-width-standard .gfb-dialog,.gfb-width-standard .gfb-inline,.gfb-width-standard .gfb-bare{max-width:820px}
.gfb-width-wide .gfb-dialog,.gfb-width-wide .gfb-inline,.gfb-width-wide .gfb-bare{max-width:1100px}
.gfb-bare{width:100%;color:inherit;background:transparent;border:0;padding:0}
.gfb-bare input,.gfb-bare select,.gfb-bare textarea{color:inherit}

/* YOOtheme/UIkit integration: when UIkit classes exist, let the active site theme lead. */
.gfb-module .uk-input,.gfb-module .uk-select,.gfb-module .uk-textarea{font:inherit}
.gfb-bare .uk-input,.gfb-bare .uk-select,.gfb-bare .uk-textarea,
.gfb-inline .uk-input,.gfb-inline .uk-select,.gfb-inline .uk-textarea{
  background:inherit;
  color:inherit;
}
.gfb-module .uk-button-primary{font:inherit}

/* 1.3.6: readable native select values in dark/YOOtheme layouts */
.gfb-module select.uk-select{color:#fff!important;background-color:#0f0f0f!important;-webkit-text-fill-color:#fff!important}
.gfb-module select.uk-select option{color:#111!important;background:#fff!important;-webkit-text-fill-color:#111!important}
.gfb-module select.uk-select:invalid{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* GEO AI FormBuilder 3-step forms */
.gfb-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:.42rem;margin:0 0 .65rem}
.gfb-progress-step{display:flex;align-items:center;gap:.4rem;padding:.46rem .58rem;border:1px solid rgba(139,53,255,.28);border-radius:9px;background:rgba(20,10,30,.5);font-weight:700;font-size:.92rem;line-height:1.2;opacity:.62}
.gfb-progress-step span{display:inline-grid;place-items:center;width:1.45rem;height:1.45rem;flex:0 0 1.45rem;border-radius:50%;background:rgba(139,53,255,.18);font-size:.78rem}
.gfb-progress-step.is-active,.gfb-progress-step.is-done{opacity:1;border-color:#8a35ff;background:linear-gradient(90deg,rgba(138,53,255,.18),rgba(239,43,191,.08))}
.gfb-progress-step.is-done span{background:#8a35ff;color:#fff}
.gfb-form-step[hidden]{display:none!important}.gfb-form-step.is-active{display:block}
.gfb-section{margin:.35rem 0 .2rem;padding:.6rem .75rem;border-left:3px solid #ef2bbf;background:rgba(138,53,255,.07);border-radius:8px}
.gfb-section{margin:.12rem 0 .05rem}.gfb-section h3{margin:0;padding:.38rem .55rem;font-size:.98rem;line-height:1.15}.gfb-field{min-width:0}.gfb-label{display:block;font-weight:700;margin:0 0 .08rem;font-size:.94rem;line-height:1.18}
.gfb-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.32rem}.gfb-choice{display:flex;align-items:center;gap:.4rem;padding:.38rem .48rem;border:1px solid rgba(138,53,255,.24);border-radius:7px;background:rgba(14,8,21,.45);font-size:.9rem;line-height:1.2}
.gfb-choice input{margin:0;min-height:0}.gfb-file-help{font-size:.78rem;opacity:.7;margin-top:.18rem}.gfb-step-actions{display:flex;justify-content:space-between;gap:.5rem;margin-top:.65rem;padding-top:.55rem;border-top:1px solid rgba(138,53,255,.2)}
.gfb-module[data-gfb-has-steps="1"] [data-gfb-final-submit]{display:none}.gfb-module[data-gfb-has-steps="1"].gfb-on-final-step [data-gfb-final-submit]{display:inline-flex}
@media(max-width:800px){.gfb-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.gfb-progress{grid-template-columns:1fr}.gfb-choice-grid{grid-template-columns:1fr}}
.gfb-module.gfb-has-steps .gfb-final-only{display:none}.gfb-module.gfb-has-steps.gfb-on-final-step .gfb-final-only{display:block}
