/* =========================================================
   GHOSTBASE V1.9.9.2
   FORMULÁRIOS DA COMUNIDADE — PREMIUM UNIFICADO
   Padrão visual único para:
   - Indicar Fotógrafo
   - Indicar Lendário
   - Cadastrar Equipe
   - Cadastrar Operador
   - Cadastrar Armeiro
   - Divulgar Operação
   - Seja Parceiro
   ========================================================= */

:root{
  --gbcf-bg:#050b0e;
  --gbcf-bg2:#081217;
  --gbcf-card:#0a151a;
  --gbcf-card2:#0c181e;
  --gbcf-line:#2a414b;
  --gbcf-line2:#36535f;
  --gbcf-text:#f3f6f7;
  --gbcf-copy:#9badb4;
  --gbcf-muted:#6f838b;
  --gbcf-orange:#ff6a00;
  --gbcf-orange2:#ff9b2f;
}

/* Base de página */
.gb-community-form,
.v26-register-team,
.v232-register-team,
.v18-hero,
.v18-form-wrap,
.gbp-hero,
.community-premium-hero-v237,
.community-premium-section-v237,
.gb1991-community-form{
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

.gb-community-form,
.v26-register-team,
.v232-register-team,
.community-premium-section-v237,
.gb1991-community-form{
  background:
    radial-gradient(circle at 86% 4%,rgba(255,106,0,.06),transparent 26%),
    linear-gradient(180deg,#071014 0%,#050b0e 100%)!important;
  color:var(--gbcf-text)!important;
}

/* Containers */
.gb-community-form>.container,
.community-form-shell-v237,
.v26-register-team>.container,
.v232-register-team>.container,
.v18-form-wrap,
.community-premium-section-v237>.container,
.gb1991-shell{
  width:min(1240px,calc(100% - 36px))!important;
  max-width:1240px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Heros */
.community-form-hero-v237,
.v26-register-team>div>header,
.v232-register-team>div>header,
.v18-hero,
.gbp-hero,
.community-premium-hero-v237,
.gb1991-hero{
  position:relative!important;
  margin:0!important;
  padding:48px 0 28px!important;
  background:
    radial-gradient(circle at 82% 0,rgba(255,106,0,.08),transparent 25%),
    linear-gradient(180deg,#071014,#081115)!important;
  border-bottom:1px solid rgba(255,106,0,.16)!important;
}

.community-form-hero-v237 .kicker,
.v26-register-team>div>header>span,
.v232-register-team>div>header>span,
.v18-hero .kicker,
.gbp-hero .kicker,
.gb1991-hero .kicker{
  display:inline-block!important;
  margin:0 0 10px!important;
  color:var(--gbcf-orange)!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}

.community-form-hero-v237 h1,
.v26-register-team>div>header h1,
.v232-register-team>div>header h1,
.v18-hero h1,
.gbp-hero h1,
.gb1991-hero h1{
  margin:0 0 10px!important;
  color:#fff!important;
  font-size:clamp(40px,5vw,64px)!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  font-weight:950!important;
}

.community-form-hero-v237 p,
.v26-register-team>div>header p,
.v232-register-team>div>header p,
.v18-hero p,
.gbp-hero p,
.gb1991-hero p{
  max-width:760px!important;
  margin:0!important;
  color:var(--gbcf-copy)!important;
  font-size:16px!important;
  line-height:1.55!important;
}

/* Cards principais */
.form-shell,
.community-form-card-v237,
.v26-register-team form,
.v232-register-team form,
.v18-form-card,
.gbsubmit-form,
.gb1991-card{
  margin-top:24px!important;
  padding:26px!important;
  border:1px solid var(--gbcf-line)!important;
  border-radius:20px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.012),transparent 24%),
    var(--gbcf-card)!important;
  box-shadow:
    0 28px 70px rgba(0,0,0,.23),
    inset 0 1px 0 rgba(255,255,255,.02)!important;
}

/* Seções internas */
.v26-register-team form>section,
.v232-register-team form>section,
.gbsubmit-card,
.admin-card.gb-op-briefing-admin{
  margin:0 0 18px!important;
  padding:20px!important;
  border:1px solid #263d47!important;
  border-radius:14px!important;
  background:#081318!important;
}

.v26-register-team form>section>span,
.v232-register-team form>section>span,
.gbsubmit-card>.kicker,
.admin-card.gb-op-briefing-admin .section-head span{
  color:var(--gbcf-orange)!important;
  font-size:9px!important;
  font-weight:950!important;
  letter-spacing:.12em!important;
}

.v26-register-team form h2,
.v232-register-team form h2,
.gbsubmit-card h2,
.admin-card.gb-op-briefing-admin h2{
  margin:5px 0 14px!important;
  color:#fff!important;
  font-size:22px!important;
  line-height:1.15!important;
  letter-spacing:-.02em!important;
}

/* Grids */
.form-grid,
.v26-register-team .grid,
.v232-register-team .grid,
.v18-form-grid,
.gbsubmit-grid,
.gb1991-grid,
.gb-op-team-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:start!important;
}

.form-grid .wide,
.v26-register-team .wide,
.v232-register-team .wide,
.v18-form-grid .wide,
.gbsubmit-grid .wide,
.gb1991-field--wide{
  grid-column:1/-1!important;
}

/* Labels */
.gb-community-form label,
.v26-register-team label,
.v232-register-team label,
.v18-form-card label,
.gbsubmit-form label,
.gb1991-card label{
  display:grid!important;
  gap:8px!important;
  min-width:0!important;
  color:#dfe7e9!important;
  font-size:12px!important;
  font-weight:800!important;
}

/* Inputs comuns */
.gb-community-form input,
.gb-community-form select,
.gb-community-form textarea,
.v26-register-team input,
.v26-register-team select,
.v26-register-team textarea,
.v232-register-team input,
.v232-register-team select,
.v232-register-team textarea,
.v18-form-card input,
.v18-form-card select,
.v18-form-card textarea,
.gbsubmit-form input,
.gbsubmit-form select,
.gbsubmit-form textarea,
.gb1991-card input,
.gb1991-card select,
.gb1991-card textarea{
  width:100%!important;
  box-sizing:border-box!important;
  border:1px solid #304a54!important;
  border-radius:10px!important;
  outline:none!important;
  background:#071115!important;
  color:#f1f5f6!important;
  font:inherit!important;
  font-weight:500!important;
  box-shadow:none!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}

.gb-community-form input,
.gb-community-form select,
.v26-register-team input,
.v26-register-team select,
.v232-register-team input,
.v232-register-team select,
.v18-form-card input,
.v18-form-card select,
.gbsubmit-form input,
.gbsubmit-form select,
.gb1991-card input,
.gb1991-card select{
  min-height:48px!important;
  padding:0 14px!important;
}

.gb-community-form textarea,
.v26-register-team textarea,
.v232-register-team textarea,
.v18-form-card textarea,
.gbsubmit-form textarea,
.gb1991-card textarea{
  min-height:130px!important;
  padding:14px!important;
  resize:vertical!important;
  line-height:1.55!important;
}

.gb-community-form input:focus,
.gb-community-form select:focus,
.gb-community-form textarea:focus,
.v26-register-team input:focus,
.v26-register-team select:focus,
.v26-register-team textarea:focus,
.v232-register-team input:focus,
.v232-register-team select:focus,
.v232-register-team textarea:focus,
.v18-form-card input:focus,
.v18-form-card select:focus,
.v18-form-card textarea:focus,
.gbsubmit-form input:focus,
.gbsubmit-form select:focus,
.gbsubmit-form textarea:focus,
.gb1991-card input:focus,
.gb1991-card select:focus,
.gb1991-card textarea:focus{
  border-color:var(--gbcf-orange)!important;
  background:#081419!important;
  box-shadow:0 0 0 3px rgba(255,106,0,.10)!important;
}

/* File */
.gb-community-form input[type="file"],
.v26-register-team input[type="file"],
.v232-register-team input[type="file"],
.v18-form-card input[type="file"],
.gbsubmit-form input[type="file"],
.gb1991-card input[type="file"]{
  min-height:54px!important;
  padding:10px!important;
  border-style:dashed!important;
  cursor:pointer!important;
}

/* Botões e rodapés */
.community-form-actions-v237,
.v26-register-team form>footer,
.v232-register-team form>footer,
.v18-form-card .v18-actions,
.gbsubmit-actions,
.gb1991-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-top:24px!important;
  padding-top:20px!important;
  border-top:1px solid #20353d!important;
}

