/* Stepper horizontal: círculos numerados conectados por una línea, en una sola fila */
.auth-stepper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.9rem;
}

.auth-step {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(63, 63, 63, 0.55);
    transition: color 0.2s ease;
}

/* Línea conectora hacia el paso anterior */
.auth-step:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -50%;
    right: 50%;
    height: 2px;
    background: rgba(63, 63, 63, 0.14);
    z-index: 0;
    transition: background 0.2s ease;
}

.auth-step-index {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--internal-white);
    border: 2px solid rgba(63, 63, 63, 0.18);
    color: rgba(63, 63, 63, 0.5);
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Paso completado */
.auth-step.is-done {
    color: var(--internal-primary);
}

.auth-step.is-done .auth-step-index {
    background: var(--internal-primary);
    border-color: var(--internal-primary);
    color: var(--internal-white);
}

.auth-step.is-done::before,
.auth-step.is-active::before {
    background: var(--internal-primary);
}

/* Paso activo */
.auth-step.is-active {
    color: var(--internal-primary);
}

.auth-step.is-active .auth-step-index {
    border-color: var(--internal-primary);
    color: var(--internal-primary);
    box-shadow: 0 0 0 4px rgba(40, 116, 82, 0.12);
}

.auth-section {
    display: grid;
    gap: 0.85rem;
}

.auth-section.is-hidden {
    display: none;
}

.auth-helper {
    font-size: 0.85rem;
    color: rgba(63, 63, 63, 0.7);
}

.auth-action {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.auth-action .btn {
    min-width: 180px;
}

.auth-muted-link {
    color: rgba(63, 63, 63, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
}

.auth-muted-link:hover {
    color: #287452;
}
