/* =========================================================
   GHOSTBASE V1.9.9.4
   TODOS OS FORMULÁRIOS NO PADRÃO VISUAL DO ARMEIRO
   ========================================================= */

/* BASE: mesmo enquadramento do Armeiro */
.community-form-hero-v237,
.v26-register-team>div>header,
.v232-register-team>div>header,
.v18-hero,
.gbp-hero,
.community-premium-hero-v237,
.gb1991-hero{
    width:100%!important;
    max-width:none!important;
    min-height:250px!important;
    margin:0!important;
    padding:46px 0 32px!important;

    display:block!important;
    position:relative!important;
    overflow:hidden!important;
    isolation:isolate!important;

    background:
        radial-gradient(circle at 92% 24%,rgba(255,106,0,.14),transparent 16%),
        linear-gradient(105deg,#071116 0%,#081216 48%,#17110d 100%)!important;

    border-top:0!important;
    border-bottom:1px solid rgba(255,106,0,.18)!important;
    box-shadow:none!important;
}

/* Mesmo radar discreto do Armeiro */
.community-form-hero-v237::after,
.v26-register-team>div>header::after,
.v232-register-team>div>header::after,
.v18-hero::after,
.gbp-hero::after,
.community-premium-hero-v237::after,
.gb1991-hero::after{
    content:""!important;
    position:absolute!important;
    z-index:-1!important;

    width:330px!important;
    height:330px!important;
    right:4.5%!important;
    top:-46px!important;

    border-radius:50%!important;
    pointer-events:none!important;

    background:
        radial-gradient(circle,
            rgba(255,106,0,.15) 0 2%,
            transparent 2.6% 17%,
            rgba(255,106,0,.11) 17.5% 18.4%,
            transparent 19% 31%,
            rgba(255,106,0,.075) 31.5% 32.2%,
            transparent 33% 100%)!important;

    filter:drop-shadow(0 0 18px rgba(255,106,0,.10))!important;
    opacity:.9!important;
}

/* Remove grade pesada da versão anterior */
.community-form-hero-v237::before,
.v26-register-team>div>header::before,
.v232-register-team>div>header::before,
.v18-hero::before,
.gbp-hero::before,
.community-premium-hero-v237::before,
.gb1991-hero::before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    z-index:-2!important;
    background:
        linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px)!important;
    background-size:54px 100%!important;
    opacity:.22!important;
    pointer-events:none!important;
}

/* Conteúdo interno alinhado igual ao Armeiro */
.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;
    z-index:2!important;
}

