/* INFOTECH 3.10AK — FixtureBuilder footer safe zone + converter UX polish */
body.fixture-builder-page .builder-main-content > .foot,
body.fixture-builder-page footer.foot{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  justify-content:start!important;
  align-items:start!important;
  text-align:left!important;
  gap:8px!important;
  padding-right:220px!important;
  margin-top:28px!important;
  overflow:visible!important;
}
body.fixture-builder-page footer.foot > span,
body.fixture-builder-page footer.foot .brand-footer{
  max-width:100%!important;
  min-width:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.fixture-builder-page footer.foot .brand-footer{
  color:#d9e6ff!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
}
body.fixture-builder-page footer.foot .br-flag{
  width:24px!important;
  min-width:24px!important;
  height:auto!important;
  flex:0 0 auto!important;
}

body.fixture-builder-page .builder-grid{
  align-items:start!important;
}
body.fixture-builder-page .output-panel{
  display:grid!important;
  gap:14px!important;
  align-content:start!important;
}
body.fixture-builder-page .output-panel > .kicker:first-child{
  display:inline-flex!important;
  width:max-content!important;
  max-width:100%!important;
  border:1px solid rgba(0,245,255,.28)!important;
  border-radius:999px!important;
  padding:7px 10px!important;
  background:rgba(0,245,255,.07)!important;
}
body.fixture-builder-page .mode-selector-panel,
body.fixture-builder-page .quality-panel,
body.fixture-builder-page .instance-map-panel,
body.fixture-builder-page .review-panel,
body.fixture-builder-page .builder-export-panel,
body.fixture-builder-page .fixturebuilder-flow-panel{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  min-height:0!important;
  border-radius:22px!important;
  border-color:rgba(0,245,255,.26)!important;
  background:linear-gradient(135deg,rgba(5,16,34,.88),rgba(13,8,30,.80))!important;
}
body.fixture-builder-page .fixturebuilder-flow-panel{
  padding:16px!important;
  box-shadow:0 0 28px rgba(0,245,255,.08)!important;
}
body.fixture-builder-page .fixturebuilder-flow-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:12px!important;
}
body.fixture-builder-page .fixturebuilder-flow-head h3{
  margin:0 0 4px!important;
  color:#fff!important;
  font-size:1.1rem!important;
}
body.fixture-builder-page .fixturebuilder-flow-head p,
body.fixture-builder-page .fixturebuilder-flow-next{
  margin:0!important;
  color:var(--muted)!important;
  line-height:1.45!important;
}
body.fixture-builder-page .fixturebuilder-flow-next{
  border:1px solid rgba(255,209,102,.26)!important;
  background:rgba(255,209,102,.075)!important;
  border-radius:14px!important;
  padding:10px 12px!important;
  font-size:.92rem!important;
}
body.fixture-builder-page .fixturebuilder-flow-next b{
  color:#ffd166!important;
}
body.fixture-builder-page .fixturebuilder-step-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
  margin:12px 0!important;
}
body.fixture-builder-page .fixturebuilder-step{
  border:1px solid rgba(108,132,190,.32)!important;
  border-radius:16px!important;
  padding:10px!important;
  background:rgba(2,4,10,.34)!important;
  min-width:0!important;
}
body.fixture-builder-page .fixturebuilder-step strong{
  display:block!important;
  color:#eaf8ff!important;
  font-size:.86rem!important;
  line-height:1.2!important;
}
body.fixture-builder-page .fixturebuilder-step span{
  display:block!important;
  color:var(--muted)!important;
  font-size:.74rem!important;
  margin-top:4px!important;
  line-height:1.25!important;
}
body.fixture-builder-page .fixturebuilder-step.is-done{
  border-color:rgba(0,255,213,.42)!important;
  background:rgba(0,255,213,.07)!important;
}
body.fixture-builder-page .fixturebuilder-step.is-active{
  border-color:rgba(255,0,212,.58)!important;
  background:linear-gradient(135deg,rgba(255,0,212,.13),rgba(0,245,255,.08))!important;
  box-shadow:0 0 18px rgba(255,0,212,.10)!important;
}
body.fixture-builder-page .fixturebuilder-flow-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:10px!important;
}
body.fixture-builder-page .fixturebuilder-flow-actions button,
body.fixture-builder-page .builder-export-actions button{
  min-height:38px!important;
  border:1px solid rgba(0,245,255,.30)!important;
  border-radius:999px!important;
  background:rgba(8,16,34,.66)!important;
  color:#fff!important;
  font-weight:850!important;
  padding:9px 12px!important;
  cursor:pointer!important;
}
body.fixture-builder-page .fixturebuilder-flow-actions button.primary,
body.fixture-builder-page .builder-export-actions button:hover,
body.fixture-builder-page .builder-export-actions button:focus-visible{
  border-color:rgba(0,245,255,.72)!important;
  background:linear-gradient(135deg,rgba(0,245,255,.18),rgba(255,0,212,.14))!important;
}
body.fixture-builder-page .builder-export-panel{
  order:7!important;
}
body.fixture-builder-page .builder-export-panel h3{
  margin:.1rem 0 .35rem!important;
}
body.fixture-builder-page .builder-export-panel p{
  margin:.15rem 0 .75rem!important;
}
body.fixture-builder-page .builder-export-actions{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
}
body.fixture-builder-page .builder-export-actions button{
  width:100%!important;
  border-radius:14px!important;
  white-space:normal!important;
  line-height:1.2!important;
}
body.fixture-builder-page #builderOutput{
  order:8!important;
  min-height:220px!important;
  max-height:360px!important;
  font-size:.86rem!important;
}
body.fixture-builder-page #channelTable{
  font-size:.88rem!important;
}
body.fixture-builder-page .review-table input,
body.fixture-builder-page .review-table select{
  min-width:120px!important;
}
body.fixture-builder-page .review-table .review-name{
  min-width:260px!important;
}
body.fixture-builder-page .mode-choice{
  min-height:58px!important;
}
body.fixture-builder-page .mode-choice.is-selected{
  box-shadow:0 0 0 1px rgba(0,245,255,.36),0 0 20px rgba(0,245,255,.10)!important;
}
body.fixture-builder-page .builder-export-panel:not(.is-ready)::after{
  content:"Converta um modo para liberar exportações reais.";
  display:block;
  margin-top:10px;
  color:var(--muted);
  font-size:.86rem;
}

@media(max-width:1100px){
  body.fixture-builder-page footer.foot{padding-right:150px!important;}
  body.fixture-builder-page .builder-export-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  body.fixture-builder-page .fixturebuilder-step-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:820px){
  body.fixture-builder-page footer.foot{
    padding-right:0!important;
    padding-bottom:112px!important;
  }
  body.fixture-builder-page .fixturebuilder-flow-head{display:block!important;}
  body.fixture-builder-page .fixturebuilder-step-grid{grid-template-columns:1fr!important;gap:7px!important;}
  body.fixture-builder-page .fixturebuilder-step{padding:8px 10px!important;}
  body.fixture-builder-page .builder-export-actions{grid-template-columns:1fr 1fr!important;}
  body.fixture-builder-page .output-panel{gap:10px!important;}
  body.fixture-builder-page #builderOutput{max-height:280px!important;min-height:160px!important;}
}
@media(max-width:460px){
  body.fixture-builder-page .builder-export-actions{grid-template-columns:1fr!important;}
  body.fixture-builder-page .fixturebuilder-flow-actions button{width:100%!important;}
  body.fixture-builder-page footer.foot{font-size:11px!important;}
}
