/* ENERAL Forms Pro rc5 — public form shell independent from the active theme. */
.efp-enhanced{
  --efp-accent:var(--accent,var(--brand,#d6a23d));
  --efp-text:var(--text,#fffaf0);
  --efp-muted:var(--muted,#c8bda8);
  --efp-line:var(--line,rgba(214,162,61,.32));
  --efp-panel:var(--panel,rgba(20,14,7,.94));
  --efp-field:var(--panel2,rgba(255,255,255,.045));
  width:min(100%,980px)!important;
  max-width:980px!important;
  margin:28px auto!important;
  padding:clamp(18px,2.6vw,30px)!important;
  display:grid!important;
  gap:18px!important;
  border:1px solid var(--efp-line)!important;
  border-radius:18px!important;
  background:var(--efp-panel)!important;
  color:var(--efp-text)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.18)!important;
  text-align:left!important;
}
.efp-enhanced,.efp-enhanced *{box-sizing:border-box}
.efp-enhanced .public-form-grid,
.efp-enhanced .form-grid{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px 18px!important;
  margin:0!important;
  padding:0!important;
}
.efp-enhanced label,
.efp-enhanced .field{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:8px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:var(--efp-text)!important;
  font-weight:700!important;
}
.efp-enhanced label>span,
.efp-enhanced .field label,
.efp-enhanced .field span{
  color:var(--efp-text)!important;
  opacity:1!important;
  font-size:.92rem!important;
  line-height:1.35!important;
}
.efp-enhanced input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.efp-enhanced select,
.efp-enhanced textarea{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:46px!important;
  margin:0!important;
  padding:11px 13px!important;
  border:1px solid var(--efp-line)!important;
  border-radius:11px!important;
  background:var(--efp-field)!important;
  color:var(--efp-text)!important;
  font:inherit!important;
  line-height:1.4!important;
  box-shadow:none!important;
  outline:none!important;
}
.efp-enhanced textarea{min-height:150px!important;resize:vertical!important}
.efp-enhanced input::placeholder,.efp-enhanced textarea::placeholder{color:var(--efp-muted)!important;opacity:.78!important}
.efp-enhanced input:focus,.efp-enhanced select:focus,.efp-enhanced textarea:focus{
  border-color:var(--efp-accent)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--efp-accent) 16%,transparent)!important;
}
.efp-enhanced select option{background:#17130c;color:#fffaf0}
.efp-enhanced .form-type-textarea{grid-column:1/-1!important}
.efp-enhanced .form-type-checkbox{grid-column:1/-1!important;display:flex!important;align-items:flex-start!important;gap:10px!important}
.efp-enhanced .form-type-checkbox input[type=checkbox]{width:18px!important;height:18px!important;flex:0 0 18px!important;margin-top:2px!important}
.efp-enhanced>button,
.efp-enhanced>input[type=submit],
.efp-enhanced .efp-step-nav button{
  min-height:46px!important;
  padding:10px 18px!important;
  border:1px solid var(--efp-accent)!important;
  border-radius:11px!important;
  background:var(--efp-accent)!important;
  color:#161106!important;
  font:inherit!important;
  font-weight:800!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.efp-enhanced>button{justify-self:start!important;min-width:150px!important}
.efp-enhanced>button:hover,.efp-enhanced .efp-step-nav button:hover{filter:brightness(1.06)}
.efp-enhanced .efp-upload-field{display:grid!important;gap:8px!important}
.efp-enhanced .efp-upload-field input[type=file]{width:100%!important}
.efp-upload-hint{display:block;opacity:.72;font-size:.82rem;color:var(--efp-muted,var(--muted,#aaa))}
.efp-condition-hidden{display:none!important}
.efp-steps-host{display:block}
.efp-step{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}
.efp-step[hidden]{display:none!important}
.efp-step-title{grid-column:1/-1;margin:0 0 4px;font-size:1.05rem;color:var(--efp-text,var(--text,#fff))}
.efp-step .form-type-textarea,.efp-step .form-type-checkbox{grid-column:1/-1}
.efp-progress{position:relative;height:30px;margin:0 0 18px;border:1px solid var(--efp-line,var(--line,#4b3a1d));border-radius:999px;overflow:hidden;background:rgba(0,0,0,.10)}
.efp-progress i{position:absolute;inset:0 auto 0 0;width:0;background:color-mix(in srgb,var(--efp-accent,var(--accent,#c99a2e)) 18%,transparent);transition:width .2s ease}
.efp-progress span{position:relative;z-index:1;display:flex;height:100%;align-items:center;justify-content:center;color:var(--efp-text,var(--text,#fff));font-size:.78rem;font-weight:800}
.efp-step-nav{display:flex;gap:10px;margin-top:14px}
.efp-step-nav[hidden]{display:none}
.public-form-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
@media(max-width:760px){
  .efp-enhanced{width:100%!important;margin:20px 0!important;padding:18px!important;border-radius:14px!important}
  .efp-enhanced .public-form-grid,.efp-enhanced .form-grid,.efp-step{grid-template-columns:1fr!important}
  .efp-enhanced .form-type-textarea,.efp-enhanced .form-type-checkbox,.efp-step-title,.efp-step .form-type-textarea,.efp-step .form-type-checkbox{grid-column:1!important}
  .efp-step-nav{flex-direction:column}
  .efp-step-nav button,.efp-enhanced>button{width:100%!important;justify-self:stretch!important}
}