.community-form-actions-v237 a,
.community-form-actions-v237 button,
.v26-register-team form>footer a,
.v26-register-team form>footer button,
.v232-register-team form>footer a,
.v232-register-team form>footer button,
.v18-form-card .btn,
.gbsubmit-actions .btn,
.gb1991-actions .btn{
  min-height:44px!important;
  padding:0 18px!important;
  border-radius:9px!important;
  font-weight:900!important;
  text-decoration:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.community-form-actions-v237 button,
.v26-register-team form>footer button,
.v232-register-team form>footer button,
.gbsubmit-actions .btn-accent,
.gb1991-submit{
  min-width:210px!important;
  border:1px solid var(--gbcf-orange)!important;
  background:linear-gradient(135deg,#ff6a00,#ff961f)!important;
  color:#111!important;
  box-shadow:0 10px 24px rgba(255,106,0,.15)!important;
}

/* Alerts */
.alert,
.v18-alert,
.gbp-alert,
.gb1991-alert{
  margin:18px 0!important;
  padding:13px 15px!important;
  border-radius:10px!important;
  font-size:12px!important;
  font-weight:800!important;
}

.alert.error,
.v18-alert.error,
.gbp-alert.is-error,
.gb1991-alert--error{
  border:1px solid #70353d!important;
  background:#211014!important;
  color:#ff9aa4!important;
}

.alert.ok,
.v18-alert.success,
.gbp-alert.is-success,
.gb1991-alert--ok{
  border:1px solid #24563a!important;
  background:#0b1c13!important;
  color:#8de3aa!important;
}

/* Operação ALFA/BRAVO */
.gb-op-team-box{
  padding:16px!important;
  border:1px solid #2b434d!important;
  border-radius:12px!important;
  background:#071115!important;
}

.gb-op-team-box .team-title{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin-bottom:12px!important;
}

.gb-op-team-box .team-title span{
  color:var(--gbcf-orange)!important;
  font-weight:950!important;
}

/* Termos / notas */
.gbsubmit-terms,
.gb-op-toggle{
  margin-top:14px!important;
  padding:13px 15px!important;
  border:1px dashed #304850!important;
  border-radius:10px!important;
  background:#071115!important;
  color:#788d95!important;
  font-size:11px!important;
}

/* Links de retorno */
.v18-back,
.gbp-back{
  display:inline-flex!important;
  margin-bottom:16px!important;
  color:#a9b8bd!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:800!important;
}

.v18-back:hover,
.gbp-back:hover{
  color:var(--gbcf-orange2)!important;
}

/* Responsivo */
@media(max-width:1080px){
  .form-grid,
  .v26-register-team .grid,
  .v232-register-team .grid,
  .v18-form-grid,
  .gbsubmit-grid,
  .gb1991-grid,
  .gb-op-team-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:700px){
  .gb-community-form>.container,
  .community-form-shell-v237,
  .v26-register-team>.container,
  .v232-register-team>.container,
  .v18-form-wrap,
  .community-premium-section-v237>.container,
  .gb1991-shell{
    width:calc(100% - 24px)!important;
  }

  .form-shell,
  .community-form-card-v237,
  .v26-register-team form,
  .v232-register-team form,
  .v18-form-card,
  .gbsubmit-form,
  .gb1991-card{
    padding:18px!important;
    border-radius:15px!important;
  }

  .form-grid,
  .v26-register-team .grid,
  .v232-register-team .grid,
  .v18-form-grid,
  .gbsubmit-grid,
  .gb1991-grid,
  .gb-op-team-grid{
    grid-template-columns:1fr!important;
  }

  .community-form-actions-v237,
  .v26-register-team form>footer,
  .v232-register-team form>footer,
  .v18-form-card .v18-actions,
  .gbsubmit-actions,
  .gb1991-actions{
    align-items:stretch!important;
    flex-direction:column-reverse!important;
  }

  .community-form-actions-v237 a,
  .community-form-actions-v237 button,
  .v26-register-team form>footer a,
  .v26-register-team form>footer button,
  .v232-register-team form>footer a,
  .v232-register-team form>footer button,
  .gbsubmit-actions .btn,
  .gb1991-actions .btn{
    width:100%!important;
    box-sizing:border-box!important;
  }
}
