.cadastro-wrapper {
    background: #f5f6fa;
    min-height: 100vh;
    font-family: 'Raleway', 'Segoe UI', sans-serif;
}

.cadastro-header {
    background: linear-gradient(135deg, #1a2340 0%, #2d3e6e 60%, #fd1865 100%);
    padding: 48px 0 36px;
    color: #fff;
    text-align: center;
}

.cadastro-titulo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.cadastro-subtitulo {
    font-size: 1rem;
    opacity: .85;
    margin-bottom: 28px;
}

.step span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.cad-steps {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, .12);
    border-radius: 50px;
    padding: 10px 24px;
    margin-top: 8px;
    gap: 0;
}

.cad-step {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    font-size: .85rem;
    font-weight: 600;
    opacity: .55;
    padding: 6px 14px;
    white-space: nowrap;
    color: #fff;
}

.cad-step-active {
    opacity: 1 !important;
}

.cad-step-num {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .25);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    padding: 0;
}

.cad-step-active .cad-step-num {
    background: #fd1865 !important;
}

.cad-step-txt {
    display: inline !important;
    white-space: nowrap;
}

.cad-step-line {
    width: 28px;
    height: 2px;
    background: rgba(255, 255, 255, .3);
    flex-shrink: 0;
    display: block;
}

.cadastro-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 36px 16px 60px;
}

.form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(26, 35, 64, .07);
    margin-bottom: 24px;
    overflow: hidden;
}

.form-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    border-bottom: 1px solid #f0f2f8;
    background: #fafbff;
}

.form-card-icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    background: #eff3ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2340;
    margin: 0 0 2px;
}

.form-card-desc {
    font-size: .82rem;
    color: #6b7a99;
    margin: 0;
}

.form-card-body {
    padding: 24px 28px;
}

.row-campos {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.row-campos:last-child {
    margin-bottom: 0;
}

.campo-grupo {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.campo-grande {
    flex: 2;
    min-width: 240px;
}

.campo-medio {
    flex: 1.5;
    min-width: 180px;
}

.campo-pequeno {
    flex: 1;
    min-width: 140px;
}

.campo-label {
    font-size: .82rem;
    font-weight: 700;
    color: #3a4a6b;
    margin-bottom: 6px;
    display: block;
}

.obrigatorio {
    color: #fd1865;
}

.campo-input {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .92rem;
    color: #1a2340;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
    font-family: inherit;
}

.campo-input:focus {
    border-color: #4f7ef8;
    box-shadow: 0 0 0 3px rgba(79, 126, 248, .12);
}

.campo-input.campo-select {
    cursor: pointer;
}

.campo-input.erro {
    border-color: #fd1865;
}

.help-block {
    font-size: .78rem;
    color: #fd1865;
    margin-top: 4px;
}

.form-card {
    overflow: visible !important;
}

.form-card-body {
    overflow: visible !important;
}

.row-campos {
    overflow: visible !important;
}

.cidade-wrapper {
    position: relative;
    z-index: 999;
}

.cidade-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(26, 35, 64, .15);
}

.cidade-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: .9rem;
    color: #1a2340;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f5f6fa;
    transition: background .1s;
}

.cidade-item:hover {
    background: #eff3ff;
}

.cidade-item:last-child {
    border-bottom: none;
}

.cidade-uf {
    font-size: .75rem;
    color: #6b7a99;
    background: #f0f2f8;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.cidade-msg {
    padding: 12px 14px;
    font-size: .85rem;
    color: #6b7a99;
    text-align: center;
}

.cidade-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: #4f7ef8;
    background: #eff3ff;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 6px;
}

.redes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.rede-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all .18s;
    position: relative;
    background: #fafbff;
    user-select: none;
}

.rede-card:hover {
    border-color: var(--cor);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.rede-card.rede-on {
    border-color: var(--cor);
    background: #fff;
}

.rede-cb {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rede-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.rede-nome {
    font-size: .82rem;
    font-weight: 700;
    color: #1a2340;
}

.rede-tick {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cor);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .15s;
}

.rede-on .rede-tick {
    opacity: 1;
}

.compartilhar-pergunta {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8f9ff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    flex-wrap: wrap;
}

.compartilhar-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.compartilhar-titulo {
    font-weight: 700;
    color: #1a2340;
    font-size: .92rem;
    margin-bottom: 2px;
}

.compartilhar-sub {
    font-size: .78rem;
    color: #6b7a99;
}

.compartilhar-btns {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.btn-comp {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 7px 20px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    background: #fff;
}

.btn-comp-sim:hover,
.btn-comp-sim.ativo {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.btn-comp-nao:hover,
.btn-comp-nao.ativo {
    background: #e2e8f0;
    border-color: #c0c8e0;
    color: #3a4a6b;
}

.perfis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.perfil-grupo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.perfil-label {
    font-size: .78rem;
    font-weight: 700;
    color: #3a4a6b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.perfil-wpp-opcoes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.perfil-wpp-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: #1a2340;
    cursor: pointer;
}

.perfil-wpp-radio input {
    cursor: pointer;
}

.form-actions {
    text-align: center;
    padding-top: 8px;
}

.form-aviso {
    font-size: .82rem;
    color: #6b7a99;
    margin-bottom: 20px;
}

.btn-cadastro {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fd1865, #e0134f);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 48px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 20px rgba(253, 24, 101, .3);
    font-family: inherit;
}

.btn-cadastro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(253, 24, 101, .4);
}

.btn-arr {
    font-size: 1.2rem;
    transition: transform .2s;
}

.btn-cadastro:hover .btn-arr {
    transform: translateX(4px);
}

@media (max-width:600px) {
    .cadastro-titulo {
        font-size: 1.4rem;
    }

    .form-card-body {
        padding: 16px;
    }

    .redes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .btn-cadastro {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}