/* Kicker + título + texto na mesma coluna */
.community-form-hero-v237 .kicker,
.v26-register-team>div>header>span,
.v232-register-team>div>header>span,
.v18-hero .kicker,
.gbp-hero .kicker,
.community-premium-hero-v237 .kicker,
.gb1991-hero .kicker{
    display:block!important;
    width:min(980px,calc(100% - 36px))!important;
    margin:0 auto 9px!important;

    color:#ff6a00!important;
    font-size:9px!important;
    line-height:1.2!important;
    font-weight:950!important;
    letter-spacing:.12em!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,
.community-premium-hero-v237 h1,
.gb1991-hero h1{
    width:min(980px,calc(100% - 36px))!important;
    max-width:980px!important;
    margin:0 auto 10px!important;

    color:#fff!important;
    font-size:clamp(42px,4.6vw,64px)!important;
    line-height:.98!important;
    letter-spacing:-.045em!important;
    font-weight:950!important;
    text-wrap:balance!important;
    text-shadow:none!important;
}

.community-form-hero-v237 p,
.v26-register-team>div>header p,
.v232-register-team>div>header p,
.v18-hero p,
.gbp-hero p,
.community-premium-hero-v237 p,
.gb1991-hero p{
    width:min(980px,calc(100% - 36px))!important;
    max-width:820px!important;
    margin:0 auto!important;

    color:#8fa2a9!important;
    font-size:14px!important;
    line-height:1.55!important;
}

/* Esconde badge exclusivo do fotógrafo para ficar igual aos demais */
.gb1991-hero-badge{
    display:none!important;
}

/* Corrige breadcrumb/fotógrafo para não quebrar o padrão */
.gb1991-breadcrumb{
    width:min(980px,calc(100% - 36px))!important;
    margin:0 auto 12px!important;
}
.gb1991-hero-grid{
    display:block!important;
}
.gb1991-hero-copy{
    display:block!important;
}

/* FORMULÁRIO: mesma largura/posição do Armeiro */
.form-shell,
.community-form-card-v237,
.v26-register-team form,
.v232-register-team form,
.v18-form-card,
.gbsubmit-form,
.gb1991-card{
    width:min(980px,calc(100% - 36px))!important;
    max-width:980px!important;
    box-sizing:border-box!important;

    margin:72px auto 56px!important;
    padding:20px!important;

    border:1px solid #29434d!important;
    border-radius:16px!important;

    background:
        linear-gradient(180deg,rgba(255,255,255,.012),transparent 24%),
        #091419!important;

    box-shadow:
        0 24px 58px rgba(0,0,0,.20),
        inset 0 1px 0 rgba(255,255,255,.02)!important;

    overflow:hidden!important;
    position:relative!important;
    z-index:2!important;
}

/* Linha laranja no topo do card como no Armeiro */
.form-shell::before,
.community-form-card-v237::before,
.v26-register-team form::before,
.v232-register-team form::before,
.v18-form-card::before,
.gbsubmit-form::before,
.gb1991-card::before{
    content:""!important;
    position:absolute!important;
    left:20px!important;
    top:0!important;
    width:70px!important;
    height:2px!important;
    background:linear-gradient(90deg,#ff6a00,rgba(255,106,0,0))!important;
}

/* Seções internas iguais ao bloco "Identificação e contato" */
.v26-register-team form>section,
.v232-register-team form>section,
.gbsubmit-card,
.admin-card.gb-op-briefing-admin{
    margin:0 0 16px!important;
    padding:18px!important;

    border:1px solid #243c46!important;
    border-radius:13px!important;
    background:#071318!important;
}

.v26-register-team form h2,
.v232-register-team form h2,
.gbsubmit-card h2,
.admin-card.gb-op-briefing-admin h2{
    margin:4px 0 14px!important;
    color:#fff!important;
    font-size:20px!important;
    line-height:1.1!important;
    font-weight:900!important;
}

/* Grid igual para todos */
.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:14px!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;
}

/* Inputs idênticos */
.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:7px!important;
    color:#dfe7e9!important;
    font-size:10px!important;
    font-weight:850!important;
}

.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 #2e4954!important;
    border-radius:9px!important;
    outline:0!important;

    background:#071115!important;
    color:#f2f5f6!important;

    box-shadow:none!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:40px!important;
    padding:0 12px!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:110px!important;
    padding:12px!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:#ff6a00!important;
    box-shadow:0 0 0 3px rgba(255,106,0,.08)!important;
}

/* Upload no mesmo padrão */
.gb1991-upload-box,
.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"]{
    min-height:50px!important;
    background:#071216!important;
    border:1px dashed #3f5c67!important;
}

/* Botões iguais */
.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:12px!important;

    margin-top:20px!important;
    padding-top:18px!important;

    border-top:1px solid #20353d!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-height:42px!important;
    min-width:190px!important;
    padding:0 18px!important;

    border:1px solid #ff6a00!important;
    border-radius:8px!important;

    background:linear-gradient(135deg,#ff6a00,#ff9823)!important;
    color:#111!important;
    font-weight:950!important;

    box-shadow:0 10px 22px rgba(255,106,0,.14)!important;
}

/* Remove sobreposição antiga com hero */
.form-shell,
.community-form-card-v237,
.v26-register-team form,
.v232-register-team form,
.v18-form-card,
.gbsubmit-form,
.gb1991-card{
    transform:none!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){
    .community-form-hero-v237,
    .v26-register-team>div>header,
    .v232-register-team>div>header,
    .v18-hero,
    .gbp-hero,
    .community-premium-hero-v237,
    .gb1991-hero{
        min-height:210px!important;
        padding:36px 0 28px!important;
    }

    .community-form-hero-v237::after,
    .v26-register-team>div>header::after,
    .v232-register-team>div>header::after,
    .v18-hero::after,
    .gbp-hero::after,
    .community-premium-hero-v237::after,
    .gb1991-hero::after{
        width:250px!important;
        height:250px!important;
        right:-60px!important;
        top:-25px!important;
        opacity:.55!important;
    }

    .form-shell,
    .community-form-card-v237,
    .v26-register-team form,
    .v232-register-team form,
    .v18-form-card,
    .gbsubmit-form,
    .gb1991-card{
        width:calc(100% - 24px)!important;
        margin:34px auto 38px!important;
        padding:16px!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 button,
    .v26-register-team form>footer button,
    .v232-register-team form>footer button,
    .gbsubmit-actions .btn-accent,
    .gb1991-submit{
        width:100%!important;
    }
}
