
.registro-mensaje-exito {
    margin-bottom: 24px;
    padding: 16px 20px;
    border: 1px solid #4caf50;
    border-radius: 6px;
    background: #f1f8f2;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
}

.registro-mensaje-exito strong {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
}


/* Formulário público de cadastro */

.registro-cadastro {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
}

.registro-cadastro h2 {
    margin: 0 0 30px;
}

.registro-cadastro-form p {
    width: 100%;
    margin: 0 0 20px;
}

.registro-cadastro-form label {
    display: block;
    width: 100%;
    margin-bottom: 2px;
}

.registro-cadastro-form input,
.registro-cadastro-form select,
.registro-cadastro-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
}

.registro-cadastro-form textarea {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 700px) {

    .registro-cadastro {
        width: calc(100% - 30px);
        margin: 25px auto;
        padding: 20px;
    }

    .registro-cadastro-form p {
        margin-bottom: 18px;
    }

}


.registro-cadastro-form select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    margin-top: 0;
}

.registro-cadastro-form select + * {
    margin-top: 0;
}

.registro-cadastro-form label:has(+ select) {
    margin-bottom: 3px;
    line-height: 1.2;
}


/* Formulário por etapas */
.registro-form-step {
    display: none;
}

.registro-form-step.is-active {
    display: block;
}

.registro-steps-progress {
    display: flex;
    align-items: center;
    margin: 0 0 20px;
}

.registro-step-indicator {
    width: 32px;
    height: 32px;
    border: 1px solid #d5d5d5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-weight: 700;
}

.registro-step-indicator.is-active,
.registro-step-indicator.is-complete {
    background: #222;
    color: #fff;
    border-color: #222;
}

.registro-step-line {
    flex: 1;
    height: 1px;
    background: #d5d5d5;
    margin: 0 8px;
}

.registro-step-title {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 0 0 22px;
    font-size: 14px;
}

.registro-step-name {
    font-weight: 700;
}

.registro-step-counter {
    opacity: .7;
}

.registro-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

.registro-step-actions .registro-step-next,
.registro-step-actions .registro-step-submit {
    margin-left: auto;
}

.registro-step-button {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 700px) {
    .registro-step-title {
        flex-direction: column;
        gap: 4px;
    }

    .registro-step-actions {
        flex-direction: column-reverse;
    }

    .registro-step-button,
    .registro-step-actions .registro-step-next,
    .registro-step-actions .registro-step-submit {
        width: 100%;
        margin-left: 0;
    }
}
