/* Wizard de etapas (círculos) */
.wizard-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 24px;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #bbb;
    font-size: 14px;
    transition: color 0.2s;
}

.wizard-step span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eee;
    color: #888;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 4px;
    border: 2px solid #eee;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.wizard-step.active {
    color: var(--c1);
}

.wizard-step.active span {
    background: var(--c1);
    color: #fff;
    border: 2px solid var(--c1);
}

label {
    font-size: 13px;
    padding: 0;
}

/* Etapas do cadastro */
.cadastro-etapa {
    max-width: 400px;
    margin: 0 auto;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Botões de seleção (sexo, orientação, preferência) */
.btn-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.btn-sexo, .btn-orientacao, .btn-preferencia {
    background: #fafafa;
    border: 2px solid #e0e0e0;
    color: #888;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.btn-sexo.active, .btn-orientacao.active, .btn-preferencia.active {
    background: var(--c1);
    color: #fff;
    border-color: var(--c1);
}

.btn-sexo:hover, .btn-orientacao:hover, .btn-preferencia:hover {
    border-color: var(--c1);
    color: var(--c1);
}

/* Navegação entre etapas */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1001;
    width: 100%;
    align-items: center;
}

.btn-prev, .btn-next, #btn-finalizar {
    position: relative;
    z-index: 1002;
}

/* Barra de progresso do wizard */
.wizard-progress {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 0 auto;
    position: relative;
}

.wizard-progress-bar {
    height: 4px;
    background: var(--c4);
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s;
    position: absolute;
    bottom: -1px;
}

.wizard-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0;
    font-size: 13px;
    color: #bbb;
    border-bottom: 2px solid var(--c1);
}

.wizard-progress-labels span {
    flex: 1;
    text-align: center;
    position: relative;
    padding-bottom: 6px;
}

.wizard-progress-labels span.active {
    color: var(--c1);
    font-weight: bold;
}

.btn.btn-cadastrar {
    background-color: var(--c1);
    color: white;
    font-size: 14px;
    border-radius: 8px;
    width: 48%;
}

div#cadastro-wizard {
    margin-top: -40px;
}

.swvalid-tooltip {
    backdrop-filter: var(--c1) !important;
}

/* Responsividade */
@media (max-width: 500px) {
    .cadastro-etapa {
        max-width: 98vw;
    }

    .wizard-steps {
        gap: 10px;
    }

    .wizard-step span {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }

    .wizard-progress {
        max-width: 98vw;
    }
}

/* Pills de interesse (radio/checkbox como botão) */
.interesse-pill {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--c1);
    color: var(--c1);
    border-radius: 14px;
    padding: 1px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    user-select: none;
    position: relative;
}

/* Esconde os radios/checkboxes originais de forma acessível */
.btn-group input[type="radio"],
.btn-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Ativo: radio/checkbox selecionado */
.btn-group input[type="radio"]:checked+.interesse-pill,
.btn-group input[type="checkbox"]:checked+.interesse-pill {
    background: var(--c1);
    color: #fff;
    border-color: var(--c1);
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.08);
}

/* Hover */
.interesse-pill:hover {
    background: var(--c1);
    color: white;
}

/* Responsivo */
@media (max-width: 500px) {
    .interesse-pill {
        font-size: 13px;
        padding: 7px 10px;
    }
}

#codigo-area {
    background: #18181a;
    border-radius: 8px;
    box-shadow: 0 2px 12px #0002;
    padding: 20px 16px 16px 16px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.3s;
}

#codigo-area label {
    margin-bottom: 4px;
    color: #e91e63;
}

#codigo-area input[type="text"] {
    width: 140px;
    font-size: 20px;
    text-align: center;
    letter-spacing: 8px;
    border: 2px solid #e91e63;
    border-radius: 6px;
    background: #222;
    color: #fff;
}

#codigo-area #btn-finalizar {
    width: 100%;
    margin-top: 8px;
    font-size: 16px;
}

@media (max-width: 500px) {
    #codigo-area {
        flex-direction: column;
        align-items: stretch;
    }

    #btn-finalizar {
        width: 100%;
        margin-top: 8px;
    }
}